Skip to content
DomaAIPublic

About

AI agents and bots that work on their own, on the plans you already pay for: Claude Code, Codex, Gemini CLI, any API or a local model. When one hits its limit, the next one finishes the turn.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Codo. Josh, Luna, Codo, Max and Mia, five live agent faces that blink and talk, over a lava lamp made of code. Your team of AI agents, on the plans you already pay for.

Build AI agents and bots that do the work for you, on Claude Code, Codex, Gemini CLI, any API or a local model.
They run on a schedule or on an event, write files, run commands, build pages and report back to you.
When one plan hits its limit, the same conversation keeps going on the next one.
Free and open source. If Codo saves your day, a ⭐ helps other developers find it.

Download for macOS Download for Windows Install on Linux

Website   |   Bots   |   See it work   |   Groups   |   Screenshots   |   Compare   |   FAQ   |   Changelog   |   Releases

GitHub stars CI License: Apache 2.0 Latest release Downloads Python 3.9+ macOS, Windows, Linux Discussions

English · 简体中文 · 日本語 · 한국어 · Español · Português (Brasil) · Français · Deutsch · Italiano · Türkçe · Українська · Polski

Codo is an open source terminal agent and desktop app for building AI agents and bots that work on their own, on the coding agents you already pay for. Claude Code on your Claude plan, Codex on your ChatGPT plan, Gemini CLI, Cursor CLI, GitHub Copilot CLI and 20 more, plus any API key or a local model. They share one conversation: when one plan runs out, the next brain finishes the same turn. They can also work together: compare answers, split the work in separate git copies, review each other and vote.

Bots and agents that work on their own

The Bots page in the Codo window: describe a job in your own words or take a ready bot
Describe the job in your own words or start from a ready bot. It gets a name, a face, a brain and a folder, and goes to work.

A bot in Codo is an agent that keeps working when you are not looking. It has its own conversation and memory, the full set of tools, and a way to reach you.

What a bot can do
Do real work Read, search and edit files, run commands, browse the web, use MCP servers and skills
Build things Ask for a page and it writes the HTML into its folder; the window opens it in the built-in preview
Run on a schedule Every few minutes, every day at a set time, or on chosen days, kept alive by codo host
Wake on an event A new file in a folder, a webhook with a key, new mail over IMAP, checks and reviews on a pull request
Report back Telegram, Discord, Slack, WhatsApp, Signal or e-mail, and a results inbox in the window
Stay under control A daily limit for background work per bot, quiet hours, and consent for commands that change things

Eight ready bots to start from:

Bot Job
Morning brief Calendar, mail that needs you and the weather, every morning (needs Google connected)
Inbox guard Writes only when a mail really needs you, with a reply draft ready (needs Google connected)
Site watch Checks your sites every 15 minutes and alarms when one is down or slow
Price hunter Watches prices and writes when they drop or the product is back in stock
Invoice collector Finds invoices in your mail, with a full list for the accountant at month end (needs Google connected)
News digest Five things that matter in your field, every morning
Downloads tidy Sorts the downloads folder whenever something new lands there, never deletes
Code reviewer Reviews changes in the open project before you ship

Bots can also be chained into a swarm, a pipeline where each bot's result is the next one's input and one answer comes back. The steps run in order in the swarm's folder: a bot that is allowed to change files without asking writes there, a bot that asks first only reads while in a swarm. Calendar and Gmail triggers, iMessage and system notifications are in the Mac app only.

codo ui            # the app window: Bots, ready bots, results inbox
codo host install  # keep bots running in the background under systemd or launchd
codo host status   # who is running, what it did, how much of the daily limit is used

See it work

One conversation, many brains

Recording: a task runs on Claude Code, Claude Code reaches its plan limit and Codex finishes the same turn
Claude Code hits its plan limit in the middle of a task. Codex picks up the same turn, with the whole history, files and plan.

GitHub stars
If Codo saves you a plan limit or two, a ⭐ helps other developers find it.

Agents that work together

Recording in the Codo Mac app: a ready Brainstorm team of Luna, Josh and Mia is created, gets one question, and the agents answer, react to each other and Mia hands Josh a trademark check that he runs on the web
Conversation. Pick a ready team, ask once. Agents answer as themselves, react to each other and hand off tasks: Mia asks Josh to check trademarks, Josh searches the web.

