Environment Variables
| Variable | Description | |---|---|---| |PORT | Server port. Defaults to 4096. |
| OPENAI_API_KEY | Enables the codex provider. |
| ANTHROPIC_API_KEY | Enables the claude provider. |
Providers can be listed even when they are not configured. A request fails if it targets a
provider without the matching API key.
Server URL
The server binds through Bun and prints its local URL on boot:State
Agent sessions use local git worktrees and refs. The default state root is:- A detached agent worktree
- A baseline ref
- An agent-head ref
- A
sessions.jsonregistry