Raja Jeevan
Product & commerce · AI generalist
Portfolio ↗
EXPERIMENTS / FIELD GUIDE

Before an agent
meets the real world.

Short checks for the decisions, boundaries and evidence behind a production agent. Explore by topic, then follow the original guidance.

Version 1.0 · Reviewed 19 November 2026

JSON for agentsMarkdown for agentsSource list

01 / Scope and task contract

01.01

Write the agent's job in one sentence, with explicit out-of-scope requests.

Why this matters

If the team cannot agree on what the agent should refuse, it is too early to automate.

Uncoil, AI Agent Production Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: All agents
01.02

Define terminal states: success, partial success, clarification needed, refusal, human handoff, dependency failure, timeout, budget stop.

Why this matters

A fluent model response is not a terminal state.

Uncoil, AI Agent Production Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: All agents
01.03

Prefer the simplest pattern that solves the problem.

Why this matters

A single augmented LLM call, prompt chaining or routing covers more tasks than teams expect; reach for a fully autonomous agent only when the task genuinely needs open-ended decisions.

Anthropic, Building effective agents
official guidance · Reviewed 2026-11-19
Applies to: All agents

02 / Tool design and context engineering

02.01

Build a few high-impact tools instead of wrapping every API endpoint.

Why this matters

A `search_contacts` tool beats `list_contacts`; a `schedule_event` tool beats three list-and-create tools. Consolidate frequently chained calls into one tool.

Anthropic, Writing effective tools for agents
official guidance · Reviewed 2026-11-19
Applies to: All agents; most critical for tool-heavy agents
02.03

Namespace tools by service and resource (asana_projects_search, not search) once the agent has access to many.

Why this matters

Test naming schemes in your evals; the effect is measurable.

Anthropic, Writing effective tools for agents
official guidance · Reviewed 2026-11-19
Applies to: All agents; most critical for tool-heavy agents
02.04

Return high-signal, natural-language context from tools.

Why this matters

Resolve cryptic IDs to readable names where possible; offer `concise`/`detailed` response formats; paginate, filter or truncate large responses with a sensible default cap.

Anthropic, Writing effective tools for agents
official guidance · Reviewed 2026-11-19
Applies to: All agents; most critical for tool-heavy agents
02.06

Treat context as a finite budget.

Why this matters

Find the smallest set of high-signal tokens that produces the outcome; long contexts degrade recall ("context rot").

Anthropic, Effective context engineering for AI agents
official guidance · Reviewed 2026-11-19
Applies to: All agents; most critical for tool-heavy agents
02.07

Keep system prompts at the right altitude: neither brittle hardcoded if-else logic nor vague guidance that assumes shared context.

Why this matters

Start minimal on a strong model, add instructions only for observed failures.

Anthropic, Effective context engineering for AI agents
official guidance · Reviewed 2026-11-19
Applies to: All agents; most critical for tool-heavy agents
02.09

For long-horizon tasks, plan for compaction, structured note-taking and just-in-time retrieval (lightweight references the agent expands on demand) instead of front-loading everything.

Anthropic, Effective context engineering for AI agents
official guidance · Reviewed 2026-11-19
Applies to: All agents; most critical for tool-heavy agents

03 / Identity, authorization and least privilege

03.02

Decide between agent-auth and user-auth deliberately.

Why this matters

Agent-auth (service account) fits when all users share one access level. User-auth (OAuth on behalf of the controlling user) keeps the agent within that user's delegated permissions, but delegated scopes are often broader than the agent needs: bound the scopes and enforce resource-level authorization on top. Log attribution either way.

Google, ADK: Safety and Security for AI Agents
official guidance · Reviewed 2026-11-19
Applies to: Agents acting on external systems or user data
03.03

Enforce tool allow-lists outside the model.

Why this matters

A policy check runs before each call and blocks anything not on the list. This keeps tool access independent of what the model asks for, including under prompt injection, but it is a control, not a guarantee: it depends on correct configuration, policy integrity and adversarial testing.

Diagrid, LangGraph in Production: 12-Point Checklist · OWASP, AI Agent Security Cheat Sheet
cross source synthesis · Reviewed 2026-11-19
Applies to: Agents acting on external systems or user data
03.04

