Free and open source, MIT license
One chat in your terminal. ai decides who answers.
Brings Claude Code, Codex, Cursor, Antigravity, Grok, DeepSeek and OpenRouter together in one place. If a tool fails or runs out of quota, it moves on to the next one without you doing anything.
Install with one command
curl -fsSL https://raw.githubusercontent.com/samuelrms/omni-ai-cli/main/get.sh | bashRun it again and the same command updates. Your accounts, keys and models are not touched. Then just run: ai
Illustration of a session: someone asks for a fix, ai picks Claude, the account hits its limit and another one takes over. Meanwhile a second request enters the queue and later runs on another tool.
- Version on npm
- 1.24.13
- npm downloads, last month
- 4,308
- Open VSX downloads, all time
- 3,424
- Platforms
- macOS · Linux · Windows
- Languages
- pt-BR · en · es · fr
You type. ai picks the path.
- Simple questionGoes to the cheaper tools.
- Heavy taskGoes to Claude.
- Failed or hit the limitMoves on to the next one. Between Claude accounts, the switch is automatic.
In auto mode, a short line shows why the tool was chosen.
Seven tools, one conversation
- Claude Code
- Codex
- Cursor
- Antigravity
- Grok
- DeepSeek
- OpenRouter
Omni AI CLI is free, but it does not give access to the tools. Each one needs its own account or key.
OpenAI-compatible API
ai serve exposes the router as an API, directly or in Docker, with the same logins, keys, accounts and fallbacks as the CLI.
ai serveVisible queue
While an answer is being generated, the input box stays free. You keep sending requests, they go into a queue above the box and run in order.
Four languages
The interface speaks Portuguese, English, Spanish and French. To switch, use:
/lang pt|en|es|frIn VS Code and Cursor
The same chat experience in the sidebar and the editor tab, running on top of ai. On first run the extension installs the CLI if it is missing.
cursor --install-extension samuelrms.omni-ai-clicode --install-extension samuelrms.omni-ai-cliBefore you install
If Claude Code is not on the machine yet, installing Omni adds it through the official installer. Codex and Antigravity are optional.
On Windows the code uses native equivalents, but it has only been tested for real on macOS. The exception is running tools installed through npm, tested in CI on Windows.