Recording: the group switches to Vote, four agents on Claude Code, Codex and Gemini each propose a headline, then vote, and the count picks Josh's proposal
Vote. Every agent proposes on its own brain, then they vote on each other's work and the count picks a winner.

Six ways for a group to work, picked per message from the composer:

Way What happens
Conversation A group chat: everyone answers as themselves, @name asks just one
Side by side and compare The same task for everyone, answers next to each other, the lead joins them into one
The lead splits the work The lead hands out parts by strength, they work at once, the lead puts it together
Cross review The lead writes, the others review, rounds stop when every reviewer approves
Vote Everyone proposes, everyone votes for the best of the others
Pipeline One after another, each result is the next one's input

Decks and spreadsheets, not just code

Recording in the Codo Mac app: Office gets a one line brief and Claude Code builds a six slide investor deck for a coffee roastery, with a chart, slide by slide
Presentation. One sentence in Office, and Claude Code builds a six slide investor deck with a chart. Edit it, present it or export to PPTX and PDF.

Recording in the Codo Mac app: Office builds a 2027 monthly budget for two cafes with income, costs, totals and profit as live formulas
Spreadsheet. A monthly budget for two cafes with real formulas, totals and a chart. Documents, posters, flyers and more work the same way.

A team that ships

Recording: an agent team gets its plan approved, works in parallel and opens a pull request
Approve the plan, watch agents build and review in parallel in their own git copies, then open the pull request.

Your agent, with a face

Recording: the agent creator, a new agent called Nova changes from a cube to a cloud to a kitten and its liquid colours mix live
Name it, pick a shape and mix its liquid. The face is alive while you shape it, then choose the brain it thinks with.

Get Codo

macOS 15 or newer, Apple Silicon and Intel. A native app, signed and notarized by Apple, that updates itself. Download Codo.dmg

Windows 10 and 11, 64 bit. Installs for your user without administrator rights; the Start menu gets Codo (the app) and Codo Terminal. Download CodoSetup-x64.exe, or in PowerShell:

irm https://github.com/DomaAI/Codo/releases/latest/download/install.ps1 | iex

Linux x64 and arm64, and macOS from the terminal:

curl -fsSL https://github.com/DomaAI/Codo/releases/latest/download/install.sh | bash
codo ui     # the app in its own window
codo        # the agent in your terminal

Homebrew (macOS, Linux) and Scoop (Windows):

brew tap DomaAI/codo https://github.com/DomaAI/Codo && brew install codo
scoop bucket add codo https://github.com/DomaAI/Codo; scoop install codo

Nix (Linux, macOS), straight from this repository:

nix run github:DomaAI/Codo            # try it
nix profile install github:DomaAI/Codo

The Nix package updates with Nix (nix profile upgrade), not by itself.

Debian, Ubuntu and Fedora, RHEL (x64 and arm64), a package that installs /usr/bin/codo:

# Debian, Ubuntu
curl -fsSLO https://github.com/DomaAI/Codo/releases/latest/download/codo_$(dpkg --print-architecture).deb && sudo apt install ./codo_$(dpkg --print-architecture).deb
# Fedora, RHEL
sudo dnf install https://github.com/DomaAI/Codo/releases/latest/download/codo.$(uname -m).rpm

Every release has the packages with the version in the name (codo_<version>_amd64.deb, codo-<version>-1.x86_64.rpm) and the same files under stable names (codo_amd64.deb, codo_arm64.deb, codo.x86_64.rpm, codo.aarch64.rpm) for the links above. Run the same line again to update.

Step by step help for every system (in Polish): domaai.pl/pobierz-codo

Works with

Coding agents on your own plans, driven through their official command line tools (ACP where available): Claude Code, Codex, Gemini CLI, Grok, GitHub Copilot CLI, Cursor CLI, OpenCode, Qwen Code, Kimi Code, Mistral Vibe, goose, Cline, Kilo, Kiro CLI, Devin CLI, Factory Droid, Auggie, OpenHands, Qoder CLI, CodeBuddy Code, Blackbox CLI, Docker Agent, fast-agent, Stakpak, Code Assistant and any other ACP agent. codo agents lists the ones found on your computer.

