This repository contains the hands-on exercises for the O’Reilly Live Event:
.
├── hands_on/ # Hands-on exercises
├── helper_functions/ # Helper functions for some notebooks
└── README.md
Concepts
- State machines and typed state
- Tool integration in LangGraph
- Deterministic control flow
Exercise
Build a minimal stateful agent with one tool.
Concepts
- Chain of Thought and ReAct
- Planner–executor vs unified agents
- Test-time compute tradeoffs
- Error propagation and validation
Exercise
Compare a simple agent with a planner–judge setup.
Concepts
- Autonomy vs oversight
- Checkpointing and state inspection
- Interrupt and resume patterns
Exercise
Insert a human approval gate into your workflow.
Concepts
- Supervisor-based architectures
- Role separation
- Delegation and task routing
Exercise
Transform a single-agent workflow into a two-agent system.
Concepts
- Message passing vs shared memory
- Event-driven coordination
- Handoff reliability
Exercise
Swap a communication strategy and observe system behavior changes.
Concepts
- Schema-based prompting
- Pydantic validation
- Model Context Protocol (MCP)
Exercise
Turn free-form input into validated structured tool calls.
Concepts
- Episodic vs procedural memory
- Checkpointing
- Context engineering
Exercise
Add simple episodic and procedural memory to your agent.
Concepts
- Planner vs unified agents
- Thinking vs non-thinking modes
- Dense vs MoE models
- KV cache considerations
Exercise
Switch planning modes and compare latency and decision quality.
Concepts
- Logging state transitions
- Monitoring workflows
- Task-specific evaluation
Exercise
Add logging hooks and compare two workflow runs.
Concepts
- Tool misuse and memory poisoning
- Schema enforcement
- Secure execution patterns
Exercise
Add policy checks and validation to an existing workflow.
All notebooks are designed for Google Colab.
- Click the Colab link
Design deliberately.
Deploy responsibly.
