CodeRoute - AI coding agent on cheap Chinese models (DeepSeek/GLM/Kimi), billed in RMB. Built on aider.
Project description
CodeRoute CLI
用便宜的国产模型(DeepSeek / GLM / Kimi)写代码的命令行编程助手。基于 aider,默认跑在 CodeRoute 网关上,人民币计费、国内直连。
安装
pip install coderoute
国内推荐用清华源(连同 aider 依赖一起,秒装、免超时):
pip install coderoute -i https://pypi.tuna.tsinghua.edu.cn/simple
使用
coderoute login # 在控制台建一个 API Key,粘贴进来(一次即可)
cd 你的项目
coderoute # 启动,默认 deepseek(最便宜)
coderoute --model openai/glm-4.7 ... # 换强一点的模型
coderoute --model openai/kimi-k2-code ... # 长上下文
其余参数原样透传给 aider(--message、--yes-always 等)。
它做了什么
这是 aider 的一层薄包装,启动时锁定:
- base URL = CodeRoute 网关
- 默认模型 =
deepseek-fast - 各模型的兼容性怪癖(如 kimi 强制
temperature=1)
核心编程能力来自 aider(Apache-2.0)。本包仅做品牌与默认配置。
配置
- 本地 key 存于
~/.config/coderoute/config.json - 临时改网关地址(测试用):环境变量
CODEROUTE_BASE_URL、CODEROUTE_API_KEY
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
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 coderoute-0.2.0.tar.gz.
File metadata
- Download URL: coderoute-0.2.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fab28e001c61503f5dc1975972cae817928a60b35d809dcb1c88058470fa7b3b
|
|
| MD5 |
1602c35784e0cba7fee77c00739cf824
|
|
| BLAKE2b-256 |
b0a8d5f8dd37a539250fa72320aa9ead83d5736a19f2e8618514c58aa7be5ed5
|
File details
Details for the file coderoute-0.2.0-py3-none-any.whl.
File metadata
- Download URL: coderoute-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
306240031149395c222476a459a35ee3ca3e0313c97147252ef7220626a8ea54
|
|
| MD5 |
00a26d217c7665b0b51b9dbba9b4da34
|
|
| BLAKE2b-256 |
af2def362366a50234250c1406788d637b9ac4b263e232d5bc844f7655e10271
|