Architecture Sub-agent
Agent id: agent.subagent.architecture
Phase: PR
Cost per call: $0.25
Required permission: agents.pr.subagent
Available on: Growth, Enterprise
The Architecture Sub-agent reviews a PR against the shape of the existing codebase. It flags new cross-cutting dependencies, duplicated abstractions, and boundary violations before a PR reaches human review.
When to call it
- Automatically, as part of the PR Execute Supervisor loop.
- Directly, when a human wants a quick architecture sanity check on a branch.
Example prompt
"Review this PR for architectural regressions and call out anything that crosses existing module boundaries."
Example output
- Pass or fail.
- A list of flagged cross-cutting changes, with the offending file paths.
- Suggested refactors the supervisor can schedule as follow-up work.
Getting started
See the install guide to provision your workspace.