Quick Start
How It Works
Simple
Agents: 1 — Single agent with search tool handles query and summarization.Workflow
- Receive search query
- Execute web search via DuckDuckGo
- Filter and summarize results
- Return formatted response
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 resumable search context
- Configure SQLite persistence for search history
- Execute search with structured JSON output
- Store results in memory for follow-up queries
- Resume session to continue research
Setup
Run — Python
Run — CLI
Run — agents.yaml
Serve API
Monitor / Verify
Cleanup
Features Demonstrated
| Feature | Implementation |
|---|---|
| Workflow | Single-step web search |
| DB Persistence | SQLite via memory_config |
| Observability | --verbose flag |
| Tools | DuckDuckGo search |
| Resumability | Session with session_id |
| Structured Output | Pydantic SearchResult model |
Best Practices
Ask the agent to cite sources
Ask the agent to cite sources
Instruct it to include the URLs it used. Search answers without provenance are hard to verify and easy to distrust.
Summarise, don't dump
Summarise, don't dump
Tell the agent to synthesise findings into a concise answer rather than pasting raw snippets. Users want the takeaway, not ten links.
Enable memory for follow-up searches
Enable memory for follow-up searches
Set
memory=True so the agent builds on earlier queries instead of re-searching the same ground on each turn.Escalate to Research for depth
Escalate to Research for depth
For multi-source synthesis and long reports, hand off to the Research or Deep Research agents rather than a single search pass.
Related
Synthesise multiple sources into a report.
Provider-native deep research for in-depth analysis.

