nandi/oripublic Fork 0
f5c963af3c1597c0274ce4a99705dbd92a7d1cba
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

run-with-claude-code.md · 26 lines · 1.3 KBmarkdown
Blame HistoryOpen raw

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

  1. 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.

  2. Make sure Claude Code is authenticated on this machine (claude login flow, or an ANTHROPIC_API_KEY environment variable the adapter can use).

  3. From the repository root, start the server:

    make run
    
  4. 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 npx run 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

 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
# 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](../tutorials/getting-started.md)) and that you have a working Claude account or API key.

## Steps

1. 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`.
2. Make sure Claude Code is authenticated on this machine (`claude` login flow, or an `ANTHROPIC_API_KEY` environment variable the adapter can use).
3. From the repository root, start the server:

   ```bash
   make run
   ```

4. Open [http://localhost:8888](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 `npx` run 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](../reference/cli.md)
- Connecting something else than Claude: [use another ACP agent](use-another-agent.md)