acpx ships with a registry of friendly agent names. Each one resolves to a specific ACP adapter command. Unknown names fall through as raw commands, and --agent <command> is the escape hatch for anything custom (see Custom agents).
The default agent for top-level commands like acpx exec … and acpx prompt … is codex.
#Built-in registry
| Agent | Adapter command | Wraps |
|---|---|---|
pi | npx pi-acp | Pi Coding Agent |
openclaw | openclaw acp | OpenClaw ACP bridge |
codex | npx @zed-industries/codex-acp | Codex CLI |
claude | npx -y @agentclientprotocol/claude-agent-acp | Claude Code |
gemini | gemini --acp | Gemini CLI |
cursor | cursor-agent acp | Cursor CLI |
copilot | copilot --acp --stdio | GitHub Copilot CLI |
droid | droid exec --output-format acp | Factory Droid |
iflow | iflow --experimental-acp | iFlow CLI |
kilocode | npx -y @kilocode/cli acp | Kilocode |
kimi | kimi acp | Kimi CLI |
kiro | kiro-cli-chat acp | Kiro CLI |
opencode | npx -y opencode-ai acp | OpenCode |
qoder | qodercli --acp | Qoder CLI |
qwen | qwen --acp | Qwen Code |
trae | traecli acp serve | Trae CLI |
factory-droid and factorydroid also resolve to the built-in droid adapter.
#Common shape
Every built-in agent supports the same command surface:
acpx <agent> [prompt_text...] # implicit prompt
acpx <agent> prompt [prompt_text...] # explicit prompt
acpx <agent> exec [prompt_text...] # one-shot, no saved session
acpx <agent> cancel [-s <name>] # cooperative session/cancel
acpx <agent> set-mode <mode> [-s <name>] # session/set_mode
acpx <agent> set <key> <value> [-s <name>] # session/set_config_option
acpx <agent> status [-s <name>]
acpx <agent> sessions [list | new | ensure | close | show | history | prune]
See Prompting, Sessions, and Session control for the cross-agent semantics.
#Per-agent notes
Notes that override or extend the cross-agent behavior live below.
#Codex
- Built-in name:
codex - Default command:
npx @zed-industries/codex-acp - Upstream: zed-industries/codex-acp
- Runtime config keys exposed by current
codex-acpreleases:mode,model,reasoning_effort. acpx --model <id> codex …applies the requested model after session creation viasession/set_config_option.acpx codex set thought_level <value>is accepted as a compatibility alias for codex-acp'sreasoning_effort.
#Claude
- Built-in name:
claude - Default command:
npx -y @agentclientprotocol/claude-agent-acp - Upstream: agentclientprotocol/claude-agent-acp
- The built-in package range is pinned by acpx so fresh installs pick up Claude model and ACP adapter fixes without depending on a globally installed adapter binary.
- On Windows,
acpxresolves theclaude.exeexecutable fromPATHbefore spawning so launches do not depend on shell-specific command lookup. --system-promptand--append-system-promptforward through ACP_meta.systemPromptonsession/new, letting you replace or append to the Claude Code system prompt without leaving a persistent session. The value persists insession_options.system_promptso ensure/reuse keeps the override. Other agents ignore the field.
#Pi
- Built-in name:
pi - Default command:
npx pi-acp - Upstream: mariozechner/pi
#OpenClaw
- Built-in name:
openclaw - Default command:
openclaw acp - Upstream: openclaw/openclaw
For repo-local OpenClaw checkouts, override the built-in command in ~/.acpx/config.json so acpx openclaw … spawns the ACP bridge directly without the pnpm wrapper:
{
"agents": {
"openclaw": {
"command": "env OPENCLAW_HIDE_BANNER=1 OPENCLAW_SUPPRESS_NOTES=1 node scripts/run-node.mjs acp --url ws://127.0.0.1:18789 --token-file ~/.openclaw/gateway.token --session agent:main:main"
}
}
}
#Cursor
- Built-in name:
cursor - Default command:
cursor-agent acp - Upstream: Cursor CLI
If your Cursor install exposes ACP as agent acp instead of cursor-agent acp, override:
{ "agents": { "cursor": { "command": "agent acp" } } }
#Gemini
- Built-in name:
gemini - Default command:
gemini --acp - Upstream: google/gemini-cli
#Copilot
- Built-in name:
copilot - Default command:
copilot --acp --stdio - Upstream: GitHub Copilot CLI
- Requires a Copilot CLI release that supports ACP stdio mode. Older
copilotbinaries fail before ACP startup.
#Droid (Factory)
- Built-in names:
droid,factory-droid,factorydroid - Default command:
droid exec --output-format acp - Upstream: factory.ai
#Qoder
- Built-in name:
qoder - Default command:
qodercli --acp - Upstream: Qoder CLI
- Reuses the Qoder CLI login state. For non-interactive runs, set
QODER_PERSONAL_ACCESS_TOKEN. acpx qoderforwards--max-turnsand--allowed-toolsinto Qoder CLI startup flags when those session options are set, so you do not need a raw--agentoverride for them.
#iFlow
- Built-in name:
iflow - Default command:
iflow --experimental-acp - Upstream: iflow-ai/iflow-cli
#Kilocode
- Built-in name:
kilocode - Default command:
npx -y @kilocode/cli acp - Upstream: kilocode.ai
#Kimi
- Built-in name:
kimi - Default command:
kimi acp - Upstream: MoonshotAI/kimi-cli
#Kiro
- Built-in name:
kiro - Default command:
kiro-cli-chat acp - Upstream: kiro.dev
#OpenCode
- Built-in name:
opencode - Default command:
npx -y opencode-ai acp - Upstream: opencode.ai
#Qwen
- Built-in name:
qwen - Default command:
qwen --acp - Upstream: QwenLM/qwen-code
#Trae
- Built-in name:
trae - Default command:
traecli acp serve - Upstream: docs.trae.cn
#Overriding a built-in
Any built-in can be replaced wholesale through config, including args for adapter sub-commands:
{
"agents": {
"codex": {
"command": "/usr/local/bin/codex-acp",
"args": ["--profile", "ci"]
}
}
}
CLI flags still win over config. See Config for precedence rules.
#See also
- Custom agents —
--agent <command>and unknown positional names. - Sessions — how the agent command becomes part of the session scope key.
- Authentication —
ACPX_AUTH_*env vars and configauthentries for ACPauthenticatehandshakes.