forked from bots-garden/ori
How to run Ori with Claude Code
This guide shows how to start Ori connected to Claude Code. It assumes you have already built and run Ori once (see the getting started tutorial) and that you have a working Claude account or API key.
Steps
-
Make sure Node.js and npm are available: the backend spawns Claude Code's official ACP adapter with
npx -y @zed-industries/claude-code-acp. -
Make sure Claude Code is authenticated on this machine (
claudelogin flow, or anANTHROPIC_API_KEYenvironment variable the adapter can use). -
From the repository root, start the server:
make run -
Open http://localhost:8888 and start prompting. Tool calls, plans and permission requests appear exactly as with the demo agent.
Variants
- To work on a specific project directory, pass the agent's working directory explicitly:
./bin/ori --cwd /path/to/your/project. - To serve on another port:
./bin/ori --addr :9000. - The first
npxrun downloads the adapter package; pin it by installing it globally (npm install -g @zed-industries/claude-code-acp) and passing--agent-cmd "claude-code-acp".
See also
- Flags reference: the ori command
- Connecting something else than Claude: use another ACP agent
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|