docs(tools): simplify roadmap and add Chinese translation

- Replace phased roadmap with simple future tools list
- Add Chinese README (README.zh-CN.md)
- Add language switching links between EN/CN docs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jiang Bohan 2026-01-31 02:22:32 +08:00
parent 22536fd24c
commit 22d60f889c
2 changed files with 340 additions and 26 deletions

View file

@ -1,5 +1,7 @@
# Tools System
[中文文档](./README.zh-CN.md)
The tools system provides LLM agents with capabilities to interact with the external world. Tools are the "hands and feet" of an agent - without tools, an LLM can only generate text responses.
## Architecture Overview
@ -316,31 +318,13 @@ When both Profile config and CLI options are provided:
pnpm agent:cli --profile my-agent --tools-deny exec "list files"
```
## Roadmap
## Future Tools
### Phase 1: Infrastructure (Done)
The following tools are planned for future implementation:
- [x] Tool policy system (`policy.ts`)
- [x] Tool groups definition (`groups.ts`)
- [x] CLI support (`--tools-profile`, `--tools-allow`, `--tools-deny`)
- [x] Tools inspection CLI (`pnpm tools:cli`)
### Phase 2: Config File Support (Done)
- [x] Agent Profile tools integration - default tools config per profile
### Phase 3: Core Tools
- [ ] Browser tool - simplified web automation (screenshot, click, type)
- [ ] Session management tools - `sessions_list`, `sessions_history`, `sessions_send`, `sessions_spawn`, `session_status`
### Phase 4: Enhanced Tools (Partial)
- [x] Memory tool - persistent key-value storage for agent memory
- [ ] Image tool - image generation and manipulation
### Phase 5: Advanced Features
- [ ] Cron tool - scheduled task execution
- [ ] Message tool - inter-agent communication
- [ ] Canvas tool - visual output generation
- **Browser** - Simplified web automation (screenshot, click, type)
- **Session Management** - `sessions_list`, `sessions_history`, `sessions_send`, `sessions_spawn`, `session_status`
- **Image** - Image generation and manipulation
- **Cron** - Scheduled task execution
- **Message** - Inter-agent communication
- **Canvas** - Visual output generation