Library

Volume 2 · Agentic AI Systems

Notebook
Sign in

Cheat Sheet — Part 4: Agentic AI Systems

676 words · about 3 min

Key Terms

Term In one line
Agent vs workflow Workflow = pre-defined DAG, fixed paths, easy to debug. Agent = model chooses the path at runtime
ReAct Reason → Act → Observe, looped; the most common production agent pattern
Plan-and-Execute Plan the whole task upfront, then execute steps; better for long multi-step work
Reflexion Agent critiques its own trajectory and retries with the lesson carried forward
Hierarchical Manager agent delegating to worker agents
Dynamic routing Classifier sends the request to the right specialist — the production default for assistants
Structured state A typed state object rather than a raw transcript; the production memory choice
Checkpoint & resume Persist state so a long task survives a crash or a human approval gate
Blast radius What breaks if this action is wrong — the axis approval should scale on

Numbers That Matter

Figure Value Where it bites
Plan-and-Execute threshold 5+ steps Where ordering matters and partial-failure recovery is needed
Approval ladder Read-only: none · low-risk batch: batch approval · formal/legal document: individual · sensitive record: individual · rules/config: manager + compliance · model deploy: architecture review The governance table to reproduce
Risk tiers Read-only → diagnostic → reversible → irreversible → critical Map every tool to one before you ship
Post-execution watch Auto-rollback if health checks fail within ~5 min Layer 5 of defense in depth
Cost ceiling Per-task token budget scaled to task value The guardrail that stops a planner loop from spending real money

Decision Rules

  • Most enterprise “agentic” systems are hybrid — structured workflows with agentic decision points at specific nodes. Fully autonomous agents are rare in production, and saying so is a credibility signal, not a hedge.
  • Prefer a workflow when the process is well understood and repeatable. Reach for an agent only when the path genuinely can’t be enumerated in advance. Agents cost you predictability and debuggability.
  • Autonomy is earned, not granted. Ship in suggest-only mode, measure accuracy against real decisions, then expand the auto-approved band. Never launch at full autonomy on a promise.
  • Scale approval by blast radius, not confidence alone. High confidence on an irreversible action still needs a human, because the cost of being wrong is asymmetric.
  • Every agent needs three limits: max iterations, a cost ceiling, and an explicit termination criterion. Loop failures are the most common agentic incident, and they’re always missing one of these three.
  • Structured state beats raw transcript. Appending every turn burns context and degrades quality; a typed state object plus retrieval-augmented episodic memory scales.
  • Framework choice: LangGraph for explicit graph state machines, CrewAI for role-based crews, AutoGen for conversational multi-agent, Semantic Kernel for .NET plugin/planner shops, managed agent services when you want the ops burden gone. Pick by control-flow needs and the language your team lives in.

Say This Out Loud

“The distinction I’d draw first is agent versus workflow. A workflow is a pre-defined DAG — fixed paths, high predictability, trivial to debug by tracing the graph. An agent decides its own path at runtime, which buys flexibility and costs you predictability. Most enterprise systems that get called agentic are actually hybrid: a structured workflow with agentic decision points at a few nodes. That’s usually the right answer, because it puts the non-determinism only where you need it.”

“Every agent I ship has three hard limits: a maximum iteration count, a cost ceiling scaled to the task’s value, and an explicit termination criterion. The most common agentic incident I’ve seen isn’t bad reasoning — it’s a planner with no stopping condition spending real money going in circles. Reasoning quality is a tuning problem; loop control is a design problem.”

“Autonomy is earned, not granted. We launch in suggest-only mode, measure the agent’s recommendations against what humans actually decided, and only then expand the band of actions it can take without approval. And the ladder scales with blast radius rather than confidence — a high-confidence irreversible action still goes to a person, because confidence tells you how often you’re right and blast radius tells you what it costs when you aren’t.”