APIs and local models: OpenAI, Anthropic, xAI, Google, Mistral, DeepSeek, Groq, OpenRouter, MaddLabs, Ollama, LM Studio, vLLM, llama.cpp server and any OpenAI compatible /v1 endpoint.

Where agents answer you: the terminal, the app window, the DomaAI phone app, Telegram, Discord, Slack, WhatsApp, Signal and e-mail.

Already using Claude Code or Codex? Nothing to migrate. Codo runs them as they are, with their own sign in, settings and CLAUDE.md or AGENTS.md, and adds Codo.md for memory shared by every brain.

Use the plans you already pay for

No new subscription. Codo drives Claude Code on your Claude plan, Codex on your ChatGPT plan, Gemini CLI, any API key or a local model, all from one conversation. When one plan hits its limit, the same turn moves on to the next brain with the whole history, files and plan.

Claude Code and Codex hit their plan limits, your API key answers the turn, a local model is next in line

Why Codo

  • Bots that work while you sleep. Describe a job, pick a brain, and the bot runs on a schedule or on an event, does the work with real tools and writes to you on Telegram, Discord, Slack or e-mail.
  • Never stuck on a plan limit. Claude Code ran out? The turn moves to Codex, Gemini, your API key or a local model, with the whole conversation, and the limited agent rests for an hour.
  • Bring your own everything. OpenAI, Anthropic, xAI, Google, Mistral, DeepSeek, Groq, OpenRouter, Ollama, LM Studio or any /v1 URL. Several accounts at once, pick a model per turn with /model.
  • Agents with a face. Luna splits the work, Josh researches, Max builds, Mia reviews. Each one keeps its own conversation, memory and brain, and they answer you on Telegram, Discord, Slack or e-mail.
  • Agent teams. codo team run "goal": a lead splits the work, each member gets its own git copy, reviewers check it, you approve the plan and the merge, and apply --pr opens a pull request.
  • Agent groups across providers. codo group: Claude, Codex and Gemini side by side, in parallel with a synthesis, split work, cross review, voting, a pipeline, or a group chat.
  • Marathon mode. codo work "goal" --hours 8 --bg plans, works in episodes with a fresh context, keeps a log, retries network errors and stops at hard budget and time limits.
  • Always-on agents on a server. codo host keeps agents running under systemd or launchd and answers on Telegram, Discord, Slack, WhatsApp, Signal and e-mail. Agents write to each other and hand tasks over, on your computer and on the server together.
  • MCP both ways. codo mcp exposes Codo tools (browser, team, mail) to Claude Code and Codex.
  • Skills that the agent writes itself, plus skills from GitHub (codo skills).
  • Files in the conversation. Attach files, folders or a screenshot, type @ for any project file, and every path in an answer opens a preview: code, Markdown, HTML, images, PDF, video.
  • Review every change. The Changes panel shows what the agent did, side by side or unified. Accept or reject a hunk, a file or everything, leave a note on a line, commit and open a pull request.
  • Word, Excel and PowerPoint, edited in place. The agent changes text, tables, cells, formulas and slides without losing formatting, with a diff before saving and /undo after.
  • Reviews and pull request checks. Ask for a review and get a card with findings and "Fix this". Codo follows the checks on your pull request, sends failed logs to the agent and merges when all pass.
  • Undo for every edit. Each file change is backed up; /undo reverts it, /diff shows it.
  • Phone control. With the DomaAI app (iOS, Android), /rc lets you follow the session and answer its questions from your phone. Commands that change things still ask for consent.
  • A single Python file. No dependencies beyond Python 3.9+, and the installer brings Python along when the computer has none.

Screenshots

Windows and Linux (codo ui, the app in its own window)

