arteffectDocs
Agents

Get started

Agents

Which coding agents arteffect supports, what setup installs for each, and how comments reach them.

arteffect is agent-agnostic. npx arteffect setup connects the agents it finds; anything else that speaks MCP, or can run a shell, can use arteffect too.

Supported agents

Agent What setup adds
Claude Code MCP server, plus a Stop hook and a background wake hook. Extra profiles such as ~/.claude-personal are found too.
Codex MCP server, plus a Stop hook and a background hook that queues comments with codex queue (run /hooks once in Codex to trust them).
Cursor MCP server, plus a stop hook.
OpenCode MCP server, plus a plugin.
Anything else Add arteffect mcp as a stdio MCP server, or install the skill and use the CLI.

How comments reach each agent

The hooks hand new comments to a running agent when it would otherwise stop, or wake an idle session the moment you comment. Nothing waits on you to copy and paste. If no agent is running, the comment waits for the next one.

Agent While it works While it’s idle
Claude Code A Stop hook hands new comments over when Claude would stop A background hook (asyncRewake) wakes the session the moment someone comments
Codex A Stop hook continues the turn with the comments A background hook queues the comments with codex queue
OpenCode A plugin sends the comments in when the session goes idle The same plugin checks every few seconds
Cursor A stop hook sends the comments as a follow-up Waits for your next message
Anything that reads AGENTS.md Runs arteffect feedback check before it finishes Runs arteffect feedback wait when asked to wait for review

setup installs hooks at the user level. To install them per repo instead:

npx arteffect hooks install              # this repo's agents
npx arteffect hooks install --agent codex
npx arteffect hooks install --user       # every repo
npx arteffect hooks install --remove     # take them out

Waking stopped agents

Off by default. Turn on Wake on new comments for an exhibit in the viewer, or for everything:

arteffect watch enable

A comment with no agent connected then resumes the session of the mentioned agent or the exhibit’s owner (Claude Code or Codex), in the background or in a terminal window you can watch. It runs claude --resume {session} -p {prompt} or codex exec resume {session} {prompt}. Set your own command with:

arteffect watch enable --agent <agent> --command "..."

The prompt only points the agent at the thread; no comment text ever reaches the command line.

To watch it work, turn on Open a window when a comment wakes an agent in Settings and pick your terminal under Reconnecting agents: Terminal, iTerm, Ghostty, WezTerm, kitty or Alacritty, and on Linux also foot, Konsole, GNOME Terminal and xterm. On Linux the default is xdg-terminal-exec if you have it, then $TERMINAL, then x-terminal-emulator, then the first of those that is installed.

Channels (Claude Code)

arteffect mcp also exposes open feedback as the arteffect://feedback resource and notifies subscribed clients. With Claude Code channels (research preview), start Claude with:

claude --dangerously-load-development-channels server:arteffect

to get each comment as a channel event. The hooks do the same job without the flag.