Decorative animated background. All content remains available if the animation fails to load.
14 providers · auto-fallback · zero lock-in

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.

14Providers
10Free tiers
5Retry attempts
∞Uptime
chode — terminal
$
★ Probing 14 providers...
★ OmniRoute Best Free — score 93, 142ms
★ Routed to: OmniRoute Best Free
✓ Generated worker.js (864 bytes)
✓ Scaffolded wrangler.toml
Run: cd my-worker && npx wrangler dev

14 AI providers.
One command.

Auto-routes to the best available. 10 free tiers, local Ollama, and paid keys when you need them.

Groqfree tier
Cerebrasfree tier
Geminifree tier
Mistralfree tier
OpenRouterfree tier
NVIDIA NIMfree tier
Cloudflare AIfree tier
DeepSeekfree tier
Coherefree tier
Agnes AIfree tier
Ollamalocal
OVHcloudbootstrap
Claudepaid key
GPT-4o minipaid key
⚡

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.

node oldgreg.js ai "your prompt"

One-shot: routes to the best live provider and keeps going when one fails.

node oldgreg.js

Bare run: opens an interactive session and restores your checkpoint.

node oldgreg.js ai --force groq "prompt"

--force: pin one provider instead of auto-routing.

node oldgreg.js ai --resume

--resume: interrupts are forgiven — continue exactly where you stopped.

node oldgreg.js ai "fix @file worker.js"

@file: point the prompt at repo files to give it context.

node oldgreg.js project "launch plan"

project: breaks a spec into steps and works the queue. project --resume continues the same queue.

Discovery

See what is actually working right now.

node oldgreg.js status

Full health dashboard, one line per provider.

node oldgreg.js scan

Probe all 14 providers with per-provider result lines.

node oldgreg.js score

Live leaderboard, ranked by composite score.

node oldgreg.js heal

Force a full re-scan and clear tripped circuit breakers.

Security

Audits that redact secrets before they reach the report.

node oldgreg.js audit

Full audit — writes masked markdown reports.

node oldgreg.js audit --no-ai

Static-only audit: no AI calls, no data leaves the machine.

Keys

Free-tier keys in, validated before they are saved.

node oldgreg.js auth groq [key]

auth: validates the key, then saves it.

node oldgreg.js provision

provision: guided setup for every free-tier key.

node oldgreg.js quickkey deepseek

quickkey: signup link and instructions per provider.

node oldgreg.js models

models: list all 14 registered providers.

Scaffolding

Generate workers, skills, and a healthy toolchain.

node oldgreg.js new my-worker

new: scaffolds a production Cloudflare Worker.

node oldgreg.js new my-skill --skill

--skill: scaffolds a reusable HEMO skill pack.

node oldgreg.js deps

deps: checks tooling, installs what is missing.

Sessions & agents

History you can inspect, agents you can dispatch.

node oldgreg.js session list

session list / show / reset: inspect or wipe saved sessions.

node oldgreg.js agents run worker-1 "task"

agents add / run / list / status: dispatch work to local, SSH, or HTTP agents.

node oldgreg.js skills

skills: browse reusable skill packs for the agent workforce.

Ops

Run it like infrastructure, not a script.

node oldgreg.js monitor

Background health monitor with auto-heal.

node oldgreg.js costs

Cost report — free tiers track at $0.

node oldgreg.js metrics

Export system metrics as JSON.

node oldgreg.js queue

Inspect the pending request queue.

node oldgreg.js nosignups

No-signup AI tools and prompt engineering helpers.

node oldgreg.js update

Check for harness updates.

node oldgreg.js init

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.

node oldgreg.js node oldgreg.js ai "build me a worker"

From source

Clone and run directly. Good for contributing or development.

git clone https://github.com/fogennnnn/oldgreg.git cd oldgreg node oldgreg.js ai "hello"

Ready to build?

The best coding harness doesn't exist yet. Let's build it together.