Sign in to Codo with your email, Google or Apple Agent creator: shape, liquid colours and eyes of a live agent face
Sign in once, the same account as the Mac app Create your agent, its face changes live
Attached files as cards, file links in the answer and the @ file list Changes panel: changed files and a side by side diff with accept and reject
Files in the conversation: cards, links, @ The Changes panel: accept or reject every hunk
Review card with important and minor findings and Fix this buttons Pull request panel with failing checks, Fix now and merge when every check passes
A review you can apply with one click Pull request checks, fixed and merged for you
Codo on Windows and Linux: start screen with persistent agents Model picker: Claude Code, Codex and Grok on this computer, backup brain
Your agents and one place to start Pick a brain, set a backup brain for plan limits
New group: ready teams, your agents and six ways of working Bots: describe a job in your own words or take a ready one
Groups: a ready team or your own pick Bots that work on their own and write to you

macOS (native app)

The Codo island at the notch: an approval with Allow, Always and Don't allow, a conversation at work with its timer and stop button, a finished report and the Ask Codo field
The Codo island at the notch. Point at the notch to see what your agents are doing, approve with one click, read finished answers and ask a quick question without opening the window. ⌃⌥C opens it from any app.

Workflows: plan, build, review, every step an agent Hand over work to an agent or a swarm
Workflows: every step is an agent Hand over work, the result comes back
Model picker on Mac: one agent, team or compare Codo for Mac in dark appearance
One agent, a team, or compare models Light and dark, in 18 languages

How Codo compares

One coding agent on its own With Codo
Plan limit reached You wait until it resets The same conversation continues on your next plan, key or local model
Models One provider Claude Code, Codex, Gemini CLI, 20+ ACP agents, any /v1 API, local models
Several agents at once Separate terminals, copy and paste between them Teams in separate git copies, groups with review and voting, rooms and agent mail
Long work Stops when you close the terminal Marathon mode for hours, always-on agents on a server
Where it answers The terminal Terminal, app window, phone, Telegram, Discord, Slack, WhatsApp, Signal, e-mail
Reviewing changes Read the diff in the terminal A Changes panel: accept or reject each hunk, notes on lines go back to the agent
Office documents Plain text files Word, Excel, PowerPoint and ODF edited in place, formatting kept
Pull requests You watch the checks yourself Codo follows the checks, sends failed logs to the agent and merges when all pass
Undo Depends on the tool A backup of every edit, /undo and /diff
Cost Another subscription Free and open source (Apache 2.0), uses the plans you already have

On every system

macOS Windows Linux
Terminal agent (codo) ✓ ✓ ✓
App window with agents, bots, workflows, groups, Office, settings native app codo ui codo ui
Teams, groups, marathon mode, MCP, skills ✓ ✓ ✓
Always-on agents and messengers (codo host) ✓ ✓ ✓
Model picker with backup brain, team runs in the window ✓ ✓ ✓
Compare models side by side, rooms with your agents ✓ ✓ ✓
Files in the conversation, Changes panel, review card, pull request checks ✓ ✓ ✓
Edit Word, Excel, PowerPoint and ODF in place ✓ ✓ ✓
Tested in CI on every push (on Windows also the window, NTFS paths and Edge) ✓ ✓ ✓
iMessage, Gmail and Calendar triggers, system notifications ✓
Island at the notch: agents at work, approvals, a quick question (⌃⌥C) ✓
18 languages, light and dark ✓ ✓ ✓

How it works

 you ── codo (terminal, browser window or the Mac app)
          │
          ├─ brain: MaddLabs, DomaAI, your API keys, a local model,
          │         or Claude Code / Codex / Gemini CLI / ACP agents on this computer
          │         (on a plan limit or provider error the turn moves to the next one)
          │
          ├─ tools: read, search, edit files, run commands, browser, web, MCP servers,
          │         skills, sub agents, teams
          │
          └─ safety: trusted folders, read / ask / auto modes, a backup of every edit,
                     hard budget and time limits for long work
  1. You start Codo in a folder. It asks once whether you trust the folder, reads Codo.md (the project memory) and picks the model you chose with codo login or /model.
  2. The agent works in a loop. It plans, reads and searches files (up to 8 of those in parallel), edits them and runs commands. Every step is shown live, and edits and commands ask for your consent in the default ask mode.
  3. Every change can be undone. Each edit is written atomically with a backup in .doma/backups; /diff shows what changed and /undo reverts it.
  4. Context stays small. Old tool arguments shrink first, huge outputs are clipped in the middle, and /compact summarizes a long conversation. When a model stops at its output limit Codo continues the answer by itself.
  5. It does not get stuck. Rate limits and server errors are retried with the provider's Retry-After. When a plan runs out, the same conversation continues on the next brain.
  6. Bigger work scales out. codo work runs for hours in episodes with fresh context and a log, codo team splits a goal between agents that each work in their own git copy, and codo host keeps agents running on a server where they answer messages and hand tasks to each other.

