← Files LLM & Agent Builder CopilotARCHIVED FILE
references/agent-design-patterns.md
1.05 KB · Nov 14, 2026 · 00:40 UTC
# Agent architectures **Sequential chain:** steps known, easy to test and inspect. **Router:** category-based tool or specialist selection with unknown-category fallback. **Parallel work:** independent research/review with bounded fan-out, not simultaneous writes to same artifact. **Manager with specialists:** manager retains user communication and synthesis; specialists return scoped artifacts. **Handoff:** specialist becomes active conversation owner. **Bounded autonomous loop:** variable tool sequence, strict stop budget and progress checks. Use agent-as-tool for independent bounded subtasks with manager control. Use explicit handoffs when ownership changes; confirm how state and history transfer with current SDK docs. Never let a downstream specialist inherit unrestricted tools because the manager had access. Each agent contract: objective; permitted tools; input context; immutable policy; output schema; deadlines; cost/turn cap; failure behavior; no-go side effects; tracing; independent acceptance. Specialists are real only if the host actually runs them.
SHA-256: 7486339fc6b52409c7ee956b652a0f485b2ca9989d6623f9cb6115a09a891a9f