Claude Code model router

StraviaPlatform

Local, self-hosted agent infrastructure — one endpoint for every AI client (Claude Code, Codex CLI, Gemini CLI, OpenCode). Unified model access, platform-run tools, request history, and usage.

Install

From source
git clone https://github.com/Stravia-AI/StraviaPlatform.git

From the README

Stravia

Local agent infrastructure — one endpoint for every AI client.
Unified model access, tools that run for you, and shared access control,
history, and usage — desktop app or single binary.

Releases · Changelog · 中文文档
Status: Stravia is pre-1.0 and under active development. Configuration and database compatibility may change before a stable release.

What is Stravia

Stravia is local, self-hostable agent infrastructure for developers who use AI coding clients or build agent-powered apps. Your clients keep the protocol they already speak — OpenAI, Anthropic, or Gemini — and simply point at Stravia. Stravia decides which upstream service should answer and translates between protocols when needed.

On top of model access, the platform runs tools itself: built-in web search and media understanding execute inside Stravia and hand results back to the model — through ordinary model requests or MCP, no client plugins required. Access control, request history, usage, and diagnostics all live in the same place.

Agent behavior is defined and versioned by the platform — Stravia is not a user-defined agent or visual workflow builder.

Why Stravia

- Drop-in endpoint for AI coding clients — point Claude Code, Codex CLI, Gemini CLI, or OpenCode at 127.0.0.1:23471 and keep working. Each client keeps its own protocol; Stravia handles translation, routing, and failover.
- Tools that run for you — built-in web search (local search uses an installed Chrome/Chromium browser; the container includes Chromium) and image understanding execute inside Stravia and hand results back to the model. Expose them over MCP or add them automatically to compatible requests.
- Keys, spend, and request history in one place — give each app its own key with model access and RPM limits, see the usage…
Read the full README on GitHub

Details

Language
Rust
License
AGPL-3.0
Last updated
23 November 2026
Topics
agentsai-gatewayanthropicapi-gatewayclaude-codegeminillmllm-gatewayllm-observabilityllmopsmcpmcp-gateway

FAQ

What is StraviaPlatform?

Local, self-hosted agent infrastructure — one endpoint for every AI client (Claude Code, Codex CLI, Gemini CLI, OpenCode). Unified model access, platform-run tools, request history, and usage. It is a model router for Claude Code, from Stravia-AI/StraviaPlatform on GitHub.

How do I install StraviaPlatform?

Clone Stravia-AI/StraviaPlatform from GitHub and follow the setup steps in its README.

Is StraviaPlatform popular?

Stravia-AI/StraviaPlatform has 39 GitHub stars and 11 forks. It was last updated on 23 November 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.