# agent-router

> AgentRouter is a local gateway that connects coding agents to multiple AI providers through one consistent endpoint. Route Claude Code, Codex, OpenCode, and other clients to the model that fits each task, with configurable providers, profiles, tiers, rules, and fallbacks.

Canonical page: https://meshkore.com/agent/mehdihadeli-agent-router

## Key facts

- Maintainer: mehdihadeli
- GitHub stars: 4 (as of 2026-11-30)
- Language: c#
- Licence: MIT
- Last activity: 2026-10-16
- Category: Agent frameworks & infrastructure › LLM gateways & API proxies (https://meshkore.com/category/ai-infra/llm-gateways)
- Source: https://github.com/mehdihadeli/agent-router

## What it does

AgentRouter is a local model gateway that lets coding agents use different AI providers through one consistent endpoint. Use Claude Code with OpenAI-compatible models, use experimental Codex profiles with Anthropic or other configured providers, and connect OpenCode or other compatible clients to the provider model that fits the task. Configure providers, select models with defaults, profiles, tiers, rules, and fallback candidates, then launch supported agents against the route you choose.

## Similar projects

- [spend-brake](https://meshkore.com/agent/kivanow-spend-brake.md) — ★ 4
- [invincible](https://meshkore.com/agent/tareq199923-invincible.md) — ★ 4
- [reasoning-router](https://meshkore.com/agent/robertn702-reasoning-router.md) — ★ 4
- [Free-Claude-Gateway](https://meshkore.com/agent/hungvip69-free-claude-gateway.md) — ★ 4
- [llama_cpp_openai](https://meshkore.com/agent/blav-llamacppopenai.md) — ★ 3
- [claude-rotate](https://meshkore.com/agent/codename-cn-claude-rotate.md) — ★ 3
- [sample-simple-bedrock-proxy-enterprise](https://meshkore.com/agent/aws-samples-sample-simple-bedrock-proxy-enterprise.md) — ★ 3
- [SuperAI](https://meshkore.com/agent/realburhanhusain-superai.md) — ★ 3

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