Everything in one place

Area What Codo does Command
Conversation Interactive session, one shot task, resume, print mode for scripts with JSON output codo, codo "task", codo -c, codo resume, codo -p --json
Files and changes Attach files and folders, @ for project files, previews, a Changes panel with hunk accept and reject, review cards, pull request checks codo ui, /diff, /undo
Office documents Edit Word, Excel, PowerPoint and ODF in place: text, tables, cells, formulas, slides and notes ask the agent
App window The full Codo app on Windows and Linux, the same as on Mac: code, model picker with compare, agent teams, groups and rooms, Office, bots and swarms, workflows, delegate, persistent agents and settings, in 18 languages (--tab for a browser tab) codo ui
Long work Works alone for hours or days with a plan, log, queue of goals and hard limits codo work, codo work add, codo work status
Teams A lead splits a goal, members work in separate git copies, reviewers check, you approve the plan and the merge, a pull request at the end codo team run, codo team apply --pr
Groups of agents Claude, Codex and Gemini in parallel with a synthesis, split work, cross review, voting, a pipeline or a group chat codo group
Always on Agents under systemd or launchd that answer on Telegram, Discord, Slack, WhatsApp, Signal and e-mail, write to each other and pass on tasks with files codo host
Models OpenAI, Anthropic, xAI, Google, Mistral, DeepSeek, Groq, OpenRouter, Ollama, LM Studio, any /v1 URL, several accounts at once codo login, codo accounts, /model
Agents you already pay for Claude Code, Codex, Gemini CLI and ACP agents as brains, with automatic fallback codo agents, codo login agent
MCP Use MCP servers in Codo, and expose Codo's browser, team and mail tools to other agents codo mcp
Skills Skills the agent writes for itself, per project or global, and skills from GitHub codo skills, /skill
Project memory Codo.md read at every start, /init writes one /init
Your commands Markdown files become slash commands .codo/commands/NAME.md
Phone Follow the session and answer its questions from the DomaAI app codo serve, codo pair, /rc
Updates Updates itself once a day in the background from the latest GitHub release (SHA-256 checked, bymadd.pl as fallback), or right now on demand codo update, codo update --auto off
Maintenance Diagnosis of connection, account, PATH and autostart codo doctor, codo status

In the interactive session

Command What it does
/model, /effort Switch the model or how hard it thinks (low, medium, high, xhigh, max)
/plan Plan first, then work
/diff, /undo, /files Show changes, revert the last edit, list touched files
/compact, /clear Summarize or clear the conversation
/todos, /cost, /status Task list, spending, account and folder
/work, /zespol, /konta, /agenci Marathon, team, accounts and agents without leaving the session
/resume, /skills, /commands, /help Older conversations, skills, your commands, help
@path Attach a file or folder (Tab completes)
!command Run a shell command right away
Shift+Tab Switch between read, ask and auto

Install

Linux and macOS

curl -fsSL https://github.com/DomaAI/Codo/releases/latest/download/install.sh | bash

Windows

Download CodoSetup-x64.exe and run it. It installs for your user without administrator rights into %LOCALAPPDATA%\Programs\Codo, adds codo to PATH and has a normal uninstaller. The Start menu gets Codo, the app in its own window, and Codo Terminal, the agent in a terminal. Windows 10 and 11, 64 bit.

Or from PowerShell, without downloading an .exe:

irm https://github.com/DomaAI/Codo/releases/latest/download/install.ps1 | iex

Windows 11 Smart App Control and some browsers block programs from publishers they do not know yet. Code signing for the Windows files is on its way. Until then the PowerShell command above works everywhere. After it, codo ui opens the Codo window.

The installer downloads codo from the latest release, checks its SHA-256 sum against SHA256SUMS and puts it in ~/.local/bin (Windows: %LOCALAPPDATA%\Codo\bin). You can also download codo from Releases and run it with python3 codo.

