toge

Agents

Which agents toge works with, and how your comments reach them.

toge plugs into each agent the way that agent is meant to be extended: hooks, plugins or extensions. No terminal tricks.

AgentWhat toge install addsHow your comments reach it
Claude CodeHooks in settings.json, and a skillA background hook wakes Claude, even when it’s idle
CodexHooks in hooks.json, a note in AGENTS.mdCodex can’t be woken, so its turn waits while you review; press Done to let it go on
OpenCodeA plugin, a note in AGENTS.mdThe plugin sends a new prompt once the session is idle
PiAn extension, a note in AGENTS.mdThe extension starts a new turn
oh-my-piThe same extensionSame as Pi

Any other agent that can run shell commands can use toge pull to fetch waiting comments.

The commands an agent uses

toge open report.html --title "Checkout latency RCA"   # put a page up for review
toge reply c_1a2b3c4d "Added p95 next to p99"          # answer a thread
toge pull                                              # fetch comments, if there are no hooks
toge done p_12ab34cd                                   # end the review from the agent's side

Agents can’t resolve threads or publish anything. Only you can, from the page.

Which session gets the comments

The session that ran toge open gets the page’s comments. Claude Code and Codex tell toge which session they are. OpenCode and Pi can’t, so the first of their sessions to ask from the page’s folder claims it; if you run two in one folder, pass --session to be sure.

If a comment doesn’t get through

toge keeps a comment until the agent confirms it has it. If the session was closed or the connection dropped, the comment goes to the next session listening, within a minute. You may now and then see the same comment twice; you won’t lose one.

Adding an agent

Each agent is one small driver. See internal/agents/README.md.