0% read on this device
Browse the curriculum

Start Here

Vision

First Principles

Operating Model

Domain Model

Agent Factory

Runtime Architecture

AI Engineering

Autonomous Workflows

Verification & Delivery

Factory Platform

Quality Engineering

Security & Governance

Case Studies

Labs

Interview Practice

Research Journal

Reference

Curriculum/AI Engineering/Complete source chapter
AI Engineering5 min readchapterQuick Read

Agentic Architecture Patterns and Autonomy Selection

Select the minimum sufficient architecture for the problem and risk rather than maximizing how agentic the design appears.

Status: Review readyRisk: highLifecycle: intent · plan · execute · verify · learnContent reviewed 2026-08-30Maturity guide →
Claim boundaryThis chapter references implementation evidence. Inspect its evidence boundary before treating a claim as proven.
Quick Read

The chapter in one pass.

~2 min
  • Purpose: Select the minimum sufficient architecture for the problem and risk rather than maximizing how agentic the design appears.
  • Ladder: Deterministic -> prompt assistance -> retrieval-grounded -> bounded single agent -> coordinated specialists -> durable autonomous workflow -> enterprise-integrated system.
  • Important: This is a decision ladder, not a maturity score. A lower level can be the correct production architecture.

1. The problem

Teams often choose agents before proving that variability, planning, or tool reasoning is required. Every autonomy increase adds state, permissions, evaluation, cost, uncertainty, security exposure, and recovery obligations. Architecture selection should therefore start with the outcome and eliminate simpler eligible patterns only with evidence.

2. Selection ladder

LevelPatternSuitable problemState and authorityVerification and oversight
0Deterministic software or fixed automationStable rules and known inputsExplicit state; fixed service authorityUnit/contract tests; normal change control
1Prompt-and-response assistanceDrafting, explanation, low-impact recommendationSession only; no direct side effectsHuman evaluates every consequential output
2Retrieval-grounded assistanceAnswers need current approved sources and citationsQuery/context record; read-only source accessPermission, freshness, citation, faithfulness checks
3Bounded single-agent tool loopComplex task needs planning or iterative tool useAttempt state, scoped tools, budgets, stop conditionsIndependent validators and human gate for consequence
4Coordinated multi-agent specializationDistinct specialties, parallel work, or independent critique are measurably usefulDurable delegations, shared-state contracts, bounded child authorityCorrelation controls, join policy, disagreement resolution
5Durable autonomous workflowTriggered, long-running process must survive failures and queuesPersistent graph, leases, retries, reconciliation, gatesSLOs, incident control, evidence, human intervention
6Enterprise-integrated factory systemMission-critical use across governed data, tools, delivery, and operationsInventory, identities, policy, tenancy, lifecycle, continuityFull governance, control testing, monitoring, recertification

3. Decision criteria

For each level answer:

  1. Which required capability is impossible or materially worse at the lower level?
  2. What variability, ambiguity, or scale justifies probabilistic behavior?
  3. Which tools and side effects are required, and can authority be narrower?
  4. Which state survives a crash, replay, or human pause?
  5. How are correct behavior, failure sensitivity, and accepted outcomes evaluated?
  6. What evidence and human decision are required before consequence?
  7. What are latency, capacity, monetary cost, and human-attention budgets?
  8. Which new failure and attack modes appear?
  9. What is the fallback to a lower level?
  10. Which promotion evidence would justify greater autonomy later?

If the higher level cannot show measurable benefit against the simpler baseline, reject it.

4. Pattern contracts

Deterministic and assistance patterns

Keep rules in code when requirements are stable and testable. For prompt assistance, label outputs as proposals and provide source/context disclosure. For retrieval assistance, add source registry, permission filtering, exact citations, freshness, contradiction handling, and revocation. Memory is unnecessary unless a measured cross-session need exists.

Bounded single-agent loop

Freeze the model, prompt, context, skills, tools, policy, budgets, and quality contract. Persist attempt state outside the model. Restrict tools by resource and side effect. Stop on acceptance, attempts, tool calls, time, tokens, cost, no improvement, denial, cancellation, or dependency failure. A human reviews consequential results with independent evidence.

Coordinated multi-agent pattern

Add only with a measurable specialization, parallelism, or assurance reason. Define delegation, context, authority, handoff, join, disagreement, partial result, and correlation contracts. Budget fan-out and preserve a deterministic aggregation path where possible.

Durable autonomous workflow

Add triggers, admission, queue, durable graph, leases, idempotency, reconciliation, pause/cancel/quarantine, SLOs, on-call ownership, and evidence gates. Autonomy applies to a bounded workflow, not an unrestricted goal.

Enterprise-integrated system

Add governed inventory, unique workload identity, tenancy, policy decision points, knowledge and capability lifecycles, data classification, independent assurance, delivery and rollback, monitoring and incident response, continuity, cost attribution, supplier controls, and periodic recertification.

5. Promotion and fallback

Promotion requires representative baseline/candidate evaluation, non- regression in critical slices, failure injection, recovery proof, security and privacy review, capacity and cost evidence, named owner, approved ceiling, and a tested fallback. Promotion can increase eligible scope, allowed side effect, duration, or reduced human review—but change one dimension at a time where possible. Drift, incident, expired evidence, or supplier change may demote the system automatically under policy.

6. Failure and risk comparison

Added levelNew dominant failureRequired containment
Prompt assistanceHallucinated or misleading proposalClear advisory boundary and human review
RetrievalUnauthorized, stale, poisoned, or contradictory sourcePre-ranking permission, lineage, revocation
Single agentTool misuse, nonconvergence, hidden stateScoped gateway, durable attempt, hard stops
Multi-agentCorrelated error, delegation drift, fan-out costCollaboration contract, independence tests, parent budget
Durable workflowDuplicate/partial effects, orphaned workIdempotency, leases, reconciliation, emergency control
Enterprise systemCross-tenant impact, governance and supplier failureInventory, identity, policy, control tower, continuity, recertification

7. Cost and outcome evidence

Compare end-to-end lead time, accepted quality, failure rate, time to recovery, model/tool/environment cost, coordination overhead, and human attention. Do not optimize token price in isolation. The unit of value is accepted outcome under the required safety and reliability contract.

8. Tradeoffs and nonclaims

Lower levels sacrifice flexibility but improve predictability, testability, cost, and security. Higher levels can handle ambiguity and long-running work but demand stronger operations. This review-ready ladder is not a universal risk classification and does not claim that higher autonomy produces better business outcomes.

9. Architecture review exercise

Choose one repository question, one bounded code change, and one cross-system release workflow. For each, document the lowest eligible level, rejected alternatives, required contracts, evaluation, evidence, human authority, failure recovery, cost, promotion criteria, and fallback. A reviewer must be able to challenge the design without knowing a particular vendor stack.

Evidence boundary

Curriculum maturity is not implementation proof.

This chapter defines architecture or practice. It does not by itself prove a corresponding production implementation.

CurriculumReview readyImplementation evidenceNot asserted hereInspect evidence map →
External review

Review this chapter.

Challenge a claim, boundary, missing failure mode, unclear term, or unsupported evidence statement.

  • Claim
  • Boundary
  • Failure
  • Evidence