- 15 个模块,零业务依赖
agent / llm / services / content / config
session / storage / memory / security / scheduler
audit / dream / protocol / shared / trajectory
- Agent Loop:runner → preparer → wiring → run_loop
- stage:stream / tools / continue_ / terminal
- 子系统:execution / security / skills / plugins / memory
- dream / compression / mcp / subagent
- toolkit / llm / review
- L2:runtime/facade、runtime/skills
- L2:infra/settings、infra/runtime_root
- L3:bundles、wiring、lifecycle、plugins、workspace
- L4:app/web、auth、gateway、ChatRunner、routes
- Persistence:Redis / PostgreSQL 适配器