Skip to main content
ExampleDescription
QuickstartStarter examples for creating and running agents with core settings.
Input OutputExamples for input formats, validation schemas, streaming, and structured outputs.
Context ManagementExamples for instructions, system messages, introduction messages, and context shaping.
ToolsExamples for callable tool factories, tool choice, and tool call limits.
State And SessionExamples for session state management, chat history, and session persistence.
Memory And LearningExamples for persistent memory and learning behavior.
KnowledgeExamples for retrieval-augmented generation, knowledge filters, and custom retrievers.
GuardrailsExamples for input/output safety checks and policy enforcement.
HooksExamples for pre-hooks, post-hooks, tool hooks, and stream lifecycle hooks.
Human In The LoopExamples for confirmation flows, user input prompts, and external tool handling.
ApprovalsThese cookbooks demonstrate the @approval decorator for human-in-the-loop (HITL) approval workflows.
MultimodalExamples for image/audio/video processing patterns.
ReasoningExamples for explicit multi-step reasoning behavior.
AdvancedAdvanced examples covering caching, compression, concurrency, events, retries, debugging, culture, and serialization.
DependenciesExamples for runtime dependency injection and dynamic runtime inputs.
SkillsExamples for defining and using agent skills and helper scripts.