DOCS / Using it

More agents

Antigravity, Gemini CLI, OpenCode, Pi, DeepSeek, a second account, GPT / DeepSeek APIs.

View .mdGive it to an AI: it reads the page in one fetch

Every agent in Gerdr is an engine plus its own name, prompt, skills / MCP and new-session defaults. There are four engines: Claude Code, Codex, Gerdr Agent (calls a model API itself) and external ACP agents (any command-line agent that speaks ACP). Add them all in Settings → Agent → Roles; once added, they're on the new-session screen.

Antigravity, Gemini CLI, OpenCode, Pi, DeepSeek

01

Install the agent in a terminal first and sign in the way it asks (Pi and DeepSeek Harness run through npx: nothing to install).

02

Open Settings → Agent → Roles, click New, and pick External ACP agent as the engine.

03

Click one under Common below the command: it fills the command in. Give it a name.

04

A key it needs goes under Environment, one KEY=VALUE per line. Gerdr then starts it once to read its modes and models.

05

Save. Pick it when starting a session.

A new external ACP agent
AgentCommandNotes
Antigravityagy acpInstall agy and sign in first
Gemini CLIgemini --acpInstall gemini and sign in first
OpenCodeopencode acpAnother config: env OPENCODE_CONFIG
Pinpx -y pi-acp
DeepSeek Harnessnpx -y dsh-acpNeeds env DEEPSEEK_API_KEY
Not on the list? If it speaks ACP (the Agent Client Protocol), put its command in and it works.

GPT, DeepSeek, Gemini or Claude APIs directly

No command-line agent, just an API key? Use the built-in Gerdr Agent: at the bottom of Settings → Agent → Roles, add a provider under the engines with its endpoint and key, fetch its model list and pick the models. OpenAI-compatible APIs (DeepSeek, gateways), Anthropic and Google Gemini all work. A Gerdr Agent then shows on the new-session screen.

It does interjecting, rewind, approvals, sub-agents, background commands, skills and MCP, and remembers what you corrected. The key is kept in Gerdr's own secrets file, out of the agents' reach.

A second Claude / Codex account

01

New agent on the Claude Code engine, named e.g. "Claude work".

02

Open Advanced and set CLAUDE_CONFIG_DIR=~/.claude-work (Codex: CODEX_HOME); for an API key, ANTHROPIC_API_KEY=….

03

A subscription signs in once in a terminal: CLAUDE_CONFIG_DIR=~/.claude-work claude, then /login.

Give an agent a role

One engine can back several agents with different jobs: say a "Reviewer" whose prompt reads "Read the code, don't edit files, list problems by severity", with only the review skills and read-only mode by default. Then just say "have the reviewer look at it".

Or have an agent add it

In any session, say "add Antigravity for me" or "add a read-only reviewer": it changes the settings with Gerdr's command line. The commands it uses:

gerdr config add agents '{"id":"agy","name":"Antigravity","command":["agy","acp"]}'
gerdr config add agents '{"id":"deepseek","name":"DeepSeek","command":["npx","-y","dsh-acp"],"env":{"DEEPSEEK_API_KEY":"sk-…"}}'
gerdr agent create '{"id":"reviewer","name":"Reviewer","base":"claude","prompt":"Review only, don't edit.","defaults":{"mode":"plan"}}'

Render diagnostics