Week 1 was about reading. Every function started with search() and reshaped the result list. This week the list becomes input to an agent — Agent(model).run_sync(prompt) reads the snippets and returns something intelligent.
So every function this week is two halves — search first, then hand the output to an agent that thinks about it?
Exactly. Day 10 summarizes the top snippet. Day 11 classifies whether a result is relevant. Day 12 batches — summarize every result. Day 13 extracts structured facts from search text. Day 14 classifies each result's sentiment and counts the totals. Same skeleton, new transformation step.
And the agent sees real snippets from the real web — not canned strings?
Real retrieval, real reasoning. The agent reads whatever the search engine returned live, and the print output is the model's actual words. Week 1's search muscle is now wired to Week 2's reasoning brain.
LiteralFact fields from a snippet with PydanticGoal: fluent composition of search() output into Agent(model) input.
Create a free account to get started. Paid plans unlock all tracks.
Week 1 was about reading. Every function started with search() and reshaped the result list. This week the list becomes input to an agent — Agent(model).run_sync(prompt) reads the snippets and returns something intelligent.
So every function this week is two halves — search first, then hand the output to an agent that thinks about it?
Exactly. Day 10 summarizes the top snippet. Day 11 classifies whether a result is relevant. Day 12 batches — summarize every result. Day 13 extracts structured facts from search text. Day 14 classifies each result's sentiment and counts the totals. Same skeleton, new transformation step.
And the agent sees real snippets from the real web — not canned strings?
Real retrieval, real reasoning. The agent reads whatever the search engine returned live, and the print output is the model's actual words. Week 1's search muscle is now wired to Week 2's reasoning brain.
LiteralFact fields from a snippet with PydanticGoal: fluent composition of search() output into Agent(model) input.