Skip to content

crow-cli

A stateful, ACP-native coding agent. A streaming ReAct loop that reads and edits code, runs shells, searches the web, and sees images — with no framework between you and the model: the OpenAI SDK, FastMCP, and a shared SQL store every agent can query.

Two repos hold the whole thing:

  • crow-cli — the agent (Python). ACP v1 and v2 servers, the ReAct loop, the CLI.
  • crow — the clients: the crow-agent terminal TUI, the crow IDE (a from-source VS Code), and the chat extension + webview.

What we didn't build

Permissions The agent has the same access you do. You trust it or you don't run it.
New protocol We use ACP. No new data model for agent-client interaction.
Offline agent Every agent gets web_search and web_fetch, and is prompted to use them liberally.
Builtin tools The agent ships no tool supply. The client hands it MCP servers at session/new; crow's clients hand it crow's.
Static skill packages Skills are markdown the agent loads at runtime — and this site publishes ours.

Start here

  • Installation — PyPI install, init, and building the IDE
  • Configuration — everything in config.yaml
  • Clients — the IDE, the TUI, the browser, and crow-cli run
  • Services — SearXNG, PostgreSQL, and the timer worker
  • CLI walkthrough — every part of the crow-cli helper
  • Skills — the workflows our agents load at runtime

The shape of it

  • Persistence is the point. Every session lives in a SQL database (~/.agents/crow/crow.db — SQLite by default, PostgreSQL when you want one store shared across machines) with full-text search over every message. Agents recall past conversations, read each other's sessions, and delegate through that store; there is no bespoke agent-to-agent protocol, just a shared database and a read query. Sessions get memorable coolname ids you can resume, fork, or read from any other agent.
  • The client owns the tools. The agent has no builtin MCP servers. Whatever the client hands it at session/new is exactly the tools that session gets. crow-cli mcp serves the flat v1 tool set; crow-cli mcp2 serves the v2 execute-kernel.
  • crow-cli acp / acp2 is the agent. Clients spawn it over stdio; the crow IDE spawns an acp2 --http daemon per window. --http by hand is for external clients that want a long-lived agent.
  • crow-cli run is the reference client — one-shot prompts, a REPL, and the delegation mechanism between agents.
  • Skills are directories in ~/.agents/skills with a SKILL.md. The system prompt catalogues them; the agent reads one when a task matches.