Skip to content

Supported Code Agents

Otty integrates with three coding-agent CLIs you run yourself. You keep using the agent exactly as you would in any terminal — Otty plugs into it so the tab badges, notifications, history, resume, and fork all work. The in-app experience is identical across all three.

AgentCommandHow Otty connectsResumeFork
Claude CodeclaudeHooks in ~/.claude/settings.json
CodexcodexHooks in ~/.codex/hooks.json (+ hooks = true in config.toml)
OpenCodeopencodePlugin in ~/.config/opencode/plugins

Installation is one click: the first time Otty needs the integration it asks to install the hook or plugin into that agent's own config — it won't touch your other settings. See Setup to install, manage, or remove it.

Claude Code

Anthropic's Claude Code CLI. Otty adds hook entries to ~/.claude/settings.json that report each turn's state (processing, idle, awaiting input).

  • Resume reopens a past conversation with claude --resume <id>.
  • Fork branches it into a new session with claude --resume <id> --fork-session.
  • Transcripts live as JSONL under ~/.claude/projects/…, so History can search and reload them.

Codex

OpenAI's Codex CLI. Otty installs hooks into ~/.codex/hooks.json.

  • Codex only runs hooks when the hooks feature is enabled in ~/.codex/config.toml. Otty turns it on when it installs the hooks; if it ever gets switched off, Otty offers a one-click re-enable (then restart Codex in that tab).
  • Resume uses codex resume <id>; Fork uses codex fork <id>.

OpenCode

The self-hosted OpenCode agent. Instead of hooks, Otty installs a small plugin into ~/.config/opencode/plugins.

  • Resume uses opencode --session <id>; Fork uses opencode --fork --session <id>.
  • Heads-up: OpenCode doesn't announce a session when you switch to it via /sessions — Otty only picks it up once you send a message in that session. If a freshly-switched tab looks unlinked, type something and it connects.

Other Code Agents

Right now Otty's deep integration — tab badges, notifications, history, resume, and fork — only covers the three agents above. Any other coding-agent CLI still runs fine in an Otty tab as a plain terminal program; it just won't light up those agent-aware features yet.

  • Resume — an agent that wants its sessions to survive a terminal restart can adopt the Terminal Resume Protocol (OSC 88). It's a vendor-neutral, open spec, so any tool that emits it gets resume in Otty without a bespoke integration.
  • Everything else is not implemented yet. We plan to open the other agent features up over time, likely through extensions or a similar mechanism.

Want your agent supported, or building one that should plug in? Get in touch at otty@appmakes.io.

See also

Otty