cszf1 GitHub avatar

keel-code-switch

cszf1

A local proxy that makes keelcode's API compatible with Anthropic clients like Claude Code, with multi-account rotation and a web management UI.

Stars

4

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It solves protocol incompatibilities between keelcode and standard Anthropic clients, automates token rotation and error handling, and provides a user-friendly web interface for managing multiple accounts without needing the CLI.

Who it is for

  • Developers using keelcode API who want to use Anthropic-compatible clients
  • Claude Code users wanting to route requests through keelcode
  • Teams needing multi-account load balancing and failover for API calls
  • Users who prefer a graphical UI for managing API credentials

Use cases

  • Run Claude Code with keelcode API by setting a local proxy as the base URL
  • Manage multiple keelcode credentials and automatically rotate on rate limits or authentication failures
  • Adapt requests and responses to match the exact Anthropic Messages format (e.g., content types, model names, streaming)
  • Monitor account status, daily quotas, and debug logs through a browser-based dashboard

Strengths

  • Automatic protocol adaptation: handles auth header differences, content format, model mapping, and strips unsupported fields like cache_control or adaptive thinking
  • Multi-account round-robin with intelligent error handling (401 marks account bad, 429 applies cooldown, expired tokens skipped)
  • Built-in web management UI for OAuth login, adding/removing accounts, and viewing status without CLI dependency
  • Lightweight and simple to deploy with Bun, supporting both CLI and PowerShell start scripts

Considerations

  • Requires Bun runtime (not a standard Node.js or Python tool)
  • Only works with keelcode API endpoints; not a general-purpose proxy for other providers
  • Free-tier users may encounter 503 errors for non-open models due to provider availability

README quick start

快速开始

Description

Local Anthropic-compatible proxy for keelcode with multi-account pool and web UI

Related repositories

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

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
yetone
Featured
yetone GitHub avatar

kill-ai-slop

Kill AI Slop is a multilingual field guide and agent skill that catalogues 33 common AI-generated design tells with interactive before-after demos, and provides a tool to scan and fix web projects.

AI & Machine LearningAI Agents
805
talivia-group
Featured
talivia-group GitHub avatar

talivia

Talivia is an open-source, self-hosted analytics platform that combines web analytics, session replay, and customer revenue tracking from multiple payment providers.

Web DevelopmentData & Databases
451