Dev ToolsRustCLI

agent-router

OpenAI-compatible proxy with heuristic model routing

Route LLM requests to the cheapest capable provider based on prompt complexity. Simple greetings go to Ollama (free), complex reasoning to Claude (best). Tracks costs per provider in SQLite.

Binary Size
4 MB
RAM Footprint
8 MB
Startup Latency
5ms
Estimated Stars
★ 0
Total Downloads
0
Multimedia UI Mockup
Sovereign Console Interface View

Sovereign Connection Flow

HTTP Proxy ➔ Prompt Classifier ➔ Priority Router ➔ Provider Forward ➔ Cost Tracker

Interactive Manual

Initialize config

Creates default config at ~/.config/agent-router/config.toml.

agent-router init

Standard CLI One-liner Install:

cargo install --git https://github.com/sovereign-shovels/agent-router

Frequently Asked Questions

Press Kit Briefing

One-sentence summary and details for newsletters, campaigns, and media.

Name: agent-router

Tagline: OpenAI-compatible proxy with heuristic model routing

Summary: An OpenAI-compatible proxy that routes LLM requests to the cheapest capable provider based on heuristic prompt complexity classification.

Source: https://github.com/sovereign-shovels/agent-router

License: Apache-2.0