Agentic Design Patterns
5 exercises — master the vocabulary of advanced agent architectures: planner-executor separation, reflection loops, three-tier memory, RAG, and event-driven proactive agents.
0 / 5 completed
Agentic patterns vocabulary quick reference
- Planner-executor — planner creates a multi-step plan; executor carries out each step
- Reflection loop — agent evaluates its own output and iteratively revises it
- Critique agent — a specialist agent whose role is to evaluate another agent's output
- In-context memory — current conversation window (limited by context size)
- Episodic memory — stored past interactions, retrieved by user/session ID
- Semantic memory — factual knowledge stored in a vector database
- RAG — Retrieval-Augmented Generation: retrieve docs → inject into prompt → generate grounded output
- Event-driven agent — triggers autonomously based on external events or schedules
1 / 5
What is the "planner-executor" agentic pattern?
The planner-executor pattern separates high-level strategy from low-level execution.
Why the separation matters:
Mixing planning and execution in one agent causes the agent to make short-sighted decisions — it acts before seeing the full picture. Separating them gives better results on complex, multi-step tasks.
How the pattern works:
① Planner agent receives the goal and produces a complete plan:
② Executor agent(s) receive the plan step by step and execute each one
③ Each step's result is fed back — executor may return to planner for replanning if a step fails
Variants:
• Static planning — full plan is created upfront before any execution
• Dynamic replanning — planner revises the plan after each step based on new information
Key vocabulary:
• Planner agent — creates structured, multi-step execution plans
• Executor agent — carries out individual steps from the plan
• Replanning — revising the plan mid-execution when context changes
• Plan step — one atomic task in the planner's output
Why the separation matters:
Mixing planning and execution in one agent causes the agent to make short-sighted decisions — it acts before seeing the full picture. Separating them gives better results on complex, multi-step tasks.
How the pattern works:
① Planner agent receives the goal and produces a complete plan:
Step 1: Retrieve customer's order historyStep 2: Check inventory for items in last orderStep 3: Identify items that are back in stockStep 4: Draft a personalised restock email② Executor agent(s) receive the plan step by step and execute each one
③ Each step's result is fed back — executor may return to planner for replanning if a step fails
Variants:
• Static planning — full plan is created upfront before any execution
• Dynamic replanning — planner revises the plan after each step based on new information
Key vocabulary:
• Planner agent — creates structured, multi-step execution plans
• Executor agent — carries out individual steps from the plan
• Replanning — revising the plan mid-execution when context changes
• Plan step — one atomic task in the planner's output
Explore more: All AI Agents Language exercises →