Skip to main content

Simple Agent

纯问答 CLI 工具,流式输出,支持 Claude extended thinking。

安装

pip install simple-agent

使用

simple-agent

配置 API

>>> deploy
API URL: https://api.example.com/v1/chat/completions
API Key: sk-xxx
Model: claude-sonnet-4-6
Thinking (默认 off): medium
[配置已保存]

开始对话

>>> chat
>>> 你好
AI: 你好!有什么可以帮助你的?
>>> exit

命令

命令 说明
deploy 配置 API
chat 开始对话
exit 退出

Thinking 级别

级别 budget_tokens 上下文轮数
low 5000 10
medium 8000 15
high 20000 20
off - 10

注:仅 Claude 模型支持 extended thinking。

配置文件

全局配置路径:~/.simple-agent/config.json

Metadata

Release files for cch-agent 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cch-agent 0.1.6
File Size Uploaded Provenance Actions
cch_agent-0.1.6.tar.gz 6.7 kB Without provenance Details for cch_agent-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cch-agent 0.1.6
File Interpreter ABI Platform Actions
cch_agent-0.1.6-py3-none-any.whl Python 3 none any Details for cch_agent-0.1.6-py3-none-any.whl

Total release size: 15.4 kB

Release files / cch_agent-0.1.6.tar.gz

Download URL cch_agent-0.1.6.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fd1335d6aedea623729cb964c073c0d1ce780a086d5107237d0bd3ebab67e91b
BLAKE2b-256 checksum
How to use checksums
a2e28b32c205c9a3b5850f9a185edf626bea95283cad78e0605b257443ff8ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / cch_agent-0.1.6-py3-none-any.whl

Download URL cch_agent-0.1.6-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
123ffe28f863f682dc1a5c9f40202e8ceb03c57f62be2d041406ac10e56215a9
BLAKE2b-256 checksum
How to use checksums
cb028cf9c4faed3d0fcb5ee708d5aa17eb1cbd8cc4ba976abfe455ec73fc5306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Security for cch-agent 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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