Scope permissions per tool: read-only versus write, specific resources, blocked patterns (no *.env, *.key, *secret* in a file tool).

Why this matters

Fail closed on unknown tools.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents acting on external systems or user data
03.05

Keep authorization in the execution component, not the prompt.

Why this matters

A `user_confirmed` flag is insufficient: verify the approval belongs to the current actor and exact call, is unexpired and unconsumed, and consume it atomically at execution.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents acting on external systems or user data

04 / Guardrails and content safety

04.01

Layer multiple guardrail types: relevance classifier (off-topic queries), safety classifier (jailbreak/injection attempts), PII filter on outputs, moderation (hate/harassment/violence), rules-based checks (blocklists, length limits, regex) and output validation for brand alignment.

OpenAI, A Practical Guide to Building Agents
official guidance · Reviewed 2026-11-19
Applies to: All user-facing agents
04.02

Run pre-LLM guardrails (PII redaction, sensitive-data blocking, injection detection on input) and post-LLM guardrails (hallucination checks, toxicity, tool/action validation, format compliance).

Why this matters

Post-LLM guardrails can drive a self-correction loop: flag, feed back, revise, only then show the user.

Arthur, Your Checklist to Launch a Production-Ready AI Agent
third party interpretation · Reviewed 2026-11-19
Applies to: All user-facing agents
04.03

Rate every tool low/medium/high risk by read vs write, reversibility, permissions and financial impact; trigger extra checks or human escalation on high-risk calls.

OpenAI, A Practical Guide to Building Agents
official guidance · Reviewed 2026-11-19
Applies to: All user-facing agents
04.04

Build in-tool guardrails with developer-set context: the tool receives policy (allowed tables, SELECT-only) from the developer, not from model arguments, and enforces it in code.

Why this matters

Example: Google ADK ToolContext policies.

Google, ADK: Safety and Security for AI Agents
official guidance · Reviewed 2026-11-19
Applies to: All user-facing agents

05 / Security and adversarial testing

05.01

Treat all external data as untrusted: user messages, retrieved documents, web pages, emails, API responses.

Why this matters

Sanitize before it enters context; use delimiters between instructions and data; consider a separate LLM call to summarize untrusted content.

OWASP, AI Agent Security Cheat Sheet · Google, ADK: Safety and Security for AI Agents
cross source synthesis · Reviewed 2026-11-19
Applies to: Agents exposed to untrusted input or external content
05.04

Protect against memory poisoning: validate and sanitize before persistence, isolate memory per user/session, set expiry and size limits, audit for sensitive data, use integrity checks on long-term memory.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents exposed to untrusted input or external content
05.05

Secure multi-agent communication: trust boundaries between agents, authenticated and signed inter-agent messages (with replay protection), the receiving service enforces the sender's permissions, circuit breakers against cascading failures.

Why this matters

A valid signature grants no permission by itself.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents exposed to untrusted input or external content
05.07

Run structured adversarial testing before launch and after every material change to prompts, tools, memory, retrieval, policies or model provider.

Why this matters

Repeatable abuse cases: prompt override, tool misuse, privilege escalation, memory poisoning, data exfiltration, recursive tool abuse, approval bypass, multi-agent chaining.

OWASP, AI Agent Security Cheat Sheet · AWS Machine Learning Blog, Responsible AI for agentic AI: a phased roadmap
cross source synthesis · Reviewed 2026-11-19
Applies to: Agents exposed to untrusted input or external content
05.08

Version-control your red-team prompts and expected denials, run them in CI/CD, and block releases when high-risk tool policies change without updated tests.

Why this matters

Never store secrets or live customer data in test fixtures.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents exposed to untrusted input or external content

06 / Evaluation and quality measurement

06.02

Set up a repeatable evaluation system before launch, however simple.

Why this matters

Any repeatable evaluation system beats vibe checks. Start small: scenarios, simulated users, and read 5-20 raw traces with a red pen before automating anything.

Google Developers Blog, Evaluating AI agents: moving past the vibe check
official guidance · Reviewed 2026-11-19
Applies to: All agents
06.03

Build a golden dataset of scenarios (happy paths and edge cases; simulated users first, real production traces as they arrive).

Why this matters

Keep it frozen while tuning so your baseline stays comparable; change one variable at a time.

