Quick Start
How It Works
Simple
Agents: 1 — Single agent with search tool handles research and planning.Workflow
- Receive travel request
- Search for flights and hotels
- Generate detailed itinerary
Setup
Run — Python
Run — CLI
Run — agents.yaml
Serve API
Advanced Workflow (All Features)
Agents: 1 — Single agent with memory, persistence, structured output, and session resumability.Workflow
- Initialize session for trip tracking
- Configure SQLite persistence for travel history
- Search and plan with structured output
- Store itinerary in memory for modifications
- Resume session for trip updates
Setup
Run — Python
Run — CLI
Run — agents.yaml
Serve API
Monitor / Verify
Cleanup
Features Demonstrated
| Feature | Implementation |
|---|---|
| Workflow | Multi-step travel planning |
| DB Persistence | SQLite via memory_config |
| Observability | --verbose flag |
| Tools | DuckDuckGo search |
| Resumability | Session with session_id |
| Structured Output | Pydantic Itinerary model |
Best Practices
State constraints up front
State constraints up front
Include dates, budget, and party size in the prompt. The agent searches more effectively when it knows the boundaries instead of guessing.
Use structured output for itineraries
Use structured output for itineraries
Define a Pydantic schema with
destination, daily_plans, and estimated_cost so the plan renders cleanly in a UI or calendar.Enable memory for trip revisions
Enable memory for trip revisions
Set
memory=True so the agent tweaks an existing itinerary — swapping a hotel or a day — without rebuilding it from scratch.Combine with Research for deep destination info
Combine with Research for deep destination info
Hand off to the Research Agent when a trip needs visa rules or in-depth local guides beyond quick search snippets.
Related
Research destinations in depth before planning.
Compare prices for flights, hotels, and gear.

