aimod-cc/Agent2API
Local AI routing gateway with Agent client takeover
- Chart
- Not on a chart right now
- Stars
- 2.5k
What it is
Agent2API is a Rust-based AI routing gateway that unifies model APIs across providers and manages connection profiles for local Agent clients. It exposes unified OpenAI and Anthropic compatible interfaces alongside multi-account routing, gateway keys, and request reporting through a single base URL.
Who it is for
Developers managing multiple AI accounts and local Agent clients who want centralized API routing and profile switching will find this useful.
Why it is trending
It gained 52 stars today for a total of 2,453 stars, following its v3.4.2 release on November 5, 2026. Its combination of unified model APIs, multi-account routing, and local Agent client profile takeover stands out.
Main features
- Unified OpenAI Chat, Responses, Images, and Anthropic Messages APIs
- Model mapping, account priority, load balancing, session affinity, and failover routing
- Local Agent client profile import, write preview, and service switching
- Request volume, success rate, token usage, cache hit rate, and 365-day heatmap reports
Summarized on November 17, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary