@intentic/acp-bridge
v1.226.1
Published
ACP agent bridge for intentic, drive the agents in your intentic sandbox (Claude, Codex, Grok, any ACP agent) from Zed, JetBrains, or any ACP editor
Downloads
10,465
Readme
@intentic/acp-bridge
Drive the agents in your intentic sandbox from your own editor.
Claude, Codex, Grok or any installed ACP agent, reached from Zed, JetBrains, or anything else speaking the Agent Client Protocol. The bridge is a thin stdio adapter the editor spawns locally; the agent itself runs remotely in your sandbox, and your synced folder mirrors its edits back so diffs and jump-to-file line up in the editor.
Setup
- In the intentic app: Sandbox → Sync → Editor bridge (ACP) → Mint token. Copy the token (shown once) or the generated snippet.
- Zed
settings.json(JetBrains takes the same command + env):
{
"agent_servers": {
"intentic": {
"type": "custom",
"command": "npx",
"args": ["@intentic/acp-bridge"],
"env": {
"INTENTIC_SANDBOX_URL": "https://sandbox-….intentic.dev",
"INTENTIC_CONTROL_TOKEN": "ict_…"
}
}
}
}Alternatively run npx @intentic/acp-bridge login once: credentials persist in ~/.intentic/acp/.
- Open your synced sandbox folder as the editor project, pick the intentic agent in the agent panel,
and chat. Switch the agent with
INTENTIC_AGENT(claudedefault,codex,grok, or an installed ACP capability id); pin a model withINTENTIC_MODEL.
What maps how
- Tool calls stream with kinds, statuses, file locations, and inline diffs (paths joined onto your project root: open the synced folder for exact alignment).
- The Plan mode proposes first: approval rides the editor's permission prompt ("Approve plan" / "Keep planning"). Clarifying questions arrive the same way, one prompt per question.
- The sandbox does all file/terminal I/O remotely; the bridge deliberately declines the editor's fs and terminal capabilities (your synced folder is the local mirror).
- Cancel stops the stream (soft: the sandbox turn may finish server-side). Revoking the token in the app cuts the bridge off immediately.
Key files
- src/bridge.ts, the adapter itself: editor on stdio, sandbox over the wire.
- src/translate.ts: ACP messages to and from the daemon's own shapes.
- src/daemon-client.ts: the remote half of the connection.
- src/login.ts / src/config.ts: pairing an editor with a sandbox, and remembering it.
- src/cli.ts: what the editor actually spawns.
