▲ 332 today3.5k starsPythonHN ×1
Self-hosted router lets you swap AI code agents via one API
What is harnessrouter?
HarnessRouter offers a single OpenAI-compatible endpoint that can call dozens of code-generation models such as Codex, Claude Code, Gemini, and more. It manages sessions, streaming, file handling, cancellations and structured error reporting on your own infrastructure.
Who it is for
If you’re building a coding assistant, you can test and switch between multiple back-ends without rewriting integration code, choosing the cheapest or fastest model for each task.