Google Developers Blog, Evaluating AI agents: moving past the vibe check
official guidance · Reviewed 2026-11-19
Applies to: All agents
06.06

Evaluate the whole system, not the prose: latency, token consumption, API cost and tool-call counts alongside answer quality.

Why this matters

A perfect answer that takes 40 seconds and 12 redundant calls is a production failure.

Google Developers Blog, Evaluating AI agents: moving past the vibe check
official guidance · Reviewed 2026-11-19
Applies to: All agents
06.10

Run continuous unsupervised evals on live production traffic (hallucination, completeness, topic adherence, goal accuracy) so you learn about failures before users complain.

Why this matters

Make evals binary and specific, with boundary examples in the eval prompt.

Arthur, Your Checklist to Launch a Production-Ready AI Agent
third party interpretation · Reviewed 2026-11-19
Applies to: All agents
06.14

Measure reliability, not just accuracy: task success rate, repeated-run consistency, recovery rate, false-completion rate, constraint loss, escalation rate, cost and latency, sliced by workflow and risk.

Arize, Agent Reliability: How to Measure AI Agents in Production
third party interpretation · Reviewed 2026-11-19
Applies to: All agents

07 / Reliability, error handling and recovery

07.01

Sort every failure into four buckets: transient (retry), permanent (do not retry), needs a person (escalate), fatal (stop the run).

Why this matters

Every tool returns a structured error your graph can route on.

Diagrid, LangGraph in Production: 12-Point Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: Agents with external side effects or availability requirements
07.03

Define fallbacks for exhausted retries: cached response, backup endpoint, simpler model or prompt, safe default, or human escalation.

Why this matters

Design graceful degradation (partial functionality beats none).

n8n, 15 best practices for deploying AI agents in production
official guidance · Reviewed 2026-11-19
Applies to: Agents with external side effects or availability requirements
07.05

Persist state with a production checkpointer (for LangGraph: PostgresSaver or equivalent shared storage, not InMemorySaver), keep state small and JSON-serializable, store large payloads by reference, and use domain-meaningful thread IDs.

LangGraph docs, Persistence · Diagrid, LangGraph in Production: 12-Point Checklist
cross source synthesis · Reviewed 2026-11-19
Applies to: Agents with external side effects or availability requirements
07.06

Build dead-run detection and single-owner resume; checkpoints alone restart nothing.

Why this matters

Something must detect a dead worker and resume the run, with a lock so two workers never drive the same thread. Build it or use a durable execution runtime.

Diagrid, LangGraph in Production: 12-Point Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: Agents with external side effects or availability requirements
07.07

Rehearse failure paths before launch: kill a worker mid-node, make a tool raise, make the model return malformed output, test provider timeouts, empty retrieval, stale memory, duplicate delivery, human-review timeout.

Why this matters

Confirm no side effect ran twice and the run ends with a truthful status.

Diagrid, LangGraph in Production: 12-Point Checklist · Uncoil, AI Agent Production Checklist
cross source synthesis · Reviewed 2026-11-19
Applies to: Agents with external side effects or availability requirements
07.08

Watch for the quiet failures: false completion (claims success without evidence), no-progress loops, partial completion leaving inconsistent state, constraint loss, harmful success.

Why this matters

Clean spans and a fluent answer can coexist with a failed task.

Arize, Agent Reliability: How to Measure AI Agents in Production
third party interpretation · Reviewed 2026-11-19
Applies to: Agents with external side effects or availability requirements

08 / Observability, tracing and audit

08.01

Instrument at minimum: every LLM call (prompt, completion, tokens, cost), every tool invocation, every retrieval, application metadata (user/session IDs) and key decision points.

Arthur, Your Checklist to Launch a Production-Ready AI Agent
third party interpretation · Reviewed 2026-11-19
Applies to: All production agents
08.05

Test observability before launch: open one successful and one failed trace; have a teammate who did not build the system explain the failure; fix every question that needs tribal knowledge.

Uncoil, AI Agent Production Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: All production agents

09 / Human oversight and approvals

09.02

Bind approval to the exact action: actor, tool, target, normalized parameters, timestamp, expiry; short-lived authorization artifacts with replay protection; step-up authentication for critical actions.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents with high-impact or irreversible actions
09.03

