惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
Recorded Future
Recorded Future
Microsoft Azure Blog
Microsoft Azure Blog
M
MIT News - Artificial intelligence
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
博客园 - 司徒正美
Stack Overflow Blog
Stack Overflow Blog
Simon Willison's Weblog
Simon Willison's Weblog
爱范儿
爱范儿
D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Visual Studio Blog
H
Help Net Security
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog RSS Feed
美团技术团队
G
GRAHAM CLULEY
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
腾讯CDC
G
Google Developers Blog
Cyberwarzone
Cyberwarzone
T
Tenable Blog
A
About on SuperTechFans
WordPress大学
WordPress大学
Engineering at Meta
Engineering at Meta
L
Lohrmann on Cybersecurity
C
Cisco Blogs
K
Kaspersky official blog
Recent Announcements
Recent Announcements
Vercel News
Vercel News
C
Cybersecurity and Infrastructure Security Agency CISA
有赞技术团队
有赞技术团队
P
Privacy & Cybersecurity Law Blog
Hugging Face - Blog
Hugging Face - Blog
S
Schneier on Security
Apple Machine Learning Research
Apple Machine Learning Research
Cloudbric
Cloudbric
Scott Helme
Scott Helme
Google Online Security Blog
Google Online Security Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Attack and Defense Labs
Attack and Defense Labs
Google DeepMind News
Google DeepMind News
N
News and Events Feed by Topic
D
Docker
U
Unit 42
S
Security @ Cisco Blogs

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
docs(tools): split ACP agents by extracting acpx harness, plugin setu… · openclaw/openclaw@f4d73e1
vincentkoc · 2026-04-24 · via Recent Commits to openclaw:main

@@ -0,0 +1,291 @@

1+

---

2+

summary: "Setting up ACP agents: acpx harness config, plugin setup, permissions"

3+

read_when:

4+

- Installing or configuring the acpx harness for Claude Code / Codex / Gemini CLI

5+

- Enabling the plugin-tools or OpenClaw-tools MCP bridge

6+

- Configuring ACP permission modes

7+

title: "ACP agents — setup"

8+

---

9+10+

For the overview, operator runbook, and concepts, see [ACP agents](/tools/acp-agents).

11+

This page covers acpx harness config, plugin setup for the MCP bridges, and

12+

permission configuration.

13+14+

## acpx harness support (current)

15+16+

Current acpx built-in harness aliases:

17+18+

- `claude`

19+

- `codex`

20+

- `copilot`

21+

- `cursor` (Cursor CLI: `cursor-agent acp`)

22+

- `droid`

23+

- `gemini`

24+

- `iflow`

25+

- `kilocode`

26+

- `kimi`

27+

- `kiro`

28+

- `openclaw`

29+

- `opencode`

30+

- `pi`

31+

- `qwen`

32+33+

When OpenClaw uses the acpx backend, prefer these values for `agentId` unless your acpx config defines custom agent aliases.

34+

If your local Cursor install still exposes ACP as `agent acp`, override the `cursor` agent command in your acpx config instead of changing the built-in default.

35+36+

Direct acpx CLI usage can also target arbitrary adapters via `--agent <command>`, but that raw escape hatch is an acpx CLI feature (not the normal OpenClaw `agentId` path).

37+38+

## Required config

39+40+

Core ACP baseline:

41+42+

```json5

43+

{

44+

acp: {

45+

enabled: true,

46+

// Optional. Default is true; set false to pause ACP dispatch while keeping /acp controls.

47+

dispatch: { enabled: true },

48+

backend: "acpx",

49+

defaultAgent: "codex",

50+

allowedAgents: [

51+

"claude",

52+

"codex",

53+

"copilot",

54+

"cursor",

55+

"droid",

56+

"gemini",

57+

"iflow",

58+

"kilocode",

59+

"kimi",

60+

"kiro",

61+

"openclaw",

62+

"opencode",

63+

"pi",

64+

"qwen",

65+

],

66+

maxConcurrentSessions: 8,

67+

stream: {

68+

coalesceIdleMs: 300,

69+

maxChunkChars: 1200,

70+

},

71+

runtime: {

72+

ttlMinutes: 120,

73+

},

74+

},

75+

}

76+

```

