quanttide-agent
量潮智能体标准Python工具箱
安装
pip install git+https://github.com/quanttide/quanttide-agent-toolkit.git
模型配置
默认配置使用 DeepSeek。MiMo 和 GLM 使用同一个 OpenAI 兼容客户端,只需要切换对应的配置:
from quanttide_agent import LLM
from quanttide_agent.config import settings
mimo = LLM(
model=settings.mimo_model,
base_url=settings.mimo_base_url,
api_key=settings.mimo_api_key,
)
glm = LLM(
model=settings.glm_model,
base_url=settings.glm_base_url,
api_key=settings.glm_api_key,
)
可通过以下环境变量覆盖配置:
MIMO_API_KEY=...
MIMO_MODEL=mimo-v2.5
MIMO_BASE_URL=https://api.xiaomimimo.com/v1
GLM_API_KEY=...
GLM_MODEL=glm-5.3
GLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4
ZHIPUAI_API_KEY 和 ZAI_API_KEY 也可作为 GLM API Key 的兼容别名。
贡献者
- 量潮成员:@Guo-Zhang
许可证
Metadata
Release files for quanttide-agent 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quanttide_agent-0.4.1.tar.gz | 52.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quanttide_agent-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.2 kB
Release files / quanttide_agent-0.4.1.tar.gz
| Download URL | quanttide_agent-0.4.1.tar.gz |
|---|---|
| Size | 52.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8430c0fe6f64a36682829b631b43b81346229627287f787a62b4c8f997ebeeac
|
|
BLAKE2b-256 checksum How to use checksums |
388a0d57c4d866ed7c1ed18f5eaea41a87104980c9db9489f4f3cc0550864497
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / quanttide_agent-0.4.1-py3-none-any.whl
| Download URL | quanttide_agent-0.4.1-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5ebc119d9f7535907f1596c5d4e87809709c694b499b72f9b4299d69a553fd6
|
|
BLAKE2b-256 checksum How to use checksums |
b551110fe10fbca8a1406fd78df851341c4c827485531fedcd97b5cd385a1ef8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|