Skip to main content

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 的兼容别名。

贡献者

许可证

Apache 2.0

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)

Source distribution for quanttide-agent 0.4.1
File Size Uploaded
quanttide_agent-0.4.1.tar.gz 52.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quanttide-agent 0.4.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page