What the installer adds when it is missing. It never asks for a password and never needs administrator rights.

Linux and macOS Windows
Python 3.9+ (required) system package manager when you are root or have passwordless sudo (apt, dnf, pacman, zypper, apk) or Homebrew; otherwise a private copy through uv in ~/.local/share/codo winget for the current user; otherwise the signed installer from python.org
TLS certificates (required) ca-certificates, or certifi Windows certificate store
git, ripgrep (recommended) installed when a package manager is usable winget
PATH the file of your shell (zsh, bash, fish), created if needed user PATH, visible in new windows right away

Set CODO_NO_DEPS=1 to install nothing but Codo itself; the installer then only tells you what is missing. codo doctor shows the state of every dependency and the command that adds it.

Single files, no Python needed

Every release also has ready to run files: CodoSetup-x64.exe (installer), codo-windows-x64.exe, codo-linux-x64, codo-linux-arm64, codo-macos-arm64 (Apple Silicon) and codo-macos-x64 (Intel). Download one from Releases, make it executable on macOS and Linux (chmod +x) and run it. The Mac app (Apple Silicon and Intel) is on domaai.pl/pobierz-codo.

Docker

The image ghcr.io/domaai/codo (linux/amd64 and linux/arm64) runs codo host, the always-on agents and messengers, as a non-root user. Settings and logins live in a volume:

docker run -d --name codo --restart unless-stopped \
  -v codo-config:/home/codo/.config/doma ghcr.io/domaai/codo
docker exec -it codo codo login      # once
docker exec -it codo codo host status
# the agent in the current folder (it runs as uid 1000 inside the container)
docker run --rm -it --entrypoint codo -v codo-config:/home/codo/.config/doma -v "$PWD:/work" ghcr.io/domaai/codo

Tags are the release version (for example 0.32.8) and latest. Automatic updates are off in the container: update by pulling a new image.

Codo for Mac

A native window on top of the same engine, for Apple Silicon and Intel, macOS 15 or newer, signed and notarized by Apple and updating itself: download Codo.dmg.

  • Agents with a face. Create an agent in one sentence, give it a name, a shape and a character, and see the whole crew working at once.
  • Rooms. Shared threads where several agents and you work on one task together.
  • Bots and automations. Describe a bot in your own words or start from ready ones; they run on a schedule, on a webhook or on an e-mail, and report on Telegram, Discord, iMessage or a notification.
  • Agent mail. Agents write to each other and hand over tasks with files, on your Mac and on a server together.
  • Terminal, browser and files in the window. The agent's browser keeps its sign ins, drag and drop files into the conversation, preview pages and documents.
  • Office documents. Presentations, documents, spreadsheets and posters, exported to PPTX, DOCX, XLSX and PDF.
  • Gmail, Calendar and Drive, and more than 40 connections to other services.
  • 18 languages, from English and Polish to Japanese, Korean and Chinese, with the agent answering in your language. Light and dark appearance.

Quick start

codo login        # choose how Codo talks to a model
cd your-project
codo              # interactive session in this folder

On the first start Codo asks you to trust the folder and shows the sign in options:

  1. MaddLabs account, free credits to start (see below)
  2. Your own API key or a local model (Ollama, LM Studio)
  3. Agents on this computer: Claude Code, Codex or Gemini CLI on your existing plan
  4. DomaAI account, which adds phone control and the DomaAI agent

More ways to run it:

codo "add a dark theme to the settings page"     # one task and done
cat error.log | codo -p "explain this"          # print mode for scripts, add --json for JSON
codo -c                                          # resume the last conversation in this folder
codo work "migrate the API to v2" --hours 8      # marathon with a time limit
codo work status | codo work log -f | codo work stop

Cheat sheet

codo                      # interactive session in this folder
codo "task"               # one task and done
codo -c                   # resume the last conversation here
codo -p "task" --json     # print mode for scripts and CI
codo ui                   # the app window
codo agents               # coding agents found on this computer
codo model                # every model you can use right now
codo team run "goal"      # an agent team in separate git copies
codo work "goal" --bg     # marathon in the background, with budget and time limits
codo host                 # always-on agents and messengers on a server
codo mcp                  # Codo tools for Claude Code and Codex over MCP
codo doctor [--json]      # diagnose connection, account, PATH (--json for scripts and CI)
codo update               # update to the latest version
codo completion zsh       # Tab completion script for bash, zsh, fish, powershell or nu

