Skip to main content
Working with an agent? Give them a link to this page as markdown.

Supported agents

Watcher supports local Claude Code, Codex and GitHub Copilot CLI sessions through the Watcher client.

Gateway hooks also support agents routed through Tailscale's Aperture LLM gateway, without installing the Watcher client on each machine.

Claude Tagโ€‹

Watcher does not currently support monitoring Claude Tag. Hooks configured in a repository do not run in Claude Tag sessions. Monitoring through a Watcher plugin has not been verified.

Through Apertureโ€‹

Aperture's entire_request hook records sessions and reviews tool calls in observe mode. Configure it using the Aperture hook setup. The table below describes observation support.

The opt-in pre-response enforcement hook holds client tool calls for review in supported provider formats. Denied or escalated calls become harmless notice commands, through the client's own shell tool when the call used another tool, while allowed calls in the same response still run. Denials ask the agent to try another approach; escalations ask it to stop for a labelled human choice. A denied call no shell tool can carry is removed, or blocks the whole pending callback when nothing else would run; an escalated one always blocks it. A block ends the current turn in Claude Code, Codex and OpenCode. See the continuation and setup guidance. Keep observation configured for full transcripts and tool results. Tool thresholds and command rules written for Claude Code's tool names also apply to the other agents' equivalent tools; see Tool names and policy.

SymbolSupportMeaning
โœ…fully supportedSupported for session and tool-call monitoring.
๐ŸงชexperimentalExpected to work, but not fully tested or guaranteed.
๐Ÿšซknown not supportedThe agent can use this provider natively, but Watcher does not support monitoring that route through Aperture.
โŒinvalidThe agent cannot natively use this provider API.
HarnessAWS BedrockOpenAIGoogle Vertex AIAnthropicGemini APIMicrosoft FoundryOpenRouter
Claude Code CLIโœ…โŒโœ…โœ…โŒ๐Ÿงช๐Ÿงช
Claude Desktop Chat๐ŸงชโŒ๐Ÿงชโœ…โŒ๐Ÿงช๐Ÿงช
Claude Desktop Code๐ŸงชโŒ๐Ÿงช๐ŸงชโŒ๐Ÿงช๐Ÿงช
Claude Cowork๐ŸงชโŒ๐Ÿงช๐ŸงชโŒ๐Ÿงช๐Ÿงช
Codex CLI๐Ÿงชโœ…โŒโŒโŒ๐Ÿงชโœ…
Codex Desktop๐Ÿงช๐ŸงชโŒโŒโŒ๐Ÿงช๐Ÿงช
Codex IDE extension๐Ÿงช๐ŸงชโŒโŒโŒ๐Ÿงช๐Ÿงช
ChatGPT Desktop Work๐Ÿงช๐ŸงชโŒโŒโŒ๐Ÿงช๐Ÿงช
Gemini CLIโŒ๐Ÿšซ๐Ÿšซ
OpenCodeโœ…โœ…โœ…โœ…โœ…๐Ÿงชโœ…
Antigravity CLIโŒโŒ๐ŸšซโŒ๐ŸงชโŒโŒ
Qwen Code๐Ÿงชโœ…
Mistral Vibe๐Ÿงช๐Ÿงช
pi๐Ÿšซ๐Ÿšซ๐Ÿงช๐Ÿšซ

Blank cells are not assessed. The matrix describes native provider routes; bridges that translate between provider APIs are outside its scope.

ChatGPT Desktop Work means Work locally in the ChatGPT desktop app, which reads the same custom provider configuration as Codex. Cloud Work runs in OpenAI's hosted environment and does not pass through Aperture.

Google has deprecated Gemini CLI in favor of Antigravity CLI. Watcher does not support Gemini CLI through Aperture on any provider route. The hook-based Gemini CLI example in SDK integration examples is a separate connection, described there. Aperture captures that carry the Gemini CLI user agent are still recorded and their tool calls reviewed, but one conversation can appear as several sessions, and each of its helper requests, such as chat compression or a web search, as a session of its own. Gateway hooks describes this behavior.

Watcher monitors pi's Anthropic Messages requests, both with a Claude subscription and with an API key, when pi uses its default system prompt or declares its placeholder tool, which it does only on newer Claude models. With a custom system prompt on other models, Watcher records pi's subscription requests as Claude Code and does not record its API-key requests. It skips pi's requests in other formats, so pi's AWS Bedrock, OpenAI and Gemini API routes are not supported; the other routes are not assessed. Gateway hooks describes how Watcher recognizes pi.

