A lightweight and stable AI gateway supporting multi-channel aggregation, failover, dual-protocol (OpenAI and Anthropic), single-binary zero-dependency deployment.

Stars

3

7-day growth

No data

Forks

0

Open issues

0

License

AGPL-3.0

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a single, self-contained binary that intelligently routes requests across multiple AI provider channels, automatically converting between OpenAI and Anthropic protocols, with built-in health checks and failover, making it easy to manage and scale AI API access.

Who it is for

  • Developers who need to manage multiple AI API keys and models
  • DevOps engineers looking for a lightweight, self-hosted API gateway
  • Teams requiring high availability and failover for LLM services
  • Organizations that need to access AI APIs through proxy in restricted networks

Use cases

  • Unify access to multiple OpenAI and Anthropic accounts behind a single endpoint
  • Implement automatic failover and load balancing across AI providers
  • Use proxy support to route AI requests through specific regions or networks
  • Provide a secure, auditable, and manageable internal API gateway for LLM usage

Strengths

  • Single binary with embedded SQLite and management UI, no external dependencies
  • Automatic bidirectional protocol conversion between OpenAI and Anthropic formats
  • Weighted routing, failover, and health monitoring with automatic channel disabling
  • Security-first design with hashed API keys, JWT management, rate limiting, and CORS/CSP protections

Considerations

  • AGPLv3 license requires open-source compliance for SaaS or modified distributions; commercial license needed for proprietary use
  • JWT secret must be manually set to avoid security vulnerability; default secret is public
  • Database is SQLite only, which may not scale for very high traffic without additional infrastructure

README quick start

快速开始

Description

轻量稳定的 AI 网关:OpenAI / Anthropic 双协议接入,多渠道聚合、故障转移与协议自动转换,单二进制零依赖部署

Related repositories

Similar projects matched by category, topics, and programming language.

0xwilliamortiz
Featured
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI & Machine LearningLarge Language Models
577
uzairansaruzi
Featured
uzairansaruzi GitHub avatar

hermex

Hermex is a native SwiftUI iPhone app that lets you control a self-hosted Hermes AI agent directly from your phone, with no subscriptions, tracking, or third-party relay.

AI & Machine LearningLarge Language Models
941
deerwork-ai
Featured
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI & Machine LearningLarge Language Models
312