Repository navigation
TierDecay v0.1.0
TierDecay is a self-distilling model router for AI coding CLIs. Solve each problem class at the expensive model tier once; the orchestrator distills the decision (invariants, ordering, the trap) into a ≤15-line playbook entry; future occurrences of that class are probed one tier cheaper. Two probe passes drop the class's default tier permanently. The routing rubric is only a cold-start prior — a ledger of predicted-vs-executed tiers is the empirical posterior that overrides it in both directions.
No proxy. No daemon. No SDK. Just markdown and a protocol.
What's in 0.1.0
- Core spec (
core/SPEC.md) — tool-agnostic rubric + routing/decay protocol - Four adapters — Claude Code (native 4-agent pipeline), universal
AGENTS.md(Codex CLI · Cursor · OpenCode · Copilot · Zed), Gemini CLI, Aider - POSIX installer (
install.sh) + ledger/playbook templates - Full community-health set, CI (shellcheck + structure), and brand assets
Try it
git clone https://github.com/alebgl77/tierdecay && cd tierdecay
./install.sh <claude|agents|gemini|aider> # or: ./install.sh autoThe health metric is the executed column of your ledger drifting toward the cheap tier over time. That drift is the product. Post your real decay curve — not ours.
MIT licensed. Adapters wanted — see CONTRIBUTING.