Run a general-purpose agent
from one static binary
Coddy is an agent harness: a ReAct loop with filesystem and shell tools, MCP, project rules, skills, subagents, hooks, background tasks, and long-term memory. Drive it from the desktop app, a terminal, a browser, your editor over ACP, or Telegram; run it as a service with a cron scheduler, a swarm relay for a fleet of nodes, and remote control from anywhere. Built for containers and your own API keys.
Quick install
curl -fsSL https://coddy.dev/install.sh | bash
curl -fsSLO https://github.com/coddy-project/coddy-agent/releases/latest/download/coddy_X.Y.Z_linux_amd64.deb
sudo apt-get install ./coddy_X.Y.Z_linux_amd64.deb
curl -fsSLO https://github.com/coddy-project/coddy-agent/releases/latest/download/coddy_X.Y.Z_linux_amd64.rpm
sudo dnf install ./coddy_X.Y.Z_linux_amd64.rpm
Puts the latest release binary on your PATH with its man page and shell completions, and creates ~/.coddy/config.yaml from the example when it is missing. In Termux on Android the same script fetches the Android build.
Swap amd64 for arm64 on 64-bit ARM, or pick a file from the latest release. The package brings /usr/bin/coddy, man coddy, the shell completions and a systemd user unit for coddy serve install, no system service and no system account, and coddy update defers to the package manager.
openSUSE takes the same file with zypper. Swap amd64 for arm64 on 64-bit ARM, or pick a file from the latest release. The package brings /usr/bin/coddy, man coddy, the shell completions and a systemd user unit for coddy serve install, no system service and no system account, and coddy update defers to the package manager.
curl -fsSL https://coddy.dev/install.sh | bash
brew install coddy-project/coddy-agent/coddy
Puts the latest release binary on your PATH with its man page and shell completions, and creates ~/.coddy/config.yaml from the example when it is missing.
The cask lives in Coddy's own tap, and every release updates it. It adds man coddy and the shell completions, clears the quarantine flag for you, and coddy update hands over to brew upgrade --cask coddy.
irm https://coddy.dev/install.ps1 | iex
Run it in PowerShell. Puts the latest release binary on your PATH and creates ~/.coddy/config.yaml from the example when it is missing.
docker run -d --name coddy \
-p 12345:12345 \
-e OPENAI_API_KEY \
-e CODDY_CONFIG=/home/user/.coddy/config.yaml \
-v "$PWD/workspace:/workspace" \
-v "$PWD/coddy_home:/home/user/.coddy" \
ghcr.io/coddy-project/coddy-agent:latest
services:
coddy:
image: ghcr.io/coddy-project/coddy-agent:latest
command: serve -H 0.0.0.0 -P 12345
ports:
- "12345:12345"
working_dir: /workspace
environment:
CODDY_HOME: /home/user/.coddy
CODDY_CWD: /workspace
CODDY_CONFIG: /home/user/.coddy/config.yaml
OPENAI_API_KEY: ${OPENAI_API_KEY-}
volumes:
- ./workspace:/workspace
- ./coddy_home:/home/user/.coddy
healthcheck:
test: ["CMD", "/bin/coddy", "--version"]
interval: 5s
timeout: 3s
retries: 20
Opens the web UI on localhost:12345. The agent works in the mounted /workspace; sessions, skills and config live in the second mount. The image is built for amd64 and arm64 and published to the GitHub Container Registry, no login needed to pull. Pin a release instead of latest, for example ghcr.io/coddy-project/coddy-agent:X.Y.Z.
Save it as docker-compose.yaml and run docker compose up -d. In the repository: Dockerfile, docker-compose.yml for the published image and docker-compose.dev.yml to build from source with your own tags.
coddy- the terminal console
coddy desktop- the desktop app
coddy serve- the web UI
coddy acp- an editor client over ACP
coddy update -y- upgrade later
Other install methods and details:
Install guide
· Android (Termux)
Homebrew without the tap name is still on its way, see
the Homebrew page
See it in action
The same agent served by coddy serve: a picture read by the model, a /goal that
moves the work into a git worktree and that a supervisor model confirms, the edits window with the patch
of each file, the Files window, and a /commit skill from the slash menu.
Bare coddy in a terminal: pick a model with Ctrl+L, hand the agent a
/goal that a second model checks, queue a follow-up while the turn runs, ship the change with
a /commit skill, look things up on F1 and resume with coddy -c.
Zed launches coddy acp for the workspace, and coddy's own modes, models and permission
policy show up in the editor's agent panel. A /goal runs in a fresh worktree, and a shell
command the safety check calls safe runs without a prompt. One entry in Zed's
settings.json:
"agent_servers": {
"Coddy": { "type": "custom", "command": "coddy", "args": ["acp"] }
}
coddy serve in Termux joins a relay on the laptop with one swarm.join entry and
no open port on the phone. The laptop connects to the relay from its environment menu, opens the phone from the
map canvas, runs getprop there and reads the note the agent wrote in the Files window.
The tutorial
Coddy for Browser
shows the web UI of your coddy serve in Chrome's side panel. Asked to search, a chat types into
the page, opens a result and answers in the panel, and the extension asks before Coddy acts on each new
website. A chat of the console, an editor or another machine of the swarm drives the browser the same way.
What is Coddy
Coddy started as a coding agent and grew into a general-purpose harness:
Cursor-style rules and skills on disk, agent, plan and ask modes, tool
permissions, streaming output, and sessions you can resume from the desktop app, a terminal, an IDE, a browser, Telegram, or
automation - the same $CODDY_HOME bundle whichever surface opens it.
Ship it as a single binary in distroless or from-scratch images, or run a fleet of containers with your orchestrator defining CPU, memory, and mounts - one agent per task, full control of each instance, and one swarm relay that lists and reaches every node.
Features
Agent core
ReAct loop
Reasoning, tool calls, and observations in a loop, with runaway-loop guards on repeated output and repeated tool calls.
Subagents
spawn_agent delegates a bounded task to a child agent with its own context and session. Markdown definitions that can only narrow the parent's tools.
Hooks
Your own commands at every lifecycle point, in Claude Code's hooks.json shape. A hook can deny, approve or rewrite a tool call before it runs.
Background tasks
Long commands and subagent runs go detached. A Tasks panel tracks them against the model's own estimate, and a finished one wakes the agent with its outcome.
Compaction
/compact plus automatic summarization at a context threshold. The recent turns stay verbatim and the full transcript stays on disk.
Long-term memory
An optional memory subagent runs in the background on every turn, recalls what the notes on disk hold and saves what you ask it to keep.
Where you run it
Desktop
coddy desktop on Linux, macOS and Windows. Chat tabs share sessions, settings and history with the other surfaces.
Web UI
Embedded SPA at / with the http,ui tags. Chat, History, plan documents, the Tasks panel, the scheduler, the documentation reader, the swarm map, live settings.
Console
Bare coddy on a terminal. Streaming transcript, tool boxes, permission modals, !! for a local shell the model never sees, coddy -c to resume, coddy -p for one-shot output.
Coddy for Browser
An extension for Chrome, Yandex Browser and Firefox. Its side panel is the web UI of your Coddy, any chat opens, reads and works in your tabs, and the extension asks you before each new website.
ACP
coddy acp over stdio. Sessions, modes, permissions, and streaming updates for Zed, Obsidian, VS Code, or your own script.
HTTP API
OpenAI-compatible gateway on coddy serve. POST /v1/responses, models, Swagger at /docs/.
Messenger gateway
Telegram bot adapter with per-user sessions, group isolation modes, admin ACL, and native rich messages. Extensible to other messengers.
Operate it
coddy serve
One process for every subsystem config.yaml enables. On Linux coddy serve install runs it as a systemd user service, elsewhere --daemon keeps it in the background, and an edited config reaches it without a restart.
Swarm
A relay lists and reaches many nodes, mounts their sessions into one list and routes across rings. Nodes that can only dial out, Android phones in Termux among them, join through a reverse tunnel.
Remote control
Point the console or coddy acp at a running server with --remote, or switch the web UI between local and remote from the composer.
Scheduler
Cron jobs with a UI drawer and agent tools, so recurring work runs without a session open.
Config check and dry run
coddy -t validates config.yaml against the embedded schema with file:line:col and a fix line. --dry-run probes paths, providers, models, ports, MCP servers and remotes before anything starts.
Docker and distroless
Published images on ghcr.io for amd64 and arm64, or drop the static binary into a scratch image with a read-only rootfs.
Sessions
Bundles on disk under $CODDY_HOME, resumed from any surface. Editing a sent message rewinds the conversation to it, and /export writes Markdown, HTML or JSON.
Project context and control
Rules
Reads one project folder, the first of .coddy/rules, .agents/rules, .cursor/rules, .claude/rules and .codex/rules that holds rules, plus your own ~/.coddy/rules. A nested AGENTS.md joins when the agent enters its folder.
Skills
Slash commands from SKILL.md packs. Five ship inside the binary, more install from registries with npx skills or from Settings → Skills.
MCP servers
Connect MCP servers over stdio, streamable HTTP and SSE, from config, mcp.json files or the editor. Their tool definitions merge into the agent and plan loops.
Three modes
agent runs the full toolset, plan writes plan documents only, ask is read-only research with web search.
Permissions and trust
Edits and commands ask before they run, and a grant can widen to a whole program. Project-local MCP servers, hooks and subagent files need an explicit approval first.
Self-configuration
The agent edits its own YAML through staged config_set commands. Nothing lands until a commit you approve, which validates and hot-reloads.
Models, tools and appearance
Any provider
OpenAI, Anthropic, Ollama, NeuralDeep, any OpenAI-compatible API, plus ChatGPT sign-in through the Codex backend and a Devin account. Your keys or accounts, your endpoints.
Reasoning levels
A composer dropdown picks the effort for reasoning models, mapped to OpenAI reasoning_effort or Anthropic thinking budgets.
Multimodal
Attach images and files in the composer when the model supports it. Assets are saved to the session directory and injected into the agent context.
Usage and limits
The quota behind the current model in the console footer and the web UI, for providers that publish one. A turn that hits a limit can wait for the reset and resume by itself.
SSH commands
ssh_run_command reaches remote hosts over pure-Go SSH, authenticating from your SSH agent or ~/.ssh keys.
Themes and language
Seven web UI themes and an English or Russian interface, switched in Settings → Appearance without touching the config.
How Coddy compares
Questions
What is Coddy Agent?
Coddy Agent is an open-source, general-purpose AI agent that ships as one static Go binary under the MIT license. It runs a ReAct loop with filesystem and shell tools, MCP servers, project rules, skills, subagents, hooks, background tasks, a cron scheduler, and long-term memory, and the same agent is available from the desktop app, a terminal, a browser, an editor over ACP, or Telegram, on one machine or across a swarm of them.
Which LLM providers and models does Coddy work with?
Any OpenAI-compatible API plus Anthropic: OpenAI, Anthropic, Ollama, llama.cpp, vLLM, NeuralDeep, or your own gateway, with your own keys and endpoints. ChatGPT sign-in works through the Codex backend, and a Devin account signs in through the browser. Models are declared in config.yaml and switched per session.
How do I install Coddy?
Linux and macOS: curl -fsSL https://coddy.dev/install.sh | bash. Windows: irm https://coddy.dev/install.ps1 | iex. The script downloads the latest release binary, puts it on your PATH, and creates ~/.coddy/config.yaml from the example. In Termux on Android the same script installs the Android build. On Linux you can instead install the .deb or .rpm published with every release (apt-get install ./coddy_X.Y.Z_linux_amd64.deb, dnf install ./coddy_X.Y.Z_linux_amd64.rpm), and on macOS the Homebrew cask from Coddy's own tap (brew install coddy-project/coddy-agent/coddy); both register Coddy with your package manager and add the man page and shell completions. Docker: docker run -d --name coddy -p 12345:12345 -e OPENAI_API_KEY -e CODDY_CONFIG=/home/user/.coddy/config.yaml -v "$PWD/workspace:/workspace" -v "$PWD/coddy_home:/home/user/.coddy" ghcr.io/coddy-project/coddy-agent:latest opens the web UI on localhost:12345, and the Docker tab of the install block also carries a docker-compose.yaml to copy; the multi-arch images (amd64, arm64) are published to the GitHub Container Registry, not Docker Hub. coddy update -y upgrades an existing install.
Can Coddy run on-premises with local models?
Yes. Point a model entry at a local OpenAI-compatible server such as Ollama, llama.cpp, or vLLM and no prompt leaves your network. The binary is static, so it also runs in distroless or from-scratch containers with a read-only root filesystem, one agent per task.
Which editors and clients can host Coddy?
coddy acp speaks the Agent Client Protocol over stdio, so Zed, Obsidian, VS Code, or your own script get sessions, modes, permissions, streaming updates, and skills as slash commands. coddy serve runs everything else in one process - the OpenAI-compatible REST API with the embedded web UI, the Telegram gateway, the swarm relay, the cron scheduler - and starts whichever of them config.yaml enables. They share one set of sessions, so a conversation started in a chat is live in the web UI and can be continued in either.
How do I run Coddy on more than one machine?
Run coddy serve on each machine and enable the swarm relay on one of them: it lists every node's sessions in one place, routes to nodes across rings, and pulls in machines that can only dial out through a reverse tunnel, an Android phone in Termux included. The console and coddy acp can also drive a single remote server with --remote, and the web UI switches to one from its composer. On Linux coddy serve install keeps a server running as a systemd user service, elsewhere coddy serve --daemon does, with status, stop and restart.
How is Coddy different from other coding agents?
It is provider-agnostic and self-hosted by design: one MIT-licensed binary with no runtime dependencies, your own keys or local models, and one set of sessions shared by the desktop app, terminal, web UI, editor, Telegram, and scheduler. It reads Cursor and Claude Code rules, skills and AGENTS.md from the repository, so it fits projects already set up for other agents. A side-by-side comparison with nineteen other harnesses is published at coddy.dev/compare/.