Skip to main content

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.26

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

Source distribution (sdist)

Source distribution for agent2 0.1.3.26
File Size Uploaded Provenance Actions
agent2-0.1.3.26.tar.gz 59.9 kB Without provenance Details for agent2-0.1.3.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent2 0.1.3.26
File Interpreter ABI Platform Actions
agent2-0.1.3.26-py3-none-any.whl Python 3 none any Details for agent2-0.1.3.26-py3-none-any.whl

Total release size: 133.8 kB

Release files / agent2-0.1.3.26.tar.gz

Download URL agent2-0.1.3.26.tar.gz
Size 59.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7e1bceb92ad261a4402599b67ccd6554d975008637d58dfe33d7fcfa9c360a05
BLAKE2b-256 checksum
How to use checksums
f09f98c790eb6dd11c3eab220f9a96e58cb804cf65292bcd54b1d8b4ab2914ef
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.26-py3-none-any.whl

Download URL agent2-0.1.3.26-py3-none-any.whl
Size 73.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0810c4b7d102981e648b1b9ff9f0e5140ca4aeca9be3128aad9313cae47d78eb
BLAKE2b-256 checksum
How to use checksums
6b5793f54060a75fb8750f578bbfb23890430fac28686f9564a07a8d388b45b1
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.26

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.

Release history Release notifications | RSS feed

This release

0.1.3.26 This release

2 release files No provenance

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