BOT: Standardized Agent Framework
bot is a local-first agent framework for observable execution, composable tool use, and multi-agent orchestration.
Safety Model
- - Network: Core demos do not initiate outbound network requests by default.
- Execution: This release provides policy-guarded local execution, not OS-level sandbox isolation.
- File System: Local memory is stored in
./.bot_memory/ by default, configurable via BOT_MEMORY_DIR. - Viewer: Optional local monitor binds to
127.0.0.1 only when explicitly started. - Credentials: No external API keys required for core demos.
Included Capabilities
- - Single-agent reasoning core
- Botfile static declaration
- TUI thought visualization
- Crypto identity and signing
- Multi-agent coordination
- Local Web thought-tree viewer
- Unified local run entrypoint
- Capability-aware tool registration
- Policy-guarded execution layer
Quick Start
CODEBLOCK0
Custom Roles
CODEBLOCK1
Single-Agent Mode
CODEBLOCK2
Then open:
技能名称: bot
详细描述:
BOT: 标准化智能体框架
bot 是一个本地优先的智能体框架,支持可观测执行、可组合工具使用以及多智能体编排。
安全模型
- - 网络:核心演示默认不发起出站网络请求。
- 执行:本版本提供策略保护的本地执行,而非操作系统级沙箱隔离。
- 文件系统:本地内存默认存储在 ./.botmemory/ 目录下,可通过 BOTMEMORY_DIR 配置。
- 查看器:可选的本地监控仅在显式启动时绑定到 127.0.0.1。
- 凭证:核心演示无需外部 API 密钥。
内置能力
- - 单智能体推理核心
- Botfile 静态声明
- TUI 思维可视化
- 加密身份与签名
- 多智能体协调
- 本地 Web 思维树查看器
- 统一本地运行入口
- 能力感知工具注册
- 策略保护执行层
快速开始
bash
PYTHONPATH=. python3 examples/run_bot.py --mode multi --prompt 设计一个安全的本地优先智能体工作流
自定义角色
bash
PYTHONPATH=. python3 examples/run
bot.py --mode multi --roles plannerbot,critic
bot,executorbot,auditor_bot
单智能体模式
bash
PYTHONPATH=. python3 examples/run_bot.py --mode single --prompt 安全地总结此任务
然后打开: