The tutorials follow a progressive learning path. Start with Build Your First Agent and work through them sequentially for the best experience.
1. Build Your First Agent
Create a coffee shop greeter agent, then extend it into a travel assistant that calls external APIs.You’ll learn:
- Define agents using
AGENT,GOAL,PERSONA,INSTRUCTIONS, andLIMITATIONSblocks - Add inline, HTTP, MCP, and sandbox tool contracts
- Import shared tools from
.tools.ablfiles - Test agents and read trace output in Studio
2. Add Structured Steps to an Agent
Add a
FLOW section to a hotel booking agent that guides users step-by-step through a reservation.You’ll learn:- Structure a conversation with named steps and
THENtransitions - Collect typed user input with
GATHER - Branch on user responses with
ON_INPUT - Handle tool call results with
ON_SUCCESSandON_FAIL
3. Multi-Agent and Knowledge
Build a retail support system with a supervisor that routes to specialist agents, then add a knowledge base for RAG-powered answers.You’ll learn:
- Create a
SUPERVISORwithHANDOFFrouting rules - Pass context between agents with
CONTEXTandRETURN - Ingest documents into a knowledge base
- Connect knowledge base search tools to agents
4. Safety, Testing and Publishing
Add guardrails, run automated evaluations, and publish your agent to a Web channel with production monitoring.You’ll learn:
- Configure input and output
GUARDRAILSfor PII and toxicity - Enforce business logic with
CONSTRAINTS - Create test personas, scenarios, and evaluators
- Publish to a channel and monitor sessions and errors in production