Architecture
Adding a capability
Adding a capability
- Put stable input/output types in
sharedonly when multiple packages need them. - Add the capability to the narrowest package.
- Keep external SDK types behind the relevant adapter.
- Add deterministic unit tests, including failure and policy cases.
- Expose it through the CLI or a dedicated transport adapter only after the runtime contract is stable.
Before making architectural or safety-sensitive changes, read the relevant Agent Skill — agent-zero-architecture and agent-zero-safety encode these rules in more depth.