Skip to main content

Anthropic格式AI代理服务器 - 将Claude Code请求转换为各厂商格式

Project description

claudefucker

Anthropic格式AI代理服务器 - 将Claude Code的Anthropic格式请求转换为各厂商格式

安装

pip install claudefucker

使用

启动服务

claudefuck

Claude Code 配置

启动后按照提示选择:

  1. 选择AI厂商(14个主流厂商)
  2. 选择模型
  3. 输入API Key

启动成功后,配置Claude Code:

ANTHROPIC_BASE_URL=http://0.0.0.0:5000
ANTHROPIC_API_KEY=<你的API Key>

支持的厂商

  • OpenAI (GPT系列)
  • 豆包(火山引擎)
  • 智谱AI(GLM系列)
  • 通义千问(阿里云)
  • Gemini(Google)
  • 文心一言(百度)
  • 讯飞星火
  • Kimi(月之暗面)
  • Claude(Anthropic)
  • NVIDIA NIM
  • Ollama(本地)
  • MiniMax
  • 零一万物(Yi)
  • DeepSeek

特性

  • 统一API接口,兼容Anthropic格式
  • 支持14个主流AI厂商
  • 自动识别API Key所属厂商
  • 支持流式和非流式输出
  • 支持手动输入模型名称
  • 共支持106个模型

开发

喜欢关注python学霸公众号

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claudefucker-1.0.1.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claudefucker-1.0.1-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

Details for the file claudefucker-1.0.1.tar.gz.

File metadata

  • Download URL: claudefucker-1.0.1.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for claudefucker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8f28a5823e706b56b63b00cb2f6274d23533fe6b0aabb70033c14cb3dce1d0fb
MD5 a96330132b40334fefab9a13b774dbc0
BLAKE2b-256 506688f99e94e7e7599557c50fbfa025d1f6bc4ec71a7673c8a2a67923c41b8f

See more details on using hashes here.

File details

Details for the file claudefucker-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: claudefucker-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 40.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for claudefucker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0056781e11cdea7a58533272e92de6e8be5a172db8ddbaca71ea3cb5507010df
MD5 7d7a927c2ae3fca96abf54909af86462
BLAKE2b-256 6f13411c182cd448312a89365f61744ceae6975845286ebf85db963b6bbd5716

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page