Operations
Patterns
Reusable control structures. When to use each, how it fails, and how to evaluate it.
Human-in-the-Loop PatternHITL patterns pause agents for human approval, clarification, or takeover on risky or ambiguous steps.intermediateMemory Systems PatternPatterns for agent memory: working state, summaries, long-term stores, and retrieval with governance.intermediateMulti-Agent PatternMulti-agent systems split work across specialized agents with defined roles, handoffs, and shared state.advancedPlan-and-Execute PatternPlan-and-execute agents draft a multi-step plan first, then carry out steps with optional re-planning.intermediateReAct PatternReAct interleaves reasoning traces with tool actions so agents can think, act, and observe in a loop.beginnerReflection and Self-Critique PatternReflection patterns add a critique step so agents can check work, catch errors, and improve outputs before finalizing.intermediateRouting and Handoffs PatternRouting patterns send tasks to the right agent, model, or workflow based on intent, risk, and skills.intermediateTool Use PatternHow agents call tools reliably: schemas, selection, error handling, permissions, and verification of side effects.beginner