Clients¶
One agent, several front doors. Every first-party client is an ACP client that
spawns and manages its own agent process. crow-cli run and crow-agent spawn the
agent over stdio (using the top agent_servers entry, or --agent). The IDE, on
both desktop and crow serve-web, spawns a crow-cli acp2 --http process per
window and stops it when the window closes.
| Client | What it is | The agent | Run it |
|---|---|---|---|
crow-cli run |
the reference client: one-shot, REPL, JSONL, session forks | spawns its own over stdio | crow-cli run "…" |
crow-agent |
Rust ratatui TUI (crates/crow-client in the crow repo) |
spawns its own over stdio | crow-agent |
| crow IDE | VS Code built from source, with the crow chat extension bundled as a built-in — desktop app and browser server | spawns its own per window (crowAcp.backend: spawn, the default) |
crow |
| any ACP client | any other editor, over stdio or WebSocket | the client spawns the command you give it | crow-cli acp / acp2 |
The args, exactly¶
acp --http serves protocol v1 on 2769; acp2 --http serves v2 on 2771;
--host (default 127.0.0.1) and --port move either. The IDE's spawned daemon
starts at 2771 and cycles upward until a port is free, so windows never collide.
Running --http by hand is for external clients that want a long-lived agent; a
client that only speaks v1 needs crow-cli acp --http instead, on 2769.
acp2 --no-default-tool starts an agent with no tools of its own: config.yaml's
mcpServers are not merged into a session, so the session's tools are exactly the
ones its client sent in session/new. That is how a client gives an agent a single
purpose — a conductor whose only arm is the tools it was handed — by construction
rather than by asking nicely in a prompt.
crow-agent — the terminal client¶
A ratatui ACP client in the crow repo's crates/crow-client. It spawns the agent over stdio
(--agent, default crow-cli acp2) and acts as a native terminal citizen: markdown
rendering, syntax-highlighted diffs, drag-to-select copy, tool calls that expand in
place, ! for a shell line, and / for commands.
cd ~/.agents/crow/src/crow # the clients repo; crow-cli init clones it
cargo build --release --bin crow-agent
crow-agent # in the current workspace
crow-agent -w ~/src/project --session-id <id> # resume a durable session
crow-agent --model <name> # ask the agent for a model
crow-agent --demo # scripted turns, no agent needed
crow — the IDE¶
The crow repo's packages/crow-gui builds crow's IDE from Microsoft's open-source
VS Code using a vendored copy of VSCodium's build pipeline, rebranded, with crow's
patches in packages/crow-gui/vscodium/patches/user/. Two artifacts come out and
both are first-class:
| Artifact | What it is | Entry point |
|---|---|---|
vscodium/VSCode-linux-<arch>/ |
the Electron desktop app | bin/crow |
vscodium/vscode-reh-web-linux-<arch>/ |
the browser server (reh-web) |
bin/crow-server |
The chat panel is that repo's packages/vscode-acp (crow-acp), built with bun and
copied into every packaged tree as a built-in extension alongside the Jupyter +
Python stack pinned in packages/crow-gui/bundled-exts.json — so notebooks get a
kernel picker with no marketplace install.
Launch the client you want; each command spawns its own agent process:
crow # the desktop IDE
crow serve-web # the same IDE in a browser, through the IDE's own CLI
crow agent # the crow-agent TUI
The chat extension starts the agent for you: with crowAcp.backend at its default
spawn, each window gets its own crow-cli acp2 --http daemon, stopped when the
window closes. The chat webview connects through the extension's local proxy, so
this works the same over serve-web on a LAN. The knobs:
crowAcp.cliCommand— argv that runs crow-cli, e.g.["uv", "--project", "/path/to/crow-cli", "run", "crow-cli"]for a source checkoutcrowAcp.model— model for the spawned daemon (empty = the configured default)crowAcp.port— first port tried (default 2771; cycles upward if busy)crowAcp.cwd— agent working directory (empty = the workspace folder)crowAcp.protocol— ACP version (default2)crowAcp.mcpConfig— the tool supply handed over atsession/new, by defaultcrow-cli mcp2
To share one long-lived agent instead, run crow-cli acp2 --http yourself and set
crowAcp.backend to external, with crowAcp.endpoint pointing at it (default
ws://127.0.0.1:2771/acp). The extension then proxies that daemon rather than
spawning one.
serve-web starts the reh-web server that ships beside the IDE (/usr/share/crow/web,
or $CROW_WEB_DIR): crow publishes no release tarballs, so there is nothing to
download and no update check to fail.
Why the install is the .deb¶
The install is the .deb, and that is not pedantry: dpkg -i is the only route
that gets a root-owned 4755 chrome-sandbox, which Chromium requires — without it
the desktop app can die silently on kernels that restrict unprivileged user
namespaces (Ubuntu 24.04+). So install crow runs the pipeline with --deb (it
wants fakeroot + dpkg-dev, and says so before a long build rather than after)
and then installs it.
--no-deb is the rootless fallback: it copies the trees to
~/.local/share/crow/{ide,web} and writes a user-level .desktop entry — a build
you can run, not an install, with no setuid sandbox, and it says so up front.
The whole install, by hand:
cd ~/.agents/crow/src/crow # git clone https://github.com/crow-cli/crow.git here if missing
cd packages/crow-gui && ./build.sh --arch x64 --deb # IDE + web server + the .deb
sudo dpkg -i vscodium/assets/crow_*.deb # /usr/share/crow, /usr/bin/crow, /usr/bin/crow-web
cd ../.. && cargo build --release --bin crow-agent # the agent TUI
mkdir -p ~/.local/bin && install -m 755 target/release/crow-agent ~/.local/bin/
crow-cli install crow --no-build # writes the ~/.local/bin/crow shim
Any other ACP client¶
The agent has no builtin tools, so declare the agent and the tool supply it gets
at session/new. A client that forwards MCP servers to external agents through a
context_servers block needs both:
{
"agent_servers": {
"crow-cli": { "command": "crow-cli", "args": ["acp"] }
},
"context_servers": {
"crow-mcp": { "command": "crow-cli", "args": ["mcp"], "env": {} }
}
}
agent_servers is the agent; context_servers is its tool supply. For protocol v2,
use acp2 and hand it crow-cli mcp2. ACP is the contract — no fork required.