AginxBrain — AI skill for Claude Code
Local-first AI gateway with bidirectional protocol conversion (Anthropic ↔ OpenAI ↔ Responses).
How to install AginxBrain
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yinnho/AginxBrain and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AginxBrain does
Local-first AI gateway with bidirectional protocol conversion (Anthropic ↔ OpenAI ↔ Responses). Route Claude Code / Codex CLI to any provider by quality tag, with failover. Rust + Tauri.
Alternatives in AI
- Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
- Sentrux — Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improveme 2.9k ★
- Agentchattr — Free, local chat where AI coding agents can tag each other, talk, and coordinate with you 1.5k ★
README
AginxBrain
**Open-source AI gateway · Bidirectional protocol conversion · Tag-based routing**
Speak Anthropic, OpenAI, or Responses on the client side — any of them on the provider side. AginxBrain converts between them, routes by tag, and fails over automatically.
[](https://github.com/yinnho/AginxBrain/releases) [](./LICENSE) [](https://github.com/yinnho/AginxBrain/releases) [](https://www.rust-lang.org/)
[Features](#features) · [Architecture](#architecture) · [Quick Start](#quick-start) · [Configuration](#configuration) · [Comparison](#comparison)
AginxBrain sits between your AI client (Claude Code, Codex CLI, any OpenAI / Anthropic / Responses SDK) and your model providers, and does four things transparently:
- Protocol conversion — clients speak Anthropic Messages, OpenAI Chat, or OpenAI Responses; providers speak any of the three. All 9 combinations, both directions, streaming included.
- Tag-based routing — call a model by its tag name (e.g.
model: "sonnet",model: "gpt-5.5") and AginxBrain maps it to the right provider and model, with multi-candidate failover chains. - Reliability — per-route circuit breaker, automatic failover on retryable errors, smart auto-routing that upgrades the tier based on the request, hot-reloaded config.
- Key custody & observability — providers' real keys live in one place behind per-caller API keys; every request is logged with token usage and estimated cost.
It runs in two shapes:
- Server (the gateway) — a single self-hosted binary. Holds all the keys, runs the proxy, embeds an admin dashboard at
http://host:port/. - Desktop (the client) — a thin
Related Skills
Cmc Proxy
Reverse-proxy a GOAT/commandcode AI subscription to localhost for Claude Code & Codex — OpenAI/Anthropic/Respo
Token Proxy
Local AI API gateway for OpenAI / Gemini / Anthropic. Runs on your machine, keeps tokens counted (SQLite), off
Stone
Personal, local-first desktop AI gateway for Windows, macOS, and Linux. Connect Claude Code, Codex, and Gemini
Use Crew Gateway
Route an OpenAI/Anthropic-compatible client through the portable farmd control plane's virtual crew model, for
Ccrelay
Local API proxy (VS Code extension + desktop app) for Claude Code, Cowork & Codex. Automatic protocol conversi
SRouter
Local-first AI Gateway: Connect Claude Code, Cursor, Windsurf, & Cline to Antigravity, OpenAI, Claude, & Gemin
Related Agents
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
Codex Orchestrator
CLI tool for delegating tasks to GPT Codex agents via tmux sessions. Designed for Claude Code orchestration wi
Yume
Native desktop UI for Claude Code with orchestration, streaming, background agents, and multi-provider support