AI Architecture Review Framework

A repeatable way to review any AI, RAG or agentic system design — eight review areas with checklist questions, red flags, a scoring rubric, a one-page review template and practice designs.

On this page

Why a review framework#

AI designs fail in predictable places: unclear success criteria, missing permissions in retrieval, agents with too much autonomy, no evaluation, no cost model. A shared framework lets architects, security, risk and product owners review any AI design — your own before you build it, or a team’s at an architecture board — consistently and quickly.

The eight review areas#

AI architecture review in 8 areas
flowchart TB
    S1["1 · Problem & value<br/>users, tasks, success, is AI right?"] --> S2["2 · Requirements<br/>functional, non-functional, risk"]
    S2 --> S3["3 · Estimates<br/>volume, tokens, cost, limits, data"]
    S3 --> S4["4 · Architecture<br/>components, one request traced"]
    S4 --> S5["5 · AI components<br/>knowledge, models, prompts,<br/>agents, tools, frameworks"]
    S5 --> S6["6 · Evaluation<br/>datasets, metrics, gates"]
    S6 --> S7["7 · Security & governance<br/>permissions, injection, HITL, compliance"]
    S7 --> S8["8 · Operations<br/>scaling, resilience, cost, rollout"]

1. Problem and value#

  • Who are the users and what exact tasks will the system do?
  • What is the success metric (deflection, time saved, accuracy, CSAT) and its baseline?
  • Would search, rules, a form or a fixed workflow solve it more simply?
  • Red flags: “use AI for X” with no measurable outcome; no owner.

2. Requirements#

Type Check
Functional Inputs/outputs, channels, languages, citations, actions, hand-off to humans
Non-functional Latency (TTFT, total), availability, knowledge freshness, throughput
Quality Accuracy targets, tolerable error types, “I don’t know” behaviour
Security & privacy Data classification, permissions, PII, residency, provider terms
Risk & compliance Regulatory tier (EU AI Act), human oversight, auditability
Cost Budget per request or per month

Red flags: no latency or quality targets; data classification unknown.

3. Estimates#

  • Requests/day and peak per second; tokens per request (system + context + history + question; output).
  • Cost/day and per outcome; peak tokens/minute vs provider limits.
  • Corpus size → chunks → vector storage; ingestion rate.
  • Red flags: no token or cost estimate; peak load above provider quotas with no plan.

Worked numbers: knowledge assistant, quick reference.

4. Architecture#

Ask for a diagram and one request traced end to end — identity, retrieval with filters, gateway, model, tools, guardrails, response, tracing.

Reference shape most GenAI designs should resemble
flowchart LR
    U["Clients"] --> GW["API gateway<br/>auth, rate limit"]
    GW --> APP["Orchestrator / agent<br/>framework"]
    APP --> GR["Guardrails<br/>in / out"]
    APP --> RET["Retrieval<br/>hybrid + rerank + ACL"]
    RET --> IDX[("Index")]
    APP --> TOOLS["Tools / MCP gateway"]
    APP --> MEM[("State & memory")]
    APP --> AIGW["AI gateway"]
    AIGW --> LLM["Models<br/>primary, fallback, small"]
    ING["Ingestion pipeline"] --> IDX
    APP -.-> OBS["Tracing, evals, cost"]

Red flags: apps calling model providers directly with shared keys; no gateway; state held in one pod.

5. AI components#

Component Review questions
Knowledge Prompt, RAG or fine-tuning — and why? Chunking, hybrid search, reranking, ACL filters, freshness, deletes? GraphRAG justified?
Models Which tier and why? Routing, fallback, context window, data residency?
Prompts Versioned templates? Structured output with validation? Citations?
Agents Workflow or agent — justified? Autonomy level per action? Step and cost budgets? Memory and checkpoints?
Tools Task-level tools? MCP servers owned by domain teams? Identity from session, not model?
Frameworks Fit for language, control and platform? Lock-in mitigations (MCP, A2A, Git-managed prompts/evals, OpenTelemetry)?