Separate decision from execution: the agent proposes; an independent policy/execution component validates scope, privilege and approval state.

OWASP, AI Agent Security Cheat Sheet
official guidance · Reviewed 2026-11-19
Applies to: Agents with high-impact or irreversible actions
09.04

Match oversight depth to risk.

Why this matters

Per-action approval does not scale; plan-level approval (review and approve the whole plan up front, intervene anytime) keeps humans in control without tuning out.

Anthropic, Trustworthy agents in practice
official guidance · Reviewed 2026-11-19
Applies to: Agents with high-impact or irreversible actions
09.05

Calibrate when the agent pauses versus assumes.

Why this matters

Train and prompt for raising concerns and seeking clarification over acting on assumptions; an agent that never asks will eventually misread intent.

Anthropic, Trustworthy agents in practice
official guidance · Reviewed 2026-11-19
Applies to: Agents with high-impact or irreversible actions
09.06

Use framework HITL primitives correctly.

Why this matters

Example: LangGraph `interrupt()` needs a persistent checkpointer, idempotent code above the interrupt (the node reruns on resume), and your own timeout/escalation when nobody answers.

LangChain docs, Human-in-the-loop · Diagrid, LangGraph in Production: 12-Point Checklist
cross source synthesis · Reviewed 2026-11-19
Applies to: Agents with high-impact or irreversible actions

10 / Cost and resource limits

10.05

Monitor queue depth, worker utilization and execution times if you scale with queue-based workers; set workflow timeouts so long-running jobs do not block the queue.

n8n, 15 best practices for deploying AI agents in production
official guidance · Reviewed 2026-11-19
Applies to: Agents on paid model APIs or with meaningful usage volume

11 / Deployment and rollout

11.01

Separate dev, staging and production environments, with staging mirroring production (same config, worker setup, test credentials, similar data volumes).

Why this matters

Never edit production workflows directly.

n8n, 15 best practices for deploying AI agents in production
official guidance · Reviewed 2026-11-19
Applies to: All production launches
11.04

Plan for in-flight runs on deploy: a paused thread resumes on whatever version you deploy next.

Why this matters

Check how renamed or removed nodes affect paused threads before rolling out.

Diagrid, LangGraph in Production: 12-Point Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: All production launches
11.06

Record the launch decision in writing: enable, enable with limits, or do not enable; the evidence considered, the known boundary, the next review date.

Why this matters

Launching smaller with observable limits is often the fastest safe path.

Uncoil, AI Agent Production Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: All production launches

12 / Operations, ownership and governance

12.01

Name the humans: workflow owner, on-call route, release approver, data-retention owner, rollback authority.

Why this matters

A dashboard without an owner is a report, not a control.

Uncoil, AI Agent Production Checklist
third party interpretation · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.02

Alert on what matters: task failure, policy blocks, cost spikes, latency tail, evaluator regressions, queue backlog, unusual agent behavior.

Why this matters

Every alert needs an evidence link and a first response; avoid alerts that only say "AI is behaving strangely."

Uncoil, AI Agent Production Checklist · OWASP, AI Agent Security Cheat Sheet
cross source synthesis · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.04

Collect user feedback directly (ratings, thumbs) bypassing the agent, and review low-rated or high-escalation workflows on a cadence.

n8n, 15 best practices for deploying AI agents in production
official guidance · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.06

Classify risk tiers up front aligned to your obligations (EU AI Act tiers, industry rules) and document the controls each tier triggers.

Why this matters

Nothing reaches production without meeting the release criteria for its tier.

AWS Machine Learning Blog, Responsible AI for agentic AI: a phased roadmap
official guidance · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.07

Keep decision audit trails and provenance labels on reusable outputs; disclose AI presence in user-facing interactions; be able to assemble an audit report quickly.

AWS Machine Learning Blog, Responsible AI for agentic AI: a phased roadmap
official guidance · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.09

Reassess on a standing cadence and on triggers: new use case, new model or model update, new tools, new customer segment, new threat, prompt change, regulatory change, behavior change.

AWS Machine Learning Blog, Responsible AI for agentic AI: a phased roadmap
official guidance · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.10

List what enters prompts, traces, caches, eval datasets and third-party services; apply redaction before export; confirm retention and deletion for raw inputs, outputs, embeddings and reviewer notes; comply with GDPR/CCPA-type obligations.

