Anthropic格式AI代理服务器 - 将Claude Code请求转换为各厂商格式
Project description
claudefucker
Anthropic格式AI代理服务器 - 将Claude Code的Anthropic格式请求转换为各厂商格式
安装
pip install claudefucker
使用
启动服务
claudefuck
Claude Code 配置
启动后按照提示选择:
- 选择AI厂商(14个主流厂商)
- 选择模型
- 输入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.0.tar.gz
(26.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claudefucker-1.0.0.tar.gz.
File metadata
- Download URL: claudefucker-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f980cd345aee3590048f09b7c6c83626774efbc1c5140cba5471b10f17318ca
|
|
| MD5 |
4c36283e9f3040a02beb7a058425a188
|
|
| BLAKE2b-256 |
c79f5ae0afc68c1360e13c6d087bcf4d63014d4b468dd01658d064be841b02c0
|
File details
Details for the file claudefucker-1.0.0-py3-none-any.whl.
File metadata
- Download URL: claudefucker-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93ff91d316d9cd0b4b8b464354e7fbaa8dde7297c6fd18e63a9d83d8ef5052c3
|
|
| MD5 |
5ad6f287a0994834423b2cbbbbae94a2
|
|
| BLAKE2b-256 |
c7fe64492cea964a9584da29734eb3897373f1dc821007d471bd9a551894f084
|