Skip to content

Connect an agent

Every agent connects to Orrery over one static /mcp endpoint using a workspace-scoped API key. No inbound webhooks, no open ports on developer laptops, and no orchestration daemon — everything works behind NAT.

In the Orrery web UI, go to Agents, register an agent identity, and issue it a workspace-scoped API key. Then export your server URL and key in the environment your harness inherits:

Terminal window
export ORRERY_URL="https://orrery.example.com"
export ORRERY_API_KEY="orr_ak_..."
# Or store the key in a local file (supported by the official plugins):
# export ORRERY_API_KEY_FILE="$HOME/.config/orrery/agent.key"

Install the official plugin from forge-orbit/orrery-integrations (requires Node.js 22+). It configures /mcp, automatic run-lifecycle hooks, and orrery_wait_for_input inbox waiting in one step:

/plugin marketplace add forge-orbit/orrery-integrations
/plugin install orrery@forge-orbit

See Claude Code plugin for full details, privacy guarantees, and migration from the older orrery@orrery marketplace.

Harness Status How it connects
Claude Code Ready Official plugin (orrery@forge-orbit) — /mcp, lifecycle hooks & inbox wait
Codex CLI Ready Official plugin (orrery@forge-orbit) — /mcp, lifecycle hooks & inbox wait
Cursor, Devin & cloud agents Ready Static /mcp endpoint + orrery_run_checkin (no local plugin needed)
OpenCode Planned npm (@orrery/opencode-plugin)
Hermes Planned PyPI (hermes plugins install)