Claude

Claude Code

Claude Code is Anthropic’s AI coding assistant agent, available as Claude Code for command-line development workflows.

Installation

Install Claude Code via npm:

npm install -g @anthropic-ai/claude-code

Or download directly from Anthropic.

Plans and Pricing

View the Claude pricing page

Configuration

See the full Claude agent configuration reference.

Add Claude to your Operator configuration:

# ~/.config/operator/config.toml

[agents.claude]
enabled = true
path = "claude"  # or full path to binary

Authentication

Claude Code requires an API key or Claude Pro subscription. Set up authentication:

claude auth login

Multi-agent relay

Agents launched by Operator can participate in the relay hub when the hub is running. As long as the delegator (or global config) has enabled relay MCP injection.

When relay is enabled for a delegator, Operator:

  1. Injects RELAY_HUB_SOCKET and RELAY_AGENT_NAME (the ticket ID, e.g. FEAT-042) into the session environment.
  2. Writes a per-session relay-mcp.json config and passes --mcp-config <path> to Claude Code, so the relay MCP server starts alongside the agent.

To enable relay for a delegator, set operator_relay = true in its launch_config. The global default is false (opt-in), so single-agent workflows stay lean unless relay is explicitly requested.

See Relay for the full architecture.