Red flags: multi-agent design without a reason per agent; fine-tuning to teach facts; 50 retrieved chunks in the prompt.

6. Evaluation#

  • Golden dataset: source, size, coverage (no-answer, adversarial, permission-boundary cases), owner.
  • Retrieval metrics (recall@k, MRR) and generation metrics (faithfulness, relevance, correctness); agent outcome, trajectory and pass^k.
  • CI gate against a baseline; online sampling; user feedback; business A/B metrics.
  • Red flags: “we’ll test it manually”; only end-to-end scores; uncalibrated LLM judge.

7. Security and governance#

  • Retrieval and tool permissions per user; effective permission = user ∩ agent ∩ task (agent identity).
  • Prompt-injection defences: isolation of untrusted content, lethal-trifecta check, tool gating, output sanitisation.
  • Human approval thresholds; limits enforced in services, not prompts.
  • PII handling in prompts and logs; provider terms; AI inventory entry; risk tier; transparency to users.
  • Red flags: agent service account with admin rights; “the prompt tells it not to”; prompt logs with customer data and no retention policy.

8. Operations#

  • Scaling (stateless services, index sharding, provider quotas), timeouts, retries, circuit breakers, fallback models, degraded mode.
  • Cost levers (caching, routing, context trimming, budgets) and cost alerts.
  • Rollout plan: shadow → canary → progressive autonomy; kill switch; rollback of prompts and models.
  • Red flags: no degraded mode; no owner on call; autonomy at full level on day one.

Scoring rubric#

Score each area 0–3 and record the evidence:

Score Meaning
0 Missing — not considered
1 Mentioned — no concrete design
2 Designed — concrete choices, some gaps
3 Evidenced — concrete choices with numbers, tests or prototypes

A design is ready to build when no area scores 0, the high-risk areas for its risk tier (usually 6 and 7) score 3, and open gaps have owners and dates.

One-page review template#

System:                           Owner:                 Risk tier:
Decision requested:               Reviewers:             Date:

1 Problem & value        [0-3]  Evidence / gaps:
2 Requirements           [0-3]
3 Estimates              [0-3]
4 Architecture           [0-3]
5 AI components          [0-3]
6 Evaluation             [0-3]
7 Security & governance  [0-3]
8 Operations             [0-3]

Red flags found:
Conditions for approval (owner, date):
Decision: approve / approve with conditions / redesign

What strong designs have in common#

Signal Strong design Weak design
Framing Users, metrics, risks explicit Starts from a technology
Numbers Tokens, cost, peak TPM, storage No estimates
Simplicity Workflow before agent; pgvector before a new DB Multi-agent everything
Retrieval Hybrid, rerank, chunking, ACL filters, freshness “Put it in a vector DB”
Evaluation Datasets, metrics, CI gates, online monitoring Manual spot checks
Safety Injection, permissions, HITL, governance Prompt-only rules
Trade-offs Alternatives stated with reasons One option presented as obvious

Practice designs#

Review these designs with the framework (two have worked examples):

  1. Internal knowledge assistant for 50,000 employees — worked example.
  2. Customer-support agent that can issue refunds — worked example.
  3. Extracting data from 1 million invoices a month into an ERP.
  4. A coding-agent rollout for 2,000 developers with private repositories.
  5. Meeting-notes service pushing action items into Jira.
  6. Contract-review assistant flagging risky clauses for a legal team.
  7. An enterprise agent platform (gateways, registry, guardrails) for 30 product teams.
  8. A fraud-investigation agent querying transaction systems and drafting case reports.
  9. Multilingual semantic search with Q&A over 10 years of support tickets.
  10. An assistant for bank relationship managers, compliant with the EU AI Act.

Summary#

  • Review every AI design in eight areas: problem, requirements, estimates, architecture, AI components, evaluation, security and governance, operations.
  • Look for red flags; score 0–3 with evidence; approve with conditions and owners.
  • Strong designs are measurable, simple, permission-aware, evaluated and operable.