Quick Start
How It Works
Simple
Agents: 1 — Single agent analyzes preferences and generates recommendations.Workflow
- Receive user preferences
- Search for current options
- Generate personalized recommendations
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 preference tracking
- Configure SQLite persistence for recommendation history
- Search and recommend with structured output
- Store preferences in memory for personalization
- Resume session for refined recommendations
Setup
Run — Python
Run — CLI
Run — agents.yaml
Serve API
Monitor / Verify
Cleanup
Features Demonstrated
| Feature | Implementation |
|---|---|
| Workflow | Personalized recommendation generation |
| DB Persistence | SQLite via memory_config |
| Observability | --verbose flag |
| Tools | DuckDuckGo search |
| Resumability | Session with session_id |
| Structured Output | Pydantic Recommendation model |
Best Practices
Capture preferences explicitly
Capture preferences explicitly
Spell out likes, dislikes, and constraints in the prompt. Vague requests yield generic lists; concrete taste signals produce recommendations users act on.
Enable memory for personalisation
Enable memory for personalisation
Set
memory=True so the agent remembers taste across sessions and stops re-recommending items the user already rejected.Return structured recommendations
Return structured recommendations
Use
output_pydantic with items, descriptions, and ratings fields so a UI can render cards or a table directly.Hand off to Shopping for purchase decisions
Hand off to Shopping for purchase decisions
When a recommendation turns into a buy, switch to the Shopping Agent to compare prices across stores.
Related
Compare prices once a user picks an item.
Research options in depth before recommending.