77+78+

Thread binding config is channel-adapter specific. Example for Discord:

79+80+

```json5

81+

{

82+

session: {

83+

threadBindings: {

84+

enabled: true,

85+

idleHours: 24,

86+

maxAgeHours: 0,

87+

},

88+

},

89+

channels: {

90+

discord: {

91+

threadBindings: {

92+

enabled: true,

93+

spawnAcpSessions: true,

94+

},

95+

},

96+

},

97+

}

98+

```

99+100+

If thread-bound ACP spawn does not work, verify the adapter feature flag first:

101+102+

- Discord: `channels.discord.threadBindings.spawnAcpSessions=true`

103+104+

Current-conversation binds do not require child-thread creation. They require an active conversation context and a channel adapter that exposes ACP conversation bindings.

105+106+

See [Configuration Reference](/gateway/configuration-reference).

107+108+

## Plugin setup for acpx backend

109+110+

Fresh installs ship the bundled `acpx` runtime plugin enabled by default, so ACP

111+

usually works without a manual plugin install step.

112+113+

Start with:

114+115+

```text

116+

/acp doctor

117+

```

118+119+

If you disabled `acpx`, denied it via `plugins.allow` / `plugins.deny`, or want

120+

to switch to a local development checkout, use the explicit plugin path:

121+122+

```bash

123+

openclaw plugins install acpx

124+

openclaw config set plugins.entries.acpx.enabled true

125+

```

126+127+

Local workspace install during development:

128+129+

```bash

130+

openclaw plugins install ./path/to/local/acpx-plugin

131+

```

132+133+

Then verify backend health:

134+135+

```text

136+

/acp doctor

137+

```

138+139+

### acpx command and version configuration

140+141+

By default, the bundled `acpx` plugin uses its plugin-local pinned binary (`node_modules/.bin/acpx` inside the plugin package). Startup registers the backend as not-ready and a background job verifies `acpx --version`; if the binary is missing or mismatched, it runs `npm install --omit=dev --no-save acpx@<pinned>` and re-verifies. The gateway stays non-blocking throughout.

142+143+

Override the command or version in plugin config:

144+145+

```json

146+

{

147+

"plugins": {

148+

"entries": {

149+

"acpx": {

150+

"enabled": true,

151+

"config": {

152+

"command": "../acpx/dist/cli.js",

153+

"expectedVersion": "any"

154+

}

155+

}

156+

}

157+

}

158+

}

159+

```

160+161+

- `command` accepts an absolute path, relative path (resolved from the OpenClaw workspace), or command name.

162+

- `expectedVersion: "any"` disables strict version matching.

163+

- Custom `command` paths disable plugin-local auto-install.

164+165+

See [Plugins](/tools/plugin).

166+167+

### Automatic dependency install

168+169+

When you install OpenClaw globally with `npm install -g openclaw`, the acpx

170+

runtime dependencies (platform-specific binaries) are installed automatically

171+

via a postinstall hook. If the automatic install fails, the gateway still starts

172+

normally and reports the missing dependency through `openclaw acp doctor`.

173+174+

### Plugin tools MCP bridge

175+176+

By default, ACPX sessions do **not** expose OpenClaw plugin-registered tools to

177+

the ACP harness.

178+179+

If you want ACP agents such as Codex or Claude Code to call installed

180+

OpenClaw plugin tools such as memory recall/store, enable the dedicated bridge:

181+182+

```bash

183+

openclaw config set plugins.entries.acpx.config.pluginToolsMcpBridge true

184+

```

185+186+

What this does:

187+188+

- Injects a built-in MCP server named `openclaw-plugin-tools` into ACPX session

189+

bootstrap.

190+

- Exposes plugin tools already registered by installed and enabled OpenClaw

191+

plugins.

192+

- Keeps the feature explicit and default-off.

193+194+

Security and trust notes:

195+196+

- This expands the ACP harness tool surface.

197+

- ACP agents get access only to plugin tools already active in the gateway.

198+

- Treat this as the same trust boundary as letting those plugins execute in

