模块¶
ClawSeed 采用 Cargo workspace 组织,各 crate 之间依赖关系清晰。
| Crate | 角色 |
|---|---|
| clawseed-api | 核心 trait 定义(纯接口,无实现) |
| clawseed-agent | Agent 循环、Hook、分发、运行时组装 |
| clawseed-tools | 25+ 内置工具实现 |
| clawseed-providers | LLM Provider 实现 |
| clawseed-memory | SQLite 记忆 + 向量搜索 |
| clawseed-config | TOML 配置 schema 与加载 |
| clawseed-gateway | Axum HTTP/WS 服务器 + 远程工具桥 |