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.25
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agent2-0.1.3.25.tar.gz | 55.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agent2-0.1.3.25-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 124.7 kB
Release files / agent2-0.1.3.25.tar.gz
| Download URL | agent2-0.1.3.25.tar.gz |
|---|---|
| Size | 55.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
079fe43b874ef769b7401c2c6b879ae5ea1c91c9c50f08cc487f342dd2bb5eb3
|
|
BLAKE2b-256 checksum How to use checksums |
cccd07849b50d1cfd5531be6648dc0ba80c7588fb3feb6baee10096a6731dcf4
|
| 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.25-py3-none-any.whl
| Download URL | agent2-0.1.3.25-py3-none-any.whl |
|---|---|
| Size | 69.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c6c9685003c0fa6dd143fdfb1ea89e484f3b1c28ef20a6176bdc0ca6851216b
|
|
BLAKE2b-256 checksum How to use checksums |
ffa788d752e88b7fd40efd94fb4bdb30de6ce539c5475170fc7c270c4689946e
|
| 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}
|