Recipe prompt
Paste this into your coding agent to have it build the recipe in your project:Recipe prompt
What you build
When it runs
Once per research step. A step costs one search per sub-question and one fetch per page you read: 3 searches and 3 fetches in this sample. Searches and fetches share one rate limit, so the step size decides how fast you can loop.Code
This sample runs three searches at once, merges them and reads the top 3 pages. It runs with no API key:keenable 0.2.0 or later on npm, for the maxChars option on fetch.
Python uses AsyncKeenable with asyncio.gather, TypeScript Promise.all, Go goroutines and Rust tokio::spawn on a cloned client, which shares one connection pool. The curl tab runs the searches in the background and merges their URLs with awk, so its merged order follows whichever search answers first.
Example output
You see how many unique pages the searches found, then one line per page read, with its length after the cap:Example output · results vary
to_context(), or use search results’ to_context() when snippets are enough. See Context size.
Production notes
Next steps
- Split a broad question into parallel searches: cap how many searches run at once.
- Fact-check with citations: check the claims your research turns up.
- RAG with fresh web results: one search when the question is narrow.
- Recipes: every recipe on one page.