For other connection types, see Integrations. For examples that connect other tools, see SDK integration examples. To record GitHub Copilot CLI sessions and review their tool calls, see Set up GitHub Copilot CLI. To route GitHub Copilot clients through your own LiteLLM gateway instead, without the Watcher client, see Native Copilot through LiteLLM.

Local agent capabilitiesโ€‹

These capabilities describe the Watcher client integrations. They do not describe the Aperture provider routes above. Not yet supported marks a gap in the integration. Not applicable means the agent does not need that behavior.

CapabilityClaude CodeCodexGitHub Copilot CLI
Subagent sessions and parent linksSupportedSupportedSupported
Upload new transcript contentSupportedSupportedSupported
Handle rewritten historySupportedSupportedSupported
Link decisions to tool callsSupportedSupportedSupported
Calls without native IDsNot applicableSupportedNot applicable
Review calls before executionSupportedSupportedSupported
Record approval answersSupportedSupportedSupported
Recognize a person's promptsNot yet supportedSupportedSupported
Finalize ended sessionsSupportedSupportedSupported
Read native session logsSupportedSupportedSupported
Map native tool namesSupportedSupportedSupported

Supported capabilities still depend on active hooks and readable native logs. For review limits, see blocking and trailing review and subagent coverage.

Local agentsโ€‹

watcher hooks install registers Watcher with enabled agents on the machine and removes its hooks for disabled agents. Claude Code, Codex and GitHub Copilot CLI are enabled by default. Existing user choices and admin locks apply. Use agent controls to change that choice. The installer runs hook setup for you, and it is safe to run again. The hooks record the session as it happens and give blocking review its gate:

  • Claude Code: hook entries are written into ~/.claude/settings.json. They observe the session lifecycle: session start, each prompt, each tool call and its result, end of turn, and session end. The tool-call hooks are where blocking review evaluates a call before it runs. If you interrupt the turn (Esc) while Watcher is still reviewing a call, Claude Code cancels the call. Watcher records it as a call cancelled during review, not one Watcher blocked, when the session next uploads, usually with your next prompt.

  • Codex: hook entries are written into hooks.json in the Codex home directory (~/.codex by default). Codex gates tool calls differently from Claude Code, so it needs the extra handling described in Codex specifics below.

  • GitHub Copilot CLI: personal hooks are written to $COPILOT_HOME/hooks/watcher.json, or ~/.copilot/hooks/watcher.json by default, and a status line to settings.json in that Copilot home ($COPILOT_HOME or ~/.copilot) unless you already have one. The hooks observe each tool call before it runs and after it succeeds, the end of each turn, and session end. See the Copilot client guide for setup, native permissions and recording limits.

With these local agents, the hooks record from the agent's own transcript files (for example Claude Code's ~/.claude/projects). These files belong to the agent and exist with or without Watcher.

Subagent coverage follows each agent's hook and approval flow. See Subagent coverage for review context and limits on conversation visibility.

Claude Code and Codex do not tell Watcher when you approve a call at their permission prompt. For a call you approve and let finish, the recorded decision time is when the call finished, not when you answered. GitHub Copilot CLI logs your answer, so Watcher records the time you answered.

Installing, removing, repairing, and diagnosing local hooks is covered on the Client page.

Claude Code specificsโ€‹

Calls you approve at Claude Code's promptโ€‹

When blocking review escalates a call, you can approve it at Claude Code's own permission prompt. If you then press Esc while the approved call is still running, Watcher records the call as one you refused: the human decision is deny, the call shows as blocked, and the decision time is when you pressed Esc. Claude Code reports that interrupt exactly as it reports pressing Esc at the permission prompt, so Watcher cannot tell the two apart. The call may already have changed files or run commands before you pressed Esc, and that record does not show it.

Codex specificsโ€‹

Codex reviews tool calls through its own approval flow rather than on every call, and it needs some extra setup.

Setup and confirmationโ€‹

Watcher manages Codex's approval policy in its config.toml. In enforce mode it also manages two more things: the sandbox, and who answers an approval request. The installer previews these changes and asks you to confirm them before applying.

Codex then adds its own check. The next time it starts, it shows a "Hooks need review" screen; choose "Trust all and continue". You can also trust the hooks later from /hooks inside a Codex session. Until you do, Codex runs without them, so sessions are not recorded and no call is gated: in enforce mode Codex asks you about every command that needs the network or a path outside the workspace, and Watcher does not review those calls. Codex asks again after a Watcher update that changes its hooks. If you turn one of Watcher's hooks off in /hooks, Codex skips it without asking again; turn it back on there. In every enforcement mode, the Watcher installer and watcher doctor tell you when Codex will not run Watcher's hooks, whether they are untrusted or turned off.

