What is omnilane?
omnilane routes each subtask from Claude Code, Codex, Grok Build, or Antigravity to the best-fit model across your existing subscriptions or supported APIs—through one local command, explicit permissions, and inspectable results, with no hosted service.
Quick start (3 steps)
Install and sign in to at least one supported vendor CLI (codex, claude, grok, or agy), with Python 3.9+ and npm available. Run this in a desktop terminal with access to your login (initialization probes your installed providers once and sends one read-only smoke test):
# 1. Install
npm i -g omnilane
# 2. Verify local CLI binary signatures and model bindings once (pass --vendor for each installed CLI)
omnilane resign --init --vendor claude
omnilane doctor
# 3. Run your first read-only dispatch
env OMNILANE_AA_OPERATOR_ASSERTED_HUMAN=1 \
omnilane route --mode advise --workdir "$PWD" triage "Summarize this project without changing files"
- AI assistants call
omnilane route automatically using their own caller identity (omnilane whoami); only pass --operator-asserted-human (or OMNILANE_AA_OPERATOR_ASSERTED_HUMAN=1) when you, a human, run commands manually in a terminal.
- You do not need every vendor installed: pass
--vendor once per installed CLI (if --init exits 20, check the trailing attention lines rather than assuming setup failed); unavailable candidates are skipped, subject to caller score ceilings and local verification.
How everyday CLI upgrades work
- Same signer / install source: When a vendor CLI updates (or omnilane's runner/probe engine changes),
omnilane resign (or omnilane resign --daily) re-pins the new binary under the approved source without sending any model requests. Verified rows keep dispatching and confirm from real dispatch output; only never-probed, expired, or changed rows cost probes (use omnilane resign --vendor VENDOR --full to force a full vendor re-check).
- Dispatch-time automatic re-pin (
0.65.0+): omnilane route / omnilane dispatch now performs the same 0-request in-place re-pin itself when it meets a stale vendor (cli-changed / runner-changed) under an already-approved signer and install source, prints one line to stderr and continues; any failed gate still refuses without touching the overlay. Disable with --no-auto-repin or OMNILANE_AUTO_REPIN=0.
- Changed signer or install source: omnilane pauses and requires human review in an interactive terminal (
omnilane doctor). Full details live in docs/UPGRADING.md and docs/transport-overlay.md.
Everyday use & lane quick reference
Run omnilane list to inspect your effective lanes. A lane is an ordered fallback chain of local verified candidates (not a guarantee that every model is installed or that a failed call retries elsewhere).
| Lane | Best for | Example mode |
|---|
triage | First look, risk scan, quick codebase orientation | --mode advise |
bulk-mechanical | Repetitive edits, boilerplate, test fixes | --mode work |
hardest-coding | Difficult implementation, deep debugging | --mode work |
hard-judgment | Architecture review, second opinion | --mode advise |
See the full Lanes table in the reference section below. When running these examples manually in a terminal instead of through an AI assistant, add --operator-asserted-human:
omnilane list
omnilane route --mode advise --workdir "$PWD" triage "Review the project and list the main risks"
omnilane route --mode work --workdir "$PWD" bulk-mechanical "Fix the documented typo in README.md"
omnilane route --background --single-shot --mode work --workdir "$PWD" bulk-mechanical "Run the tests and fix the failing cases"
omnilane jobs list && omnilane jobs wait JOB_ID --timeout 60 && omnilane jobs result JOB_ID
advise is read-only; work permits edits inside --workdir and restricts agent-tool network access while keeping model connectivity. Review output, changed files, and tests before accepting finished work.
When a request is refused or re-signing stops