15  Prompting agents II: web search and specification

15.2 From context to specification

Everything in this module and the last one — data summaries, metadata, domain knowledge, web research — is really just an assortment of context you’re assembling before you prompt. The next logical step is to stop assembling it ad hoc and write it all down in one place: a specification sheet. Instead of prompting an agent with “create an academic paper about fish and coral using this data” (which will produce something plausible-looking and full of inaccuracies), you write out your aims, data collection methodology and desired analysis in advance — and hand the agent something it can actually execute well.

We’ll build a complete, real specification sheet — the one I actually use for the topa/coral-cover case study — in Section 3.

ImportantChallenge

Try the web-search prompt above (or an equivalent) in a chat platform with search enabled. Read the reasoning trace if one is shown, and note one thing about how it decided what to search for that you wouldn’t have known just from the final answer.