In a session: /model /effort /plan /undo /diff /compact /resume /init /skills /cost /agents /rc /help, @path attaches a file, !command runs a command, Shift+Tab switches read, ask and auto.

Tab completion also offers real names: codo model <Tab> lists your models and agents, codo skills off <Tab> your skills, read from local settings without the network. In PowerShell add it to your profile with codo completion powershell >> $PROFILE, in Nushell with codo completion nu | save -f ($nu.data-dir | path join "vendor/autoload/codo.nu").

Free credits

Signing in with MaddLabs (codo login maddlabs) gives a new account a one-time pack of 2 million free tokens on Qwen3.8 27B, hosted in the EU, and doubles the first top up. Terms: maddlabs.co/legal/trial. After the trial you pay per token from a prepaid balance at maddlabs.co, or switch to your own key at any time.

Connecting models

codo login openai                  # also: anthropic, xai, google, mistral, deepseek, groq, openrouter
codo login ollama                  # local models, no key
codo login endpoint http://localhost:8000/v1
codo accounts                      # list, add, remove, use
codo agents                        # Claude Code, Codex and Gemini CLI found on this computer
codo model                         # every model you can use right now

Models from your own accounts are written as @account/model, agents as agent:claude, agent:codex and agent:gemini.

Security

Codo edits files and runs commands in the folder you trust. Before the first session in a folder it asks for consent and shows what is inside (git, number of files, Codo.md). Your home directory is never remembered as trusted.

Three modes, switched with Shift+Tab:

Mode What the agent may do without asking
read Read and search files only. Agents run in plan or read only mode.
ask (default) Read freely. Edits, shell commands and installs ask for consent.
auto Edit and run commands without asking. Agents get workspace write access.

--yes gives consent in advance for one run. Tasks that arrive from the phone run in ask mode by default, and slash commands or !command cannot be sent from the phone.

API keys are stored in ~/.config/doma/konta.json with 0600 permissions. Plain http endpoints are accepted only for localhost and the local network.

Found a security problem? See SECURITY.md.

Configuration

Where What
Codo.md in the project Project memory, read at the start of every session (/init writes one)
.codo/commands/NAME.md Your own slash commands for the project (~/.config/doma/commands/ for all projects)
~/.config/doma/settings.json Model, effort, language, trusted folders, marathon limits
~/.config/doma/konta.json Connected API accounts
CODO_LANG=en or /lang pl Terminal interface language (English and Polish; the app window speaks 18 languages). Other codes such as de, fr, ja keep the English terminal and make the agent answer in that language
/effort or --effort How hard the agent thinks: low, medium, high, xhigh, max

The configuration folder is called doma for compatibility with earlier versions. Settings you can pass without files, for scripts, Docker and CI, are listed under Environment variables.

Environment variables

Set these before starting Codo. Flags such as CODO_NO_AUTO_UPDATE are on for any non-empty value, 0 included, so use 1 and unset the variable to turn the flag off. NO_COLOR takes effect even when set to an empty value.

Language and configuration

