Browse docs▾
Installation
Coding OS is a Python CLI that sits on top of your existing agent. Installing it never replaces your agent — it scaffolds the rules, hooks, skills, and MCP server that give it memory and structure.
Requirements
- Python 3.11 or newer
- uv (the Python package manager) — or pipx
- An AI coding agent: Claude Code or Codex (CLI)
- Git — the board and graph live alongside your repo
- 1
Install the CLI
Installcosglobally with uv. This is the only global install — everything else lives inside your project.$uv tool install coding-osPrefer pipx?
pipx install coding-osworks too. Verify withcos --version. - 2
Initialize your project
Runcos initinside the repo you want to supercharge. It asks which agent and stack you use, then scaffolds rules, hooks, skills, and the docs system, and builds the first knowledge graph.$cos initTwo adapters ship today:
claude(Claude Code — full hook coverage) andcodex(Codex CLI — Bash-event hooks). See Adapters & support for exactly what each runtime enforces.cos initalso installs the git-level commit hooks, so the commit contract and validations fire even for direct commits by humans or agents without a hook runtime — no extra step. - 3
Restart your agent and verify
Your agent picks up the MCP server and hooks on its next session. The status banner confirms the cognitive loop is live. Check health any time:$cos doctor
Next steps
- Quickstart — the five-minute end-to-end tour.
- How it works — the three brains and the loop your agent now follows.