The coding
harness that
never stops
When one AI provider dies, chode is already gone. 14 endpoints. Exponential backoff. Checkpoint recovery. Your session keeps moving.
14 AI providers.
One command.
Auto-routes to the best available. 10 free tiers, local Ollama, and paid keys when you need them.
Never stops
5 retries with exponential backoff. When one provider rate-limits, chode switches to the next — silently. Your session continues as if nothing happened.
Live intelligence
30-second health scans across all providers. Composite scoring weights quality, reliability, speed, and recency. The leaderboard updates continuously.
Checkpoint recovery
Crash your terminal? Run chode with --resume and pick up exactly where you left off. Full message history preserved.
Scaffold anything
One command creates production Cloudflare Workers with secz6 glass layout, boundaries-bg animation, and self-healing AI routing built in.
OmniRoute gateway
136 models through one endpoint. Kiro, Qoder, LongCat, and more — no individual API keys. Just run omniroute and go.
Zero lock-in
MIT licensed. Works offline with Ollama. No vendor lock-in, no required accounts. Free tiers are the default.
Everything it does
The full command reference. Every line below runs from the cloned repo with Node 18+.
AI
One-shot answers, interactive sessions, and multi-step projects.
One-shot: routes to the best live provider and keeps going when one fails.
Bare run: opens an interactive session and restores your checkpoint.
--force: pin one provider instead of auto-routing.
--resume: interrupts are forgiven — continue exactly where you stopped.
@file: point the prompt at repo files to give it context.
project: breaks a spec into steps and works the queue. project --resume continues the same queue.
Discovery
See what is actually working right now.
Full health dashboard, one line per provider.
Probe all 14 providers with per-provider result lines.
Live leaderboard, ranked by composite score.
Force a full re-scan and clear tripped circuit breakers.
Security
Audits that redact secrets before they reach the report.
Full audit — writes masked markdown reports.
Static-only audit: no AI calls, no data leaves the machine.
Keys
Free-tier keys in, validated before they are saved.
auth: validates the key, then saves it.
provision: guided setup for every free-tier key.
quickkey: signup link and instructions per provider.
models: list all 14 registered providers.
Scaffolding
Generate workers, skills, and a healthy toolchain.
new: scaffolds a production Cloudflare Worker.
--skill: scaffolds a reusable HEMO skill pack.
deps: checks tooling, installs what is missing.
Sessions & agents
History you can inspect, agents you can dispatch.
session list / show / reset: inspect or wipe saved sessions.
agents add / run / list / status: dispatch work to local, SSH, or HTTP agents.
skills: browse reusable skill packs for the agent workforce.
Ops
Run it like infrastructure, not a script.
Background health monitor with auto-heal.
Cost report — free tiers track at $0.
Export system metrics as JSON.
Inspect the pending request queue.
No-signup AI tools and prompt engineering helpers.
Check for harness updates.
init: one-time setup. Setup-gated — run this first.
How it never stops
The request pipeline, stage by stage. 14 on the roster: 10 free-tier keyed, Ollama local, OVHcloud bootstrap, Anthropic + OpenAI paid.
1 · Prompt in
ai loads your session and checkpoint, then routes the prompt. Never bare, never cold.
2 · Leaderboard scoring
Every provider scored live: quality 35, reliability 30, latency 20, recency 15.
3 · Parallel batches ×3
The top providers race three at a time. First good answer wins.
4 · Per-provider failover
401 skips instantly, 429 gets one retry — then chode is already on the next provider.
5 · Circuit breaker
3 consecutive fails opens the circuit. Idle providers auto-heal back in.
6 · Keyless bootstrap
Zero keys? OVHcloud 70B answers in under a second — no signup, no key.
7 · Checkpoint + session
Every result persisted. Resume continues the same queue — crashes cost nothing.
8 · Cost footer
Tokens and spend tracked per provider. Free tiers stay at $0.
State layer
All state is plain JSON under .oldgreg, plus an append-only usage log. Restart-proof by design.
One file, zero deps
oldgreg.js, about 2400 lines, Node 18+. No packages to install, nothing to break.
Get started in 30 seconds
No accounts. No config. Just code.
Prefer npm? A fixed global package returns with 1.0.4.
Start coding
Run from the cloned repo — bare for interactive mode, or pass a prompt directly.
From source
Clone and run directly. Good for contributing or development.
Ready to build?
The best coding harness doesn't exist yet. Let's build it together.