The local-first Trust Control Plane for AI. Hydra discovers every model on your machine, CLI agents, API keys, local servers, and routes each task to the cheapest head that clears your target confidence.
Cloud gateways route your traffic through their servers. Eval tools score answers after the fact. Local runtimes each manage only their own models. Plot the field on two axes, hosted↔local and cost-routing↔trust, and one quadrant sits empty. That is where Hydra lives. Hover any star.
Routing isn't vibes. Hydra rides the cost/quality Pareto frontier, stops sampling the instant confidence clears the bar, and reads the code graph to know when a change is dangerous. Here is the actual math.
Single models are dots. For any one of them, Hydra's routed curve reaches equal or better quality at lower cost, it picks the best head per task.
Hydra polls heads until the sequential test (SPRT) crosses your target confidence, then it stops early and banks the unspent heads.
κ = ⟨k²⟩/⟨k⟩. A hub file with many transitive dependents is cascade-capable, so it demands more confidence. Hover a node.
Every access an agent makes is recorded in a local, hash-chained ledger. hyctl security reads that log and answers the one question you actually have, not a wall of metrics.
“4 denied, 2 flagged” and “injection → recon → escalation → an attempt on the audit trail” are the same rows read twice. Only the second one is an incident. Severity is OWASP Risk Rating (likelihood × impact), never a blended score.
hyctl security --why opens the whole programme underneath: a risk register on an SLA clock, crosswalked to OWASP LLM / NIST AI RMF / ISO 42001 / MITRE ATLAS / SOC 2 · OWASP LLM Top-10 coverage · a policy audit that finds rules which can never fire · PII exposure resolved against real heads, so a local model is not reported as a leak · control effectiveness, where a control that is configured but never applied reads as inert rather than as protection · head-binary integrity · edit blast radius.
Honest about its own limits. Framework mappings are marked curated assertions, not measurements. Defect cost is per-occurrence, not annualised. A file the dependency graph does not index is unknown, never “low-risk”. The attestation is unsigned, because Hydra has no key management and a signature without one is theatre.
The ledger records what an agent did. hyctl mcp registry scores whether the MCP server it was talking to was ever safe to trust in the first place, every existing MCP directory answers “does this exist”, none answer “is it safe to run with my credentials right now”, and star counts are actively misleading (the most-starred servers score worst on quality in independent research). audit resolves what's installed against the official registry and scores it; every trust state drops back to provisional on a version bump, the direct fix for a server that ships clean for months then turns malicious in one release.
No tokens-processed arms race. Each of these is something you can reproduce on your own machine with hyctl stats and hyctl probe.
hyctl stats.hyctl probe.Cost routing and fallback are table stakes, most tools have them. The differentiators are the rows nobody else can check: local-first, confidence/trust routing, and an on-device accountability ledger.
swipe to compare →
| Capability | Hydra | OpenRouter | LiteLLM | Portkey |
|---|---|---|---|---|
| Local-first discovery & routing | ✓ | — | — | — |
| Provider-neutral, routes away from expensive heads | ✓ | partial | partial | partial |
| Automatic fallback chains | ✓ | ✓ | ✓ | ✓ |
| Spend logging & cost reporting | ✓ | ✓ | ✓ | ✓ |
| Confidence / trust routing (calibrated + optimal-stopping) | ✓ | — | — | — |
| On-device accountability ledger (PII / local-only policy) | ✓ | — | — | — |
| MCP server trust scoring (not just an index) | ✓ | — | — | — |
| Runs fully offline (0 network to route) | ✓ | — | — | — |
Every row checked above ships today: hyctl dispatch --confidence, hyctl graph blast, hyctl mcp, hyctl mcp registry. The cockpit (hyctl tui) runs the work you type and renders real runs from the per-run event log, and the desktop app ships as a download for macOS, Windows and Linux on both x86-64 and ARM64 with every release, not yet code-signed, so macOS needs right-click → Open on first launch.
Everything above is the CLI. The same control plane has a desktop app that
opens on a chat: ask for work, and every reply says which model answered, at
which tier, and what it cost, beside a pane showing what the router knows.
Models, Activity, Usage and Audit sit behind it, over the logs
hyctl already writes. No account, no server, nothing leaves the
machine.
macOS · Linux · Windows, attached to every GitHub release with a SHA-256 checksum. Not yet code-signed, so macOS needs right-click → Open the first time, the install script clears that for you. ARM64 builds ship for both Windows and Linux (#263). Direct downloads.
One Go binary. No daemon, no account, no cloud.
Finds every head: CLI agents, API keys, local servers.
Classify → tier → cheapest head that clears confidence.
One cortex, many heads. Route each task to the cheapest head that clears your bar, on your own hardware, with your spend and policy staying home.