How calls are gatedโ€‹

Codex's approval policy is set so that Codex asks before it runs a command it considers dangerous, and whenever the model needs to act outside its sandbox. Watcher reviews each of these requests and either answers or escalates it.

For a request made inside a Code Mode program, Codex keeps waiting for Watcher's answer even after you interrupt the turn (Esc), and acts on it. So when the turn was interrupted before Watcher finished reviewing a request, Watcher denies the request instead of approving it, escalating it or leaving it to Codex. Codex shows this as "Blocked by hook" with the reason "Not run: the turn was interrupted before Watcher finished reviewing this request". Analyzer shows the request as cancelled during review, the same as a Claude Code call you interrupt, and does not count it among the calls Watcher blocked.

Actions that stay inside the workspace, and are not on Codex's dangerous list, run without a pre-execution decision. They are still recorded in the session. In observe mode Watcher grades each one after it runs. In enforce mode it gets no grade of its own, and its decision in Analyzer says that Codex ran it with no Watcher review.

So do commands you approved with "Yes, and don't ask again": Codex saves a rule allowing commands that start the same way and stops asking about them, so Watcher receives no further requests for them. When the Codex session's record lists such a rule, as it does for one saved during that session, the call's decision in Analyzer says that a rule covered it.

The sandbox follows the enforcement modeโ€‹

What the sandbox is set to depends on the machine's enforcement mode.

In enforce mode, Watcher keeps Codex's workspace sandbox on. An action that reaches the network, or a path outside the workspace, must then be requested as an escalation, and Watcher reviews that request.

When Codex's request_permissions tool is turned on, the model can instead ask for network access or extra folders for the rest of its turn or session, after which its commands use them without further escalations. Watcher refuses that request in every enforcement mode and tells Codex to ask for approval for the specific command instead. That request goes through the same approval flow as any other escalation. The refusal also holds while a snooze or .watcher-ignore is in force, because a grant for the session would outlast it and keep applying after a switch to enforce mode. It needs Watcher's hooks installed and confirmed in Codex (see Setup and confirmation). For sessions Watcher uploads, Analyzer shows the refused request.

In observe and paused modes, Watcher leaves the configured sandbox settings unchanged. It keeps whatever you set: it never tightens a sandbox you did not ask for, and never weakens one you did.

Overriding who answersโ€‹

Running codex --approve-for-me (alias --not-so-yolo) changes who answers escalations for that invocation, overriding what Watcher pinned. Codex's own auto-reviewer answers the ones Watcher would otherwise have put to a human. Choosing "Approve for me" in Codex's /permissions menu does the same for the rest of the session. Watcher still reviews each request Codex raises, and the sandbox is unchanged. This applies in enforce mode, the only mode in which Watcher escalates Codex requests. Analyzer shows whether such a call ran, but records no human decision for it, since no person answered.

Policies that bypass the gateโ€‹

A Codex session can also run under an approval policy that asks about nothing at all. Watcher then receives no requests, so in enforce mode it reviews none of that session's calls before they run. codex exec forces such a policy for its run.

Codex also stores the policy a thread ran under and restores it as a session-level setting, which outranks the one Watcher configures. So resuming or forking a thread that ever ran that way brings the policy back.

Either way, the session is still recorded, and trailing review still summarizes it, but in enforce mode its calls get no grade of their own. Each of its calls carries a decision noting that it was not routed through Watcher because of the session's Codex approval policy. Starting a fresh interactive thread restores the gate.

Messages between agentsโ€‹

In Codex's multi-agent mode, most messages one agent sends another are encrypted so that only the model provider can read them: the task given to a new subagent, a follow-up task, and progress messages. Codex records only a readable header naming the kind of message, the task and the sender. Watcher cannot review what these messages said, either when it reviews a call or in a session's Deep Review. A subagent's final report usually arrives as plain text and is reviewed like any other message.

When you open the transcript of a session with such messages, Analyzer marks each one in place, shows a placeholder where a call's encrypted message would be, and says how many there were, received and sent. A Deep Review of the session is told that the instructions passed between agents were not visible, and does not guess what they said. Analyzer never marks messages in sessions identified as another coding agent; sessions whose agent Watcher could not identify are still checked, since they may be Codex.