Why this matters

Do not promise security or residency properties you cannot prove.

Uncoil, AI Agent Production Checklist · OWASP, AI Agent Security Cheat Sheet
cross source synthesis · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope
12.11

Retire agents gracefully: check dependencies, deactivate triggers, monitor for unexpected calls for 1-2 weeks, archive, export to Git, revoke dedicated credentials, remove webhooks, update docs.

n8n, 15 best practices for deploying AI agents in production
official guidance · Reviewed 2026-11-19
Applies to: All production agents; regulatory items where the agent is in regulatory scope

Framework examples

Named mechanisms from the sources, not additional checks or a compatibility guarantee. Follow the source documentation for versions and limits.

Google ADK

in-tool guardrails via developer-set ToolContext policy; before/after callbacks and plugins to validate model and tool calls; small-model screening (e.g. Flash Lite classifiers); sandboxed code execution; VPC-SC perimeters; user-auth via OAuth; ADK user simulations and the agent-eval toolkit for Day-0/Day-1 evaluation.

LangGraph

official persistence docs (checkpointer vs store, PostgresSaver for multi-worker production) and human-in-the-loop docs (interrupt decision types, approve/edit/reject review configs); RetryPolicy, recursion_limit, node timeouts, LangSmith tracing. Identity, tool policy, dead-worker detection and rollout remain yours to add.

CrewAI

Flows with state management, task guardrails, structured outputs, LLM hooks, async execution and persistence; crews as units of work inside deterministic flows.

OpenAI Agents SDK

input and output guardrails as tripwires, plus tool guardrails that run on every guarded tool invocation (use these, not only agent-level guardrails, in manager/handoff workflows); tool risk ratings driving pauses or escalation; handoffs for specialization.

n8n

queue mode with Redis and workers, error workflows, per-node retry/continue-on-error, fallback models on the Agent node, Evals feature with evaluations trigger, structured output parser, Wait node for custom HITL, log streaming and Git-based workflow versioning; error workflows are configured per workflow in settings per the official docs.

Follow the original guidance

Framework documentation, security guidance and vendor interpretations. Sources reviewed 19 November 2026. Source S11 is consulted further reading, not direct evidence for a check.

  1. S1 · OpenAI, A Practical Guide to Building Agents · official
  2. S2 · Anthropic, Building effective agents · official
  3. S3 · Anthropic, Writing effective tools for agents · official
  4. S4 · Anthropic, Effective context engineering for AI agents · official
  5. S5 · Anthropic, Trustworthy agents in practice · official
  6. S6 · Google, ADK: Safety and Security for AI Agents · official
  7. S7 · Google Developers Blog, Evaluating AI agents: moving past the vibe check · official
  8. S8 · OWASP, AI Agent Security Cheat Sheet · standards body
  9. S9 · OWASP GenAI Security Project, Top 10 for Agentic Applications · standards body
  10. S10 · n8n, 15 best practices for deploying AI agents in production · official
  11. S11 · n8n, AI agent reliability: debug, evaluate and monitor in production · official
  12. S12 · Diagrid, LangGraph in Production: 12-Point Checklist · third party
  13. S13 · CrewAI, Production Architecture · official
  14. S14 · Arthur, Your Checklist to Launch a Production-Ready AI Agent · third party
  15. S15 · Uncoil, AI Agent Production Checklist · third party
  16. S16 · AWS Machine Learning Blog, Responsible AI for agentic AI: a phased roadmap · official
  17. S17 · AWS Architecture Blog, Inside an enterprise AI agent: a governed, observable loop architecture · official
  18. S18 · Arize, Agent Reliability: How to Measure AI Agents in Production · third party
  19. S19 · Akka, Production readiness checklist for agentic AI workloads · official
  20. S20 · LangGraph docs, Persistence · official
  21. S21 · LangChain docs, Human-in-the-loop · official
  22. S22 · OpenAI Agents SDK docs, Guardrails · official
  23. S23 · n8n docs, Handle errors gracefully · official

Review history

19 November 2026: version 1.0, 101 checks across 12 topics. Weekly source watch for material changes; full source re-review planned for February 2027. Updates are dated, not guaranteed instantaneous.