199+

OpenClaw itself.

200+

- Review installed plugins before enabling it.

201+202+

Custom `mcpServers` still work as before. The built-in plugin-tools bridge is an

203+

additional opt-in convenience, not a replacement for generic MCP server config.

204+205+

### OpenClaw tools MCP bridge

206+207+

By default, ACPX sessions also do **not** expose built-in OpenClaw tools through

208+

MCP. Enable the separate core-tools bridge when an ACP agent needs selected

209+

built-in tools such as `cron`:

210+211+

```bash

212+

openclaw config set plugins.entries.acpx.config.openClawToolsMcpBridge true

213+

```

214+215+

What this does:

216+217+

- Injects a built-in MCP server named `openclaw-tools` into ACPX session

218+

bootstrap.

219+

- Exposes selected built-in OpenClaw tools. The initial server exposes `cron`.

220+

- Keeps core-tool exposure explicit and default-off.

221+222+

### Runtime timeout configuration

223+224+

The bundled `acpx` plugin defaults embedded runtime turns to a 120-second

225+

timeout. This gives slower harnesses such as Gemini CLI enough time to complete

226+

ACP startup and initialization. Override it if your host needs a different

227+

runtime limit:

228+229+

```bash

230+

openclaw config set plugins.entries.acpx.config.timeoutSeconds 180

231+

```

232+233+

Restart the gateway after changing this value.

234+235+

### Health probe agent configuration

236+237+

The bundled `acpx` plugin probes one harness agent while deciding whether the

238+

embedded runtime backend is ready. It defaults to `codex`. If your deployment

239+

uses a different default ACP agent, set the probe agent to the same id:

240+241+

```bash

242+

openclaw config set plugins.entries.acpx.config.probeAgent claude

243+

```

244+245+

Restart the gateway after changing this value.

246+247+

## Permission configuration

248+249+

ACP sessions run non-interactively — there is no TTY to approve or deny file-write and shell-exec permission prompts. The acpx plugin provides two config keys that control how permissions are handled:

250+251+

These ACPX harness permissions are separate from OpenClaw exec approvals and separate from CLI-backend vendor bypass flags such as Claude CLI `--permission-mode bypassPermissions`. ACPX `approve-all` is the harness-level break-glass switch for ACP sessions.

252+253+

### `permissionMode`

254+255+

Controls which operations the harness agent can perform without prompting.

256+257+

| Value | Behavior |

258+

| --------------- | --------------------------------------------------------- |

259+

| `approve-all` | Auto-approve all file writes and shell commands. |

260+

| `approve-reads` | Auto-approve reads only; writes and exec require prompts. |

261+

| `deny-all` | Deny all permission prompts. |

262+263+

### `nonInteractivePermissions`

264+265+

Controls what happens when a permission prompt would be shown but no interactive TTY is available (which is always the case for ACP sessions).

266+267+

| Value | Behavior |

268+

| ------ | ----------------------------------------------------------------- |

269+

| `fail` | Abort the session with `AcpRuntimeError`. **(default)** |

270+

| `deny` | Silently deny the permission and continue (graceful degradation). |

271+272+

### Configuration

273+274+

Set via plugin config:

275+276+

```bash

277+

openclaw config set plugins.entries.acpx.config.permissionMode approve-all

278+

openclaw config set plugins.entries.acpx.config.nonInteractivePermissions fail

279+

```

280+281+

Restart the gateway after changing these values.

282+283+

> **Important:** OpenClaw currently defaults to `permissionMode=approve-reads` and `nonInteractivePermissions=fail`. In non-interactive ACP sessions, any write or exec that triggers a permission prompt can fail with `AcpRuntimeError: Permission prompt unavailable in non-interactive mode`.

284+

>

285+

> If you need to restrict permissions, set `nonInteractivePermissions` to `deny` so sessions degrade gracefully instead of crashing.

286+287+

## Related

288+289+

- [ACP agents](/tools/acp-agents) — overview, operator runbook, concepts

290+

- [Sub-agents](/tools/subagents)

291+

- [Multi-agent routing](/concepts/multi-agent)