Awesome AI Agents › AI Agent Gateway

decolua/9router

⭐ 32143 JavaScript added to this list on 2026-05-11 repository created 2026-01-05

9Router is an innovative AI router and token saver designed to optimize the use of AI coding tools. It acts as a universal gateway, allowing users to connect popular AI code interpreters and assistants like Claude Code, Cursor, Copilot, and Codex to a vast array of over 40 AI providers and 100+ large language models. The primary goal of 9Router is to reduce costs and prevent service interruptions by implementing intelligent routing and token management strategies. Key features include an 'RTK Token Saver' that auto-compresses 'tool_result' content, leading to a significant 20-40% reduction in tokens per request. This helps users maximize their subscription quotas and avoid hitting rate limits. The platform offers an auto-fallback mechanism, automatically switching between subscription-based, cheap, and free AI models (e.g., Kiro AI, OpenCode Free) to ensure continuous operation and zero downtime. It also supports multi-account configurations with round-robin load distribution and provides essential functionalities like quota tracking and automatic token refreshing. 9Router offers a user-friendly dashboard for managing providers, models, and API keys, and it presents an OpenAI-compatible API endpoint for seamless integration with existing CLI tools. This project is ideal for developers seeking to optimize their AI development workflow, reduce expenses, and maintain uninterrupted access to AI coding capabilities.

https://github.com/decolua/9router

ai-agentsai-gatewayanthropicchatgptclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminigemini-clillmllm-gatewayopenaiopenai-proxyqwentoken-saverai-routertoken-compressionauto-fallbackai-toolscoding-assistants

Also in AI Agent Gateway

cheaper-inference/OmniRoute

Free AI gateway routing coding-agent traffic across 375 providers and 150+ free tiers through one OpenAI-compatible endpoint.

simstudioai/sim

Sim Studio is an open-source platform for building, testing, and optimizing AI agent workflows with flexible deployment options including cloud and self-hosting.

mastra-ai/mastra

Mastra is a TypeScript AI agent framework that enables rapid development of AI applications with support for multiple LLMs, advanced agents, workflows, RAG, integrations, and automated evaluations.

TransformerOptimus/SuperAGI

SuperAGI is an open-source autonomous AI agent framework that enables developers to build, manage, and deploy scalable and efficient autonomous AI agents with extensible capabilities through toolkits and a user-friendly interface.

corsairdev/corsair

Open-source product integration platform with a single REST API syntax for connecting agents, backend services, and dashboards to third-party apps.

casdoor/casdoor

Casdoor is an open-source, AI-first Identity and Access Management (IAM) / LLM MCP gateway and authentication server with a web UI and broad protocol support.

Arize-ai/phoenix

Phoenix is an open-source AI observability platform that enables tracing, evaluation, and optimization of large language model applications across various deployment environments.

Upsonic/Upsonic

Upsonic is a reliability-focused AI agent framework that supports Model Context Protocol (MCP) and provides advanced features for trustworthy, production-ready AI agent workflows with integrated tool use and secure runtime environments.