一个本地代理,使 keelcode API 兼容 Anthropic 客户端(如 Claude Code),支持多账号轮换和网页管理。

Stars

10

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它解决了 keelcode 与标准 Anthropic 客户端之间的协议不兼容问题,自动处理令牌轮换和错误恢复,并提供友好的网页界面管理多个账号,无需依赖命令行工具。

适合谁使用

  • 使用 keelcode API 但希望使用 Anthropic 兼容客户端的开发者
  • 希望将 Claude Code 流量路由到 keelcode 的用户
  • 需要多账号负载均衡和故障转移的团队
  • 偏好图形化界面管理 API 凭证的用户

典型使用场景

  • 通过设置本地代理为基地址,使 Claude Code 与 keelcode API 配合使用
  • 管理多个 keelcode 凭证,并在遇到速率限制或认证失败时自动轮换
  • 自动适配请求和响应以符合 Anthropic Messages 格式(如内容类型、模型名称、流式传输)
  • 通过浏览器仪表板监控账号状态、每日配额和调试日志

项目优势

  • 自动协议适配:处理认证头差异、内容格式、模型映射,并剥离不支持的字段(如 cache_control、adaptive thinking)
  • 多账号轮询与智能错误处理(401 标记为坏账号并跳过,429 冷却 60 秒后切换,过期令牌自动跳过)
  • 内置网页管理界面,支持 OAuth 登录、添加/删除账号、查看状态,无需 CLI
  • 轻量级,只需 Bun 即可快速部署,提供命令行和 PowerShell 启动脚本

使用前须知

  • 依赖 Bun 运行时(不是标准的 Node.js 或 Python 工具)
  • 仅适用于 keelcode API 端点,不是通用代理
  • 免费版用户使用非开放模型时可能遇到 503 provider_unavailable 错误

README 快速开始

快速开始

项目描述

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

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
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 开发前端框架
14,861
yetone
精选
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 与机器学习AI 智能体
805
talivia-group
精选
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 开发数据与数据库
466