{"schema_version":"1.0","id":"build-a-web-research-agent","name":"Build a web research agent","description":"A source-backed research pipeline that searches, browses, extracts, synthesizes, and remembers.","task":"web-research","outcome":"A concise answer with traceable sources, structured evidence, and reusable memory.","canonical_url":"https://4agent.dev/recipes/build-a-web-research-agent","steps":[{"order":1,"id":"search","name":"Discover sources","capability":"web-search","input":"Research question, freshness window, source constraints","output":"Ranked URLs with snippets and relevance signals","fallback":"Retry with a second provider and simpler keyword queries.","recommended_tool":{"id":"exa-search","name":"Exa","catalog_url":"https://4agent.dev/tools/exa-search","api_endpoint":"https://api.exa.ai","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":true,"sdk":["typescript","python"]}},"alternatives":[{"id":"tavily-search","name":"Tavily","catalog_url":"https://4agent.dev/tools/tavily-search","api_endpoint":"https://api.tavily.com","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":false,"sdk":["typescript","python"]}},{"id":"brave-search","name":"Brave Search","catalog_url":"https://4agent.dev/tools/brave-search","api_endpoint":"https://api.search.brave.com/res/v1/web/search","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":true,"sdk":["python","javascript","go"]}},{"id":"parallel","name":"Parallel","catalog_url":"https://4agent.dev/tools/parallel","api_endpoint":"https://api.parallel.ai/v1beta","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":true,"sdk":["python"]}}]},{"order":2,"id":"browse","name":"Inspect interactive pages","capability":"browser-automation","input":"Candidate URLs and the evidence to locate","output":"Rendered pages, action results, and page snapshots","fallback":"Skip browser execution when a clean text representation is available.","recommended_tool":{"id":"browserbase","name":"Browserbase","catalog_url":"https://4agent.dev/tools/browserbase","api_endpoint":"https://api.browserbase.com","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":false,"sdk":["typescript","python"]}},"alternatives":[{"id":"browseruse","name":"Browser Use","catalog_url":"https://4agent.dev/tools/browseruse","api_endpoint":"","auth_method":"none","integration":{"mcp":true,"cli":true,"openapi":false,"sdk":["python"]}},{"id":"hyperbrowser","name":"Hyperbrowser","catalog_url":"https://4agent.dev/tools/hyperbrowser","api_endpoint":"https://app.hyperbrowser.ai/api","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":false,"sdk":["typescript","python"]}}]},{"order":3,"id":"extract","name":"Extract clean evidence","capability":"web-extraction","input":"Selected source URLs or browser snapshots","output":"Clean text or JSON with source metadata","fallback":"Use a reader endpoint, then fall back to targeted DOM extraction.","recommended_tool":{"id":"firecrawl","name":"Firecrawl","catalog_url":"https://4agent.dev/tools/firecrawl","api_endpoint":"https://api.firecrawl.dev","auth_method":"api_key","integration":{"mcp":true,"cli":true,"openapi":false,"sdk":["typescript","python"]}},"alternatives":[{"id":"jina-ai","name":"Jina AI","catalog_url":"https://4agent.dev/tools/jina-ai","api_endpoint":"https://api.jina.ai/v1","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":true,"sdk":["typescript","python"]}},{"id":"crawl4ai","name":"Crawl4AI","catalog_url":"https://4agent.dev/tools/crawl4ai","api_endpoint":"","auth_method":"none","integration":{"mcp":true,"cli":true,"openapi":false,"sdk":["python"]}},{"id":"spider","name":"Spider","catalog_url":"https://4agent.dev/tools/spider","api_endpoint":"https://api.spider.cloud","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":true,"sdk":["python","javascript","rust","go"]}}]},{"order":4,"id":"remember","name":"Store reusable context","capability":"memory","input":"Verified findings, citations, entities, and research scope","output":"Searchable memories linked to their original sources","fallback":"Return the final evidence bundle even when durable memory is unavailable.","recommended_tool":{"id":"mem0","name":"Mem0","catalog_url":"https://4agent.dev/tools/mem0","api_endpoint":"https://api.mem0.ai","auth_method":"api_key","integration":{"mcp":true,"cli":true,"openapi":false,"sdk":["typescript","python"]}},"alternatives":[{"id":"zep","name":"Zep","catalog_url":"https://4agent.dev/tools/zep","api_endpoint":"https://api.getzep.com","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":true,"sdk":["python","typescript","go"]}},{"id":"supermemory","name":"Supermemory","catalog_url":"https://4agent.dev/tools/supermemory","api_endpoint":"https://api.supermemory.ai","auth_method":"api_key","integration":{"mcp":true,"cli":false,"openapi":false,"sdk":["typescript","python"]}}]}]}