Vectrum
Sign In

Update README.md

JjohannSocommitted 1 parent cb2e118commit6c67724

Showing 1 changed file with 97 additions and 100 deletions.

+97−100README.mdView File
@@ -1,100 +1,97 @@
1- # Codey
2-
3- Codey is a coding agent harness in Go. Point it at a repository, tell it to make the failing test pass, and measure how often it actually does.
4-
5- It is one static binary: a full-screen TUI on a terminal, a drop-in for `claude -p` in scripts and CI, and an [Agent Client Protocol](https://agentclientprotocol.com) agent that other UIs can drive, [T3 Code](https://t3.codes) included.
6-
7- It works with an Anthropic API key, or with any gateway, proxy or local server that speaks the Messages API. If you already use Claude Code, Codey picks up its MCP servers, its permission rules, its CLAUDE.md files and, if you ask, its skills.
8-
9- ## "Wait, what is this for?"
10-
11- Measuring. The code is the byproduct. The deliverable is [METRICS.md](METRICS.md): pass rate, edit success, turns and cost across an eval suite, with one row for each change that could move them. [PLAN.md](PLAN.md) is the build plan this follows.
12-
13- Codey is still a full agent, with subagents, tabs and git worktrees, skills, MCP, web search, language-server diagnostics on every edit, and hooks. It is built so you can measure it.
14-
15- ## Installation
16-
17- > [!WARNING]
18- > Codey needs a credential. The usual one is an Anthropic API key from [console.anthropic.com/settings/keys](https://console.anthropic.com/settings/keys):
19- >
20- > ```bash
21- > export ANTHROPIC_API_KEY=sk-ant-...
22- > ```
23- >
24- > - A gateway or local server: `-base-url` with `-api-key` or `-auth-token`, or `ANTHROPIC_BASE_URL` / `ANTHROPIC_AUTH_TOKEN`
25- > - A Claude Code login: off unless you opt in with `-claude-code-auth`. That credential was issued to Claude Code, and using it from another client is outside Anthropic's terms for it. [Read this first.](docs/user/install.md#quick-start)
26-
27- ### Release binary
28-
29- Linux and macOS, amd64 and arm64, with `checksums.txt` on the [releases page](https://github.com/johannSo/codey/releases):
30-
31- ```bash
32- # linux or darwin, amd64 or arm64
33- curl -L https://github.com/johannSo/codey/releases/latest/download/codey_linux_amd64.tar.gz | tar xz codey
34- ```
35-
36- Put `codey` somewhere on your `PATH`. Release binaries are not signed. On macOS, a copy downloaded with a browser needs `xattr -d com.apple.quarantine codey` before it will run.
37-
38- ### With Go
39-
40- ```bash
41- go install github.com/johannSo/codey/cmd/codey@latest
42- ```
43-
44- ### From source
45-
46- ```bash
47- git clone https://github.com/johannSo/codey
48- cd codey
49- go build -o codey ./cmd/codey
50- ```
51-
52- ### First run
53-
54- ```bash
55- codey -C /path/to/a/throwaway/clone # full-screen TUI
56- codey -C /path/to/repo -p "why does TestFoo fail?" # one prompt, then exit
57- ```
58-
59- The first run on a terminal opens a short setup wizard that asks for the model, effort, approvals, web search and theme. `/setup` opens it again later, and `/settings` changes one setting at a time.
60-
61- ## Some notes
62-
63- Codey is early. Expect rough edges.
64-
65- Approval prompts are not a sandbox. `-yolo` belongs inside a container or against a throwaway clone. Read [Safety](docs/user/safety.md) before you point Codey at anything you care about.
66-
67- ## Documentation
68-
69- Full docs live in [docs/](docs). There's no docs site.
70-
71- - [Install and first run](docs/user/install.md): credentials, gateways, and the Claude Code login
72- - [Flags](docs/user/flags.md): including compaction thresholds and turn caps
73- - [The TUI](docs/user/tui.md): keys, images, questions, the mouse, `!` shell, `/model`, `/effort`
74- - [Tabs, worktrees and sessions](docs/user/tabs.md)
75- - [Subagents](docs/user/subagents.md) and the agents sidebar
76- - [Setup, `/settings` and where Codey keeps things](docs/user/setup.md)
77- - [Tools](docs/user/tools.md) and diagnostics after every edit
78- - [Skills](docs/user/skills.md), Claude Code's included
79- - [Web search](docs/user/web-search.md)
80- - [MCP servers](docs/user/mcp.md), and trusting a project's `.mcp.json`
81- - [Claude Code's settings](docs/user/claude-code-settings.md): permissions and CLAUDE.md
82- - [Hooks](docs/user/hooks.md) and [herdr](docs/user/hooks.md#herdr)
83- - [Using it in place of `claude`](docs/user/in-place-of-claude.md): `-p`, `--output-format`, `--allowedTools`
84- - [Inside another editor](docs/user/editors.md): ACP, and Codey as a T3 Code provider
85- - [Safety](docs/user/safety.md)
86-
87- Working on Codey itself? Start at [docs/internals/overview.md](docs/internals/overview.md).
88-
89- ## Evals
90-
91- ```bash
92- ./evals/selftest.sh # no API calls: checks the tasks measure something
93- go run ./evals -n 3 # the real thing
94- ```
95-
96- Ten tasks, a fresh temp directory per run, full transcripts under `evals/runs/<timestamp>/`. The results are in [METRICS.md](METRICS.md).
97-
98- ## License
99-
100- MIT; see [LICENSE](LICENSE).
1+ # Codey
2+
3+ Codey is a coding agent harness in Go. Point it at a repository, tell it to make the failing test pass, and measure how often it actually does.
4+
5+ It is one static binary: a full-screen TUI on a terminal, a drop-in for `claude -p` in scripts and CI, and an [Agent Client Protocol](https://agentclientprotocol.com) agent that other UIs can drive, [T3 Code](https://t3.codes) included.
6+
7+ It works with an Anthropic API key, or with any gateway, proxy or local server that speaks the Messages API. If you already use Claude Code, Codey picks up its MCP servers, its permission rules, its CLAUDE.md files and, if you ask, its skills.
8+
9+ ## "Wait, what is this for?"
10+
11+ Measuring. The code is the byproduct. The deliverable is [METRICS.md](METRICS.md): pass rate, edit success, turns and cost across an eval suite, with one row for each change that could move them. [PLAN.md](PLAN.md) is the build plan this follows.
12+
13+ Codey is still a full agent, with subagents, tabs and git worktrees, skills, MCP, web search, language-server diagnostics on every edit, and hooks. It is built so you can measure it.
14+
15+ ## Installation
16+
17+ > ```bash
18+ > export ANTHROPIC_API_KEY=sk-ant-...
19+ > ```
20+ >
21+ > - A gateway or local server: `-base-url` with `-api-key` or `-auth-token`, or `ANTHROPIC_BASE_URL` / `ANTHROPIC_AUTH_TOKEN`
22+ > - A Claude Code login: off unless you opt in with `-claude-code-auth`. That credential was issued to Claude Code, and using it from another client is outside Anthropic's terms for it. [Read this first.](docs/user/install.md#quick-start)
23+
24+ ### Release binary
25+
26+ Linux and macOS, amd64 and arm64, with `checksums.txt` on the [releases page](https://github.com/johannSo/codey/releases):
27+
28+ ```bash
29+ # linux or darwin, amd64 or arm64
30+ curl -L https://github.com/johannSo/codey/releases/latest/download/codey_linux_amd64.tar.gz | tar xz codey
31+ ```
32+
33+ Put `codey` somewhere on your `PATH`. Release binaries are not signed. On macOS, a copy downloaded with a browser needs `xattr -d com.apple.quarantine codey` before it will run.
34+
35+ ### With Go
36+
37+ ```bash
38+ go install github.com/johannSo/codey/cmd/codey@latest
39+ ```
40+
41+ ### From source
42+
43+ ```bash
44+ git clone https://github.com/johannSo/codey
45+ cd codey
46+ go build -o codey ./cmd/codey
47+ ```
48+
49+ ### First run
50+
51+ ```bash
52+ codey -C /path/to/a/throwaway/clone # full-screen TUI
53+ codey -C /path/to/repo -p "why does TestFoo fail?" # one prompt, then exit
54+ ```
55+
56+ The first run on a terminal opens a short setup wizard that asks for the model, effort, approvals, web search and theme. `/setup` opens it again later, and `/settings` changes one setting at a time.
57+
58+ ## Some notes
59+
60+ Codey is early. Expect rough edges.
61+
62+ Approval prompts are not a sandbox. `-yolo` belongs inside a container or against a throwaway clone. Read [Safety](docs/user/safety.md) before you point Codey at anything you care about.
63+
64+ ## Documentation
65+
66+ Full docs live in [docs/](docs). There's no docs site.
67+
68+ - [Install and first run](docs/user/install.md): credentials, gateways, and the Claude Code login
69+ - [Flags](docs/user/flags.md): including compaction thresholds and turn caps
70+ - [The TUI](docs/user/tui.md): keys, images, questions, the mouse, `!` shell, `/model`, `/effort`
71+ - [Tabs, worktrees and sessions](docs/user/tabs.md)
72+ - [Subagents](docs/user/subagents.md) and the agents sidebar
73+ - [Setup, `/settings` and where Codey keeps things](docs/user/setup.md)
74+ - [Tools](docs/user/tools.md) and diagnostics after every edit
75+ - [Skills](docs/user/skills.md), Claude Code's included
76+ - [Web search](docs/user/web-search.md)
77+ - [MCP servers](docs/user/mcp.md), and trusting a project's `.mcp.json`
78+ - [Claude Code's settings](docs/user/claude-code-settings.md): permissions and CLAUDE.md
79+ - [Hooks](docs/user/hooks.md) and [herdr](docs/user/hooks.md#herdr)
80+ - [Using it in place of `claude`](docs/user/in-place-of-claude.md): `-p`, `--output-format`, `--allowedTools`
81+ - [Inside another editor](docs/user/editors.md): ACP, and Codey as a T3 Code provider
82+ - [Safety](docs/user/safety.md)
83+
84+ Working on Codey itself? Start at [docs/internals/overview.md](docs/internals/overview.md).
85+
86+ ## Evals
87+
88+ ```bash
89+ ./evals/selftest.sh # no API calls: checks the tasks measure something
90+ go run ./evals -n 3 # the real thing
91+ ```
92+
93+ Ten tasks, a fresh temp directory per run, full transcripts under `evals/runs/<timestamp>/`. The results are in [METRICS.md](METRICS.md).
94+
95+ ## License
96+
97+ MIT; see [LICENSE](LICENSE).