hkqr/my-free-code

374 stars · Last commit 2026-08-28

Open-source multi-provider AI gateway for Claude Code and other coding agents, with model routing, streaming, tools, reasoning, fallbacks, and local model support

README preview

# My Free Code v0.8

**A multi-provider gateway for Claude Code and other coding agents.**

It is an independent implementation. It is **not affiliated with Anthropic**.

## What v0.8 includes

### Gateway protocols
- Anthropic Messages: `/v1/messages`
- Anthropic token counting: `/v1/messages/count_tokens`
- OpenAI Responses-compatible: `/v1/responses`
- model discovery: `/v1/models`
- health: `/health`
- local Admin UI: `/admin`
- authenticated Admin API: `/api/admin/*`

### Agent features
- streaming SSE
- tool definitions and tool calls

View full repository on GitHub →