Claude Code model router
Workbuddy2api
A lightweight API proxy for domestic and international CodeBuddy backends, providing OpenAI, Anthropic, and Responses-compatible APIs with native support for Claude Code, Codex CLI, and DeepSeek Harness.
Install
git clone https://github.com/hawklithm/workbuddy2api.gitFrom the README
CodeBuddy API Proxy A lightweight API proxy service that converts CodeBuddy's underlying interface into standard OpenAI, Anthropic, and Responses protocol formats. 中文版文档见 README_zh.md. For unexplained Windows process exits, use the independent process monitor to collect uv/Python exit codes, lifecycle, memory, health, and available Windows events without restarting the proxy. ✨ Core Features - Protocol conversion - Supports three standard formats: OpenAI Chat Completions, Anthropic Messages API, and Responses - Desensitization - Built-in smart desensitization module that automatically filters sensitive information (accounts, passwords, keys, brand terms, paths, etc.) to mitigate review-based false blocks - Message compression - Intelligently compresses historical messages to dramatically reduce token usage (ideal for long-context scenarios such as Codex CLI) - Tool call support - Full support for function calling and tool use, with automatic filtering of invalid tool definitions - DSML parsing - Automatically detects and converts DeepSeek Markup Language (DSML) tool calls - Streaming responses - SSE streaming output, returning generated content in real time, with built-in 60-second timeout protection - Domestic and international backends - Uses domestic CodeBuddy by default and switches to the international CodeBuddy service with --global, with isolated sessions and model catalogs - Multi-account management - Link domestic and Global accounts, switch the active account, and remove non-active accounts from the local admin page - Model-level 429 handling - Track cooldowns per account and model, with optional same-region failover - Daily check-in - Check in manually or enable background checks for all linked accounts Installation Recommended to run from PyPI using…
Details
- Repository
- hawklithm/workbuddy2api
- Language
- Python
- License
- MIT
- Last updated
- 25 October 2026
- Topics
- anthropic-compatibleapi-proxyclaude-codecodebuddy-clicodex-clicoding-agentdeepseek-harnessgrok-clillm-proxyompopenai-compatiblepi-cli
FAQ
What is Workbuddy2api?
A lightweight API proxy for domestic and international CodeBuddy backends, providing OpenAI, Anthropic, and Responses-compatible APIs with native support for Claude Code, Codex CLI, and DeepSeek Harness. It is a model router for Claude Code, from hawklithm/workbuddy2api on GitHub.
How do I install Workbuddy2api?
Clone hawklithm/workbuddy2api from GitHub and follow the setup steps in its README.
Is Workbuddy2api popular?
hawklithm/workbuddy2api has 25 GitHub stars and 8 forks. It was last updated on 25 October 2026.
More model routers & proxies
Zerokey
26downloaddoctor/zerokey
OpenAI-compatible local AI proxy for DeepSeek, Claude , ChatGPT and Qwen — pipe any of them into VS Code or Terax using your real browser session. Just paste a fetch().
Clancy
28bazumo/clancy
HTTP/HTTPS proxy with real-time monitoring for Agent traffic. Designed for debugging and monitoring Claude Code, Anthropic API calls, and other AI agent communications.
Claude Quota Proxy
28InertiaUK/claude-quota-proxy
Local proxy that makes Claude Code aware of its own quota usage
Claude Code Openrouter
28derek-larson14/claude-code-openrouter
Claude Code agent that routes to external LLMs (Grok, Gemini, GPT-5, etc.) via OpenRouter - just mention the model name
Antomix
27unclecode/antomix
Universal Claude Code Proxy | Bidirectional Anthropic ↔ OpenAI API Bridge
Kiro Claude Proxy
27alexandephilia/kiro-claude-proxy
A local proxy to intercept and replace standard CLI or BYOK authentication with Kiro/AWS creds... basically letting Claude Code operate independently from Anthropic’s native billing backend
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.