Agent2 — 沉浸式终端 AI 智能体工作台
Agent2 是一个从零构建的 Python 模块化 Agent 系统框架与全键盘沉浸式终端交互工作台。
安装
# 安装完整版(含沉浸式终端 TUI)
pip install agent2
# 或使用 uv
uv add agent2
如果您只需要无 UI 的轻量 SDK 或基础 CLI(例如云端容器、自动化脚本集成),请安装
pip install agent2-core。
启动
在终端直接运行:
agent2
支持多种运行模式与参数:
agent2 --mode plan # 以 Plan 模式启动(任务拆解与子 Agent 拓扑派发)
agent2 --mode ask # 以只读 Ask 模式启动(严格禁止写和执行工具)
agent2 -p "执行目标任务" # 单轮运行后直接退出
agent2 -i "你好" # 预设首条消息并进入交互界面
Metadata
Release files for agent2 0.1.3.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent2-0.1.3.27.tar.gz | 59.8 kB | Without provenance | Details for agent2-0.1.3.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent2-0.1.3.27-py3-none-any.whl | Python 3 | none | any | Details for agent2-0.1.3.27-py3-none-any.whl |
Total release size: 133.7 kB
Release files / agent2-0.1.3.27.tar.gz
| Download URL | agent2-0.1.3.27.tar.gz |
|---|---|
| Size | 59.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9260039f7b6c7ed7aeb1c33f62dd2e3c10d319b3922d0b56dee1e519cada2baa
|
|
BLAKE2b-256 checksum How to use checksums |
cd3b53dfc8cf66c3c4327772aec3da01fbc7c22763d59e0064af1e92922a3948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / agent2-0.1.3.27-py3-none-any.whl
| Download URL | agent2-0.1.3.27-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89f2779329e1a7f55bee661145cc8cd4273dfc3859e6383d76df565146d938c0
|
|
BLAKE2b-256 checksum How to use checksums |
9837c3130a2370d050c6bd7d9dec3229d36e8a38e5f03be3282ce5a3450b176f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for agent2 0.1.3.27
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.