Files
beaver_project/app-instance/backend/README.md

35 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Beaver Backend
这是新的 `Beaver` 后端代码骨架。
旧实现已保留在 [backend-old](/home/ivan/xuan/nano_project/app-instance/backend-old),新目录用于按 [change.md](/home/ivan/xuan/nano_project/app-instance/backend/change.md) 的蓝图逐步重建后端。
当前阶段目标:
1. 先建立新的目录边界和包结构。
2. 明确 `beaver` 作为统一命名。
3. 以统一 `engine` 为核心,后续让所有 agent 共享同一套运行内核。
## 当前结构
- `beaver/foundation`:底层公共设施
- `beaver/engine`:统一 agent 内核
- `beaver/coordinator`:多 agent 协调层
- `beaver/tools`:工具系统
- `beaver/skills`:技能系统
- `beaver/memory`:记忆与经验沉淀
- `beaver/permissions`:权限与治理
- `beaver/services`:应用服务层
- `beaver/interfaces`CLI / Web / Gateway / Channels 薄入口
- `beaver/integrations`:外部系统与协议集成
## 说明
这个目录当前还是第一版骨架,不等于完成迁移。
后续迁移原则:
1. 不再新增 `nanobot` 命名。
2. 不在新目录中保留 `third_party/`
3. 所有 agent 最终都复用 `beaver.engine`