Omi CLI
AI coding agents that work while you're away.
Working when we checked on .
What is Omi CLI?
Omi CLI is a terminal-based AI coding agent that reads a codebase, plans tasks, edits files with user-approved diffs, runs tests, and fixes failures until they pass. It targets developers who want an agent working directly inside their repository from the command line. It supports 13 models from DeepSeek, Google, OpenAI and Z.ai, with an Auto mode that picks a model per turn. It also offers subagents, background and cloud agents, Git-aware commits, /undo and /rewind, a --sandbox mode with no network, and local models via Ollama or user API keys.
Omi CLI pricing
Pricing model: Freemium
Free $0/mo; Pro $20/mo; Pro+ $60/mo; Max $200/mo
Omi CLI pros
- Approve every file edit as a diff before Omi writes it
- Switches between 13 models from DeepSeek, Google, OpenAI and Z.ai
- /test runs tests and fixes failures until they pass
- Background and cloud agents keep working with the laptop shut
- /undo and /rewind restore files and sessions, even without git
- --sandbox restricts writes to the project and blocks network
Omi CLI cons
- Usage limited by 5-hour and weekly caps that refill rather than unlimited access
- Free plan has limited AI usage and only 2 signed-in devices
- Requires npm installation and an omi login account
- Browser automation currently relies on real Chrome, so other browsers are not documented
Frequently asked questions about Omi CLI
What is Omi CLI?
Omi CLI is an AI coding agent that works inside a repository from the terminal. It reads code, plans, edits files with diffs the user approves, runs tests, and fixes failures until they pass.
How do I install Omi CLI?
Run npm install -g @builditomi/cli, then omi login to sign in with an 8-character device code, then run omi with a prompt. The site describes this as three commands taking about a minute.
Which AI models does Omi CLI support?
It offers 13 models from DeepSeek, Google, OpenAI and Z.ai, including DeepSeek V4.1 Flash, Gemini models, gpt-oss 120B and GLM 5.2. The /model command switches between them, and Auto picks one per turn.
Can Omi CLI run my tests and fix failures?
Yes. The /test command runs the test suite, fixes the code when tests fail, and runs them again until all tests pass. The /undo command can put changes back afterwards.
Does Omi CLI work in the background?
Yes. omi bg keeps a background agent working in its own worktree after the terminal is closed, and omi cloud runs cloud agents that open a pull request when done. omi bg stop ends a background agent.
How much control do I have over what the agent does?
Omi reads files and runs read-only commands freely, but asks before editing, writing or deleting files, running tests, installs, builds, fetching web pages, or using tools from MCP servers. Four approval modes exist including auto-edit, yolo and plan.
What does Omi CLI cost?
There is a Free plan at $0, Pro at $20/month, Pro+ at $60/month, and Max at $200/month. Each plan provides a set amount of AI use refilled every 5 hours and weekly, with no credits to count.
Can I use my own models or API keys?
Yes. Options like -m ollama:<model> and -m anthropic:<model> let users bring their own local models and keys. The site states these never touch Omi's servers or plan limits.
Who is Omi CLI for?
It is aimed at developers who want an AI agent working directly in their repositories from the terminal — fixing bugs, editing code, and handling tests and commits.
Is my code kept on Omi's servers?
The site says zero lines of user code are kept on its servers, that sessions stay local in ~/.omi, and the --sandbox flag blocks network access while restricting writes to the project.