Agentic AI Production Readiness Template (2026 Edition) Use this template to move from prototype to production without reliability, security, or cost surprises. 1) Scope & Success Definition - Choose ONE workflow (example: “triage IT tickets” or “draft support replies with citations”). - Define success metrics and thresholds you can enforce: - Task success rate on an offline eval set: ____ (set a target that matches risk) - Policy violations per tool call: ____ (target should be near-zero) - P95 time-to-resolution: ____ (set a target appropriate for the channel) - P95 cost per task: ____ (set a hard cap you will not exceed) - Define stop conditions (when the agent must ask or escalate): missing required fields, conflicting user instructions, repeated tool failures, policy denial. 2) Tooling Design (Least Privilege) - Offer narrow tools, not broad endpoints. - Enforce server-side validation: schema checks, amount limits, row-level security. - Prefer idempotent actions; include a dry_run=true mode. - Map the agent identity to real RBAC/IAM roles; rotate secrets; avoid long-lived tokens. 3) Policy & Approvals - Define action tiers: - Tier 0: Read-only - Tier 1: Low-risk writes (example: create/update a ticket) - Tier 2: Financial, legal, or security impact (example: refunds, account access changes, firewall rules) - For Tier 2, require approvals above a threshold: $____ or risk score >____. - Set hard session budgets: - Max tool calls: ____ - Max wall-clock time: ____ - Max model spend: ____ 4) Evaluation & Testing - Build a golden eval set (size depends on workflow maturity) with edge cases and past incidents. - Run scheduled regression tests; pin model versions for critical flows. - Add adversarial tests: prompt injection in retrieved docs, malicious links, conflicting instructions. - Define release gates: no unacceptable regression on key metrics. 5) Observability & Audit - Trace every task with a correlation ID. - Log: tool name, parameters, result status, retrieved sources/citations, policy decision, model + prompt versions. - Maintain an action ledger for write operations (who/what/when/why). - Build dashboards: success rate, escalation rate, tool error rate, cost per task, unsafe action attempts. 6) Rollout Plan - Phase 1: Internal users only + read-only. - Phase 2: Low-risk writes with approvals and tight caps. - Phase 3: Expand via canary traffic with auto-rollback on error spikes. - Define incident response: on-call owner, runbooks, and postmortems. 7) Operations (Ongoing) - Prompt/policy changes require review and a changelog. - Run periodic access reviews and security assessments. - Do a regular cost review: top workflows by spend, top tools by retries, root causes of escalations. If you can’t measure success, cost, and policy compliance, you can’t run an agent safely.