Installing agents

Adding an ACP agent from the registry, or pointing Cydonia at a command you already have.

Cydonia runs any agent that speaks ACP. An agent is a program Cydonia launches and talks to over stdio.

How agents run

Cydonia starts an agent when you open a session on it, and talks to it over ACP: it hands the agent your messages and the project's tools, and shows what the agent does. The agent does the work, with its own model and its own sign-in; Cydonia calls no model itself.

Some agents speak ACP themselves: OpenCode, Cursor and Gemini. Cydonia runs the copy already on your PATH when there is one, and installs its own otherwise.

Others speak only their own protocol, so the registry pairs them with an adapter that speaks ACP on their behalf, and the adapter is what Cydonia installs:

Agent Adapter
Claude Code @agentclientprotocol/claude-agent-acp
Codex @agentclientprotocol/codex-acp
Pi pi-acp
Antigravity agy_acp_server

The Claude Code adapter is built on the Claude Agent SDK and runs a Claude CLI it carries with it. To have it run the claude you already have, set CLAUDE_CODE_EXECUTABLE in the agent's env in settings.toml.

An install lands in ~/.local/share/cydonia/agents/<id>/ and adds one entry to settings.toml; removing the agent deletes that directory and that entry. A program on your PATH is never installed over, updated or removed. Installing writes nothing of an agent's own configuration; Cydonia writes to it only when you switch one of the agent's skills on or off.

From the registry

Settings › Agents lists the ACP registry. Installing one downloads and unpacks it under ~/.local/share/, and writes an entry into settings.toml pointing at the unpacked executable.

Already installed

When OpenCode (opencode acp), Cursor (cursor-agent acp) or Gemini (gemini --acp) is on your PATH and settings.toml names no entry for it, Cydonia runs that one. Settings › Agents shows the path it runs from, and nothing to install or update: the program is yours to update.

By hand

Write the entry yourself in ~/.config/cydonia/settings.toml:

[[agents]]
name = "my-agent"
command = "path/to/agent"
args = ["--acp"]
# env = { KEY = "VALUE" }

A hand-written entry has no registry id and is never touched by the installer.

Pinning

npx, bunx and pnpx resolve a package name against the registry on every launch, so npx pkg@latest is a different program each time. Cydonia checks whether every package an entry names carries an exact version, and says so where one does not. Pin the version:

[[agents]]
name = "pinned-agent"
command = "npx"
args = ["[email protected]"]

Running one

An installed agent is reachable from a session. ⌘N talks to whichever agent the project last used; ⌥⌘N starts a session on the next one. See Sessions.