Variable What it does
CODO_LANG Overrides the terminal language with en or pl. Supported codes such as de and pt-BR keep the terminal in English and set the agent's default reply language. If unset, Codo uses the saved preference or its system locale and existing-installation defaults.
DOMA_CONFIG_DIR Sets the folder for settings, credentials and other local data. Defaults to ~/.config/doma on Linux and macOS, and %APPDATA%\DomaAI on Windows (the home directory replaces %APPDATA% if it is unset).
DOMA_API_URL Sets the Codo backend URL (default https://bymadd.pl). A custom backend also becomes the only update source.

Terminal output

Variable What it does
NO_COLOR Disables ANSI colors and the startup logo animation. It takes precedence over FORCE_COLOR.
FORCE_COLOR Keeps colors on when output is not a terminal, for example in CI logs or less -R. Any non-empty value other than 0 turns it on (force-color.org).
DOMA_PLAIN Disables the interactive live terminal display. Use NO_COLOR separately to turn off colors.
DOMA_REDUCE_MOTION Shows the startup logo without its reveal animation.

Updates

Variable What it does
CODO_NO_AUTO_UPDATE Disables background updates and self-installation from the Windows and Linux app settings. You can still run codo update manually. Background updates are also off when CI is set.
CODO_UPDATE_FROM Set to server (case-insensitive) to use only the configured Codo server for updates. When a GitHub release URL is configured and the default API is in use, Codo tries GitHub first and falls back to the server.

Sessions and network

Variable What it does
DOMA_NO_SYNC Stops sending the session to your DomaAI account, so it does not appear in the web and mobile apps and cannot be controlled with /rc. Same as "sync_sessions": false in settings.json.
CODO_NO_HISTORY Skips saving conversations through the app session's history writer.
CODO_NO_STREAM Disables streaming for app requests with tools sent through the OpenAI-compatible chat completions API.
CODO_OFFLINE Forces an offline result when the connectivity check refreshes. Other network requests can still occur.
SSL_CERT_FILE Points Python's TLS certificate lookup to a PEM CA bundle. Certificate verification remains enabled.

Logging in without prompts (scripts, Docker, servers)

Variable What it does
OPENAI_API_KEY, ANTHROPIC_API_KEY, XAI_API_KEY, GEMINI_API_KEY, MISTRAL_API_KEY, DEEPSEEK_API_KEY, GROQ_API_KEY, OPENROUTER_API_KEY Read by codo login <provider> for that provider, so it does not ask for the key.
CODO_ENDPOINT_KEY API key for codo login, used for any provider and before the provider's own variable.
CODO_ENDPOINT_URL Provider or base URL for codo login when none is given on the command line, for example ollama or https://server/v1.
CODO_ENDPOINT_MODEL Default model saved by codo login, instead of the first model the server lists.
CODO_EMAIL_PASSWORD Mailbox password for codo host email, instead of reading it from standard input.
CODO_HOOK_PORT Port of the local webhook server used by codo host triggers (default 8789, or port in host/webhook.json).

Development

Codo is one file, codo. Tests run without network access or model providers:

python3 -m py_compile codo
CODO_LANG=pl CODO_FILE=$PWD/codo python3 -m unittest discover -s tests

See CONTRIBUTING.md. The interface speaks English and Polish (CODO_LANG). Some code comments are in Polish; English translations are welcome as pull requests.

FAQ

What happens when Claude Code says "usage limit reached"? Codo notices the limit message, rests that agent for an hour and continues the same turn on the next brain in your order: Codex, Gemini CLI, an API key or a local model. The next brain gets the whole conversation, the files you attached and the plan, so you do not start over.

Do I need a new subscription or an API key? No. Codo drives the official Claude Code, Codex and Gemini CLI tools on the plans you already have. API keys and local models are optional extra brains.

Does Codo proxy my Claude or ChatGPT account? No. Each agent runs as its own command line tool on your computer, signed in the way you signed it in. Their sign in stays with each tool, and your requests go straight from that tool to its provider.

Can it run fully local? Yes. codo login ollama or codo login endpoint http://localhost:8000/v1 (vLLM, llama.cpp server, LM Studio), and nothing leaves your machine.

How is Codo different from running Claude Code and Codex in two terminals? One conversation instead of two, automatic hand over on limits, and real teamwork: agents compare answers, split work in separate git copies, review each other and vote.

Is it safe to let it edit files? It works only in folders you trust, asks before edits and commands in the default ask mode, backs up every change (/undo) and shows every diff in the Changes panel. See Security.

Community

Thanks to everyone who has contributed:

Contributors to DomaAI/Codo Star history of DomaAI/Codo

License

Apache License 2.0, see LICENSE and NOTICE. Codo is made by MADD in Poland. Claude Code, Codex and Gemini CLI are products of their respective owners and are used through their own command line tools and your own plans.

About

AI agents and bots that work on their own, on the plans you already pay for: Claude Code, Codex, Gemini CLI, any API or a local model. When one hits its limit, the next one finishes the turn.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages