AI Agents Cheat Sheet
One-page AI agents cheat sheet: the agent stack, core definitions, mental models, archetypes, buzzword-to-engineering translations, and ten memory rules to recite.
The one sentence: an AI agent is a stateless text-prediction
function, wrapped in a loop, given tools and a goal, run by ordinary code.
The two diagrams
REQUEST PATH THE LOOP (the engine)
User ┌───────────────────┐
↓ ▼ │
Agent (LLM+loop) OBSERVE ─▶ THINK ─▶ ACT─┘
↓ (result) (LLM picks)(run tool)
Tool (model asks, │
↓ runtime runs) ▼ goal met? → DONE
Billing Service else loop (to max-steps)
↓
Database
Definitions (compressed)
Mental models
LLM = Brain (no memory, no hands)
Tool = Hands / a callable function
Agent = Brain + Tools + Loop + Goal
Runtime = App server that runs the loop + rules
Memory = What runtime reloads (RAM vs disk)
Workflow = Developer chooses the path
Agent = Model chooses the path
MCP = USB-C / JDBC for tools
(server=device, client=port)
Single = Monolith Multi = Microservices
Archetype= Same engine + diff tools + diff job
Archetype = same engine, diff job
Three rules for the VP chair
- Default to workflows; pick agents only when the path can’t be predetermined.
- Start single-agent; split to multi-agent like microservices — reluctantly, with evidence.
- To judge a pitch, ignore the brand: what tools? what loop? what guardrails?
Buzzword → engineering translation
Ten memory rules (recite these)
- LLM — stateless text-prediction function; brain in a jar, no memory, no hands.
- Tool — a typed function the model requests but never runs; calling = model asks, runtime does.
- Agent — LLM + tools + loop + goal; the model picks the path.
- Loop — a K8s reconciliation loop for intent: observe, think, act, repeat.
- Runtime — the app server hosting the loop; holds state, runs tools, enforces guardrails.
- Memory — what the runtime reloads into the prompt; context is RAM, the store is disk.
- Workflow vs agent — you write the if/else vs the model writes it; choose by predictability.
- MCP — USB-C for tools; server = device, client = port, registry = catalog.
- Single vs multi — monolith vs microservices; split only when one context/role can’t cope.
- Archetypes — same engine + different tools + different job description.
5-minute review (weekly) & 30-minute deep dive (when stalled)
5-min: recall, don’t re-read — say the one sentence; draw both
diagrams from memory; recite the ten rules; translate three buzzwords blind. 30-min:
blank-page reconstruct all ten levels; then re-derive the chain of necessity (each layer forces the
next: stateless LLM → tools → loop → runtime → memory → workflow/agent → MCP → single/multi → archetypes);
then place one real product on the spectrum (workflow/agent? single/multi? which archetype? which tools?).