Inspect

Send messages to Operate

Operate is your private Inspect agent. A local coding agent can hand it a follow-up, such as "once this PR merges, watch the checkout error rate for an hour", with a user API key. The message only ever reaches the Operate of the API key's owner.

Operate reads the message as a request from another of your agents, not as a message from you. It can read systems, check back later, and message you, but it asks you before it changes anything.

Send a message

POST /api/v2/operate/messages takes a message of up to 4,000 characters and an optional self-reported label of up to 200 characters:

curl 'https://app.inspect.com/api/v2/operate/messages' \
  --request POST \
  --header "Authorization: Bearer $INSPECT_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"message": "Once https://github.com/acme/web/pull/4182 merges, watch the checkout error rate for an hour and tell me if it rises.", "label": "Claude Code in acme/web"}'

A 202 response returns {"data": {"delivered": true}}. delivered is false when the same key already sent the same message in the last 7 days.

StatusCodeMeaning
403read_only_api_keyRead-only keys cannot send messages.
403forbiddenKeys limited to repositories cannot reach Operate.
404not_foundOperate is not available to you.
409no_operate_sessionYou have no Operate yet. Send the Operate bot a Slack DM first.

Install the skill

The tell-operate skill tells a local agent when and how to call this endpoint. Install it where your agent loads skills, for example for Claude Code:

mkdir -p ~/.claude/skills/tell-operate
curl --fail 'https://docs.inspect.com/skills/tell-operate/SKILL.md' \
  --output ~/.claude/skills/tell-operate/SKILL.md

For Codex, use ~/.codex/skills/tell-operate. Then set INSPECT_API_KEY to your API key and INSPECT_BASE_URL to https://app.inspect.com in the agent's environment.