| What it is | Xiaomi's terminal AI coding agent, a fork of OpenCode with persistent memory, subagents and autonomous goal loops | The open source coding agent. | Self-improving coding and research agent built on a persistent Python REPL | Lightweight coding agent that runs in your terminal |
| Ways to run it | — | - OpenCode (installed, MIT): free; pay your model provider or use an existing plan
- OpenCode Go: Go $10 a month; Go Plus $40 a month; pay-as-you-go credits; Enterprise quoted
| — | - Codex CLI (installed, Apache-2.0): free; with an API key, pay per token
You arrange: a ChatGPT plan or an OpenAI API key - Codex in ChatGPT: included in ChatGPT plans: limited on Free and Go, more on Plus, expanded on Pro, and in Business and Enterprise
|
| Features | - Reads and writes code, runs commands and manages Git
- Persistent project memory across sessions
- Subagent orchestration and goal-driven autonomous loops
- Dynamic Workflows
- OpenCode's providers, TUI, LSP, MCP and plugins
- Connects to MiMo, ChatGPT via Codex login, Claude Code credentials or any OpenAI-compatible API
- Server mode for remote hosts
| - terminal UI that works in any shell, editor or remote server
- desktop app (beta) for macOS, Windows and Linux with sessions, tabs, diffs, a built-in browser and extensions
- mobile apps (TestFlight and Google Play) to start, steer and approve sessions
- build and plan agents switched with Tab, and a general subagent; custom agents
- parallel sessions on the same project
- 200+ LLM providers through Models.dev, custom providers and local discovery for Ollama, LM Studio and vLLM
- sign in with GitHub Copilot (GitHub.com or GitHub Enterprise) or a ChatGPT Plus or Pro plan
- AGENTS.md instructions (global, project and nested), with a CLAUDE.md fallback
- All 16 features
| - the model works through a persistent Python REPL, with tools and subagents as function calls
- /refine stores reviewable updates to its prompts, memories and skills
- background daemon sessions you can detach and reattach
- agents message and steer each other directly
- persistent goals, schedules, heartbeats and a bounded autonomous mode
- serves the Agent2Agent (A2A) 1.0 protocol
| - terminal CLI
- IDE extension (VS Code, Cursor, Windsurf)
- desktop app
- cloud tasks in ChatGPT
- sandboxed command execution
- sign in with ChatGPT or an API key
- standalone installers and GitHub release binaries
- codex resume and codex exec resume (--last, --all)
- All 13 features
|