AGENTIC COMMONSAI industry briefings

繁中EN

TopicAI Agents & WorkflowsPublished

All English articles

Web Search and Deep Research for AI Agents: From Experiment to Infrastructure

On this page9 sections
  1. The Shift: Web Search and Deep Research Turned Infrastructure
  2. Web Search vs. Deep Research: One Loop, Two Workloads
  3. What Made 2026 the Pivot Year
  4. Where It Ships Today: Knowledge Bases, Research Tools, and Scheduled Jobs
  5. How Agentic Search Is Structured: Three Layers
  6. A Working Example: LangGraph with Web Search
  7. Constraints Worth Knowing
  8. The Practical Path for Builders
  9. Sources

Summary: Firecrawl’s April 2026 analysis describes agentic web search and deep research as production infrastructure rather than bolt-on experiments, driven by APIs, MCP adoption and consumer-scale research products. It cites growth from a $7.84 billion AI-agent market in 2025 to a projected $52.62 billion by 2030, at 46.3% annual growth. Because the source is a search vendor, its case studies warrant caution; the main engineering work is search strategy, latency, budget and stopping rules.

The Shift: Web Search and Deep Research Turned Infrastructure

By 2026, wiring web access into an AI agent has stopped being a side project. Firecrawl’s April 2026 analysis traces how web search and deep research graduated from experimental features into production-grade infrastructure, pushed along by new APIs, standardized protocols such as MCP, and proven products from OpenAI and Google. For product builders, the question has flipped: it is no longer “should we add web search?” but “how fast can we ship it?”

Two years ago, adding web access was DIY territory: you bolted on a hand-rolled scraper and hoped the page layout held. Dedicated APIs and standard protocols now carry that load. Microsoft shut down the Bing Search APIs in August 2025, which pushed developers toward independent search providers. In the same stretch, the Model Context Protocol (MCP) climbed from draft spec to wide adoption and gave agents a standard route to external tools. What used to be a custom integration project now amounts to a config line.

The market numbers line up with this shift. A global AI agent market worth $7.84 billion in 2025 is projected to reach $52.62 billion by 2030, growing at 46.3% per year. Gartner expects 40% of enterprise apps to include task-specific AI agents by end of 2026, up from less than 5% in 2025. Cloudflare’s CEO has even forecast that agent-generated web traffic will pass human traffic by 2027.

Web Search vs. Deep Research: One Loop, Two Workloads

The two labels get used as if they were interchangeable; Firecrawl’s article pulls them apart.

Agentic web search covers single tasks where confirmation from a handful of sources is enough. The agent splits its goal into sub-tasks, runs several queries, reviews what came back, and searches again in light of what it learned. A typical question: “What is the current pricing for GPT-5.4 through the OpenAI API?” It checks a few sources, confirms the answer, and moves on.

Deep research takes on complex queries that span hundreds of pages across the web. Picture: “Compare every major AI code editor released in 2025 and 2026, with pricing, supported languages, user reviews, and benchmark results.” No single page holds that answer. A deep research agent searches, reads, cross-checks, and merges findings across sources without pausing for human input between steps.

An arXiv paper (From Web Search towards Agentic Deep Research) lays the evolution out in four stages: keyword matching, LLMs answering from training data, RAG adding retrieval, and agentic deep research running search-reason loops that adapt in real time. The last stage is where the old pattern breaks. The agent doesn’t search once and reason once. It searches, reads, revises what it knows, and heads back out with better questions. The loop keeps running until coverage is sufficient or the budget limit arrives.

RAG and deep research don’t replace each other. RAG draws answers from static, local sources — internal documents, knowledge bases, databases. Deep research draws from the live web, weaving reasoning and retrieval into a loop where each search result reshapes what the agent looks for next. Plenty of production systems run both at once: RAG for internal context, web search or deep research for fresh external data.

What Made 2026 the Pivot Year

A run of events converged to make web access standard for agents. Microsoft’s shutdown of the Bing Search APIs in August 2025 left developers hunting for alternatives. MCP caught on widely and simplified tool connections. Then products showed the pattern works: Perplexity Comet, Browser Company Dia, and OpenAI’s GPT Atlas shipped within months of one another. ChatGPT Agent Mode went live in July 2025, and deep research products from OpenAI, Google, and Perplexity demonstrated the approach at consumer scale. On the open-source side, multiple deep research projects collected thousands of GitHub stars within weeks.

Every one of those steps removed a reason to skip web access. The question facing builders moved from “should we?” to “how fast can we ship it?”

Where It Ships Today: Knowledge Bases, Research Tools, and Scheduled Jobs

Every company below uses Firecrawl as its web search and scraping layer, but the patterns themselves represent what’s achievable. The most common one is an AI knowledge base that keeps pace with the web.

Retell AI builds voice agents that field questions about each customer’s docs and support pages. Before, it ran Puppeteer scrapers per customer and copied content over by hand whenever one broke. Since switching to Firecrawl, customers provide a list of URLs and get back a knowledge base that syncs automatically and arrives LLM-ready.

Botpress handled HTML-to-Markdown conversion in-house, so each page layout change created more work. According to CTO Michael Masson, Firecrawl “intelligently extracted relevant data right out of the box.” Now any Botpress user can crawl a URL into their bot’s knowledge base in seconds.

Credal runs enterprise AI agents that push more than 6 million URLs a month through Firecrawl, feeding real-time context pipelines and long-lived knowledge bases.

Research and discovery tools make up a second category. SciSpace indexes 280 million research papers and counts over a million regular users; its Deep Review feature performs multi-step literature reviews that would tie up a human researcher for days. you.com keeps search-and-scrape loops running with no end point, because the moment they stop, the answers go stale.

A third category, and a growing one, is scheduled tasks: competitive intelligence (tracking competitor pricing and product launches), lead enrichment (scraping company sites to fill CRM records), and compliance monitoring (tracking regulatory updates). None of these waits for someone to ask a question; they run on a schedule. For agent-triggered patterns, Firecrawl’s web monitoring endpoint sends a signed webhook when a meaningful change shows up, so the agent can skip pages that never changed.

How Agentic Search Is Structured: Three Layers

Most agentic search systems settle into the same three-layer structure, and the building blocks already exist.

  • Retrieval layer: Search APIs, scrapers, crawlers, and content extractors that pull raw web data into a form your agent can read. Firecrawl operates here.
  • Orchestration layer: Agent frameworks such as LangGraph, CrewAI, or AutoGen, which decide when to search, which queries to run, and in what order to make tool calls.
  • Reasoning layer: Your LLM reads what the retrieval layer fetched, draws conclusions, and tells the orchestration layer whether the task is finished or needs another search pass.

The layer boundaries stay clean. You can change search providers without touching your agent framework, or move to a different LLM without rebuilding the retrieval pipeline. Ship basic search this week, step up to deep research next month, and nothing above it has to change.

Firecrawl serves the retrieval layer through endpoints like /scrape (a single URL converted to markdown), /search (web search plus content extraction), and /crawl (recursive discovery across a site). Most teams begin with /scrape for knowledge bases and /search for fresh data.

Firecrawl’s article includes an end-to-end build: a LangGraph agent that calls Firecrawl’s /search endpoint to answer questions using live web data.

Step one is setting up the Firecrawl client and wrapping its search as a LangChain tool:

from firecrawl import Firecrawl
from langchain_core.tools import tool

firecrawl = Firecrawl(api_key="your-firecrawl-api-key")

@tool
def web_search(query: str) -> str:
    """Search the web and return scraped content for the given query."""
    results = firecrawl.search(query, limit=4, scrape_options={"formats": ["markdown"]})
    output = []
    for doc in results.web:
        url = doc.url or ""
        title = doc.title or ""
        content = (doc.markdown or "").strip()[:1000]
        output.append(f"Source: {title} ({url})\n\n{content}")
    return "\n\n---\n\n".join(output)

Step two is building the agent and running it:

from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

llm = ChatOpenAI(model="gpt-4o-mini")
agent = create_react_agent(llm, tools=[web_search])

response = agent.invoke({
    "messages": [{"role": "user", "content": "What are the main new features in Python 3.13?"}]
})
print(response["messages"][-1].content)

The agent calls web_search, receives full page content from four sources, and produces the answer. The whole thing fits in under 30 lines: Firecrawl takes care of search, scraping, and markdown conversion, while LangGraph drives the reasoning loop.

For terminal-based agents like Claude Code, the Firecrawl CLI opens direct web access with no SDK setup. The global install:

npm install -g firecrawl-cli
firecrawl login --api-key fc-YOUR_API_KEY

After that, subcommands like firecrawl search "AI agent benchmarks 2026" --scrape --limit 5 -o results/ or firecrawl scrape https://example.com/pricing --format markdown -o pricing.md are ready to use.

Constraints Worth Knowing

Firecrawl’s article is vendor content, so read its data and case studies with some caution. Every company featured is a Firecrawl user, and although the benchmark claims come from an independent study, they get surfaced for marketing reasons. Even so, the broader trend — web search and deep research becoming standard infrastructure — holds up, given the actual product launches and market data.

Deep research is not instantaneous. Expect minutes rather than milliseconds, because the agent runs dozens of queries and reads hundreds of pages. That latency is a trade: you receive comprehensive, cited reports, but real-time Q&A is off the table. Deep research can also run into budget limits, which means stopping criteria need to be designed up front.

A second constraint is that web data is messy. Pages shift, layouts break, and content often sits behind interactions such as clicks or lazy loading. Static scraping catches none of that. Firecrawl’s Interact endpoint exists for these cases, but your design has to plan around them.

One last caveat: the three-layer architecture is a simplification. Real systems interleave the layers — search results alter the reasoning, and the reasoning steers the next search. Deciding when to search, what to search for, and when to stop is still on you.

The Practical Path for Builders

Web search fits agents that answer quick, single-source questions. Deep research fits jobs that synthesize across many sources. RAG fits internal document retrieval. Production systems frequently end up combining them.

The takeaway for 2026: these capabilities sit at “config line” level now, not build-from-scratch. Pick one concrete use case — knowledge base sync or competitive intelligence — and wire it together with existing APIs and protocols. The genuinely hard part is no longer technical feasibility; it’s designing your agent’s search strategy: when to search, what to look for, and how to decide when to stop.

Firecrawl’s article recommends /scrape as the starting point for knowledge bases and /search for fresh data. Providers can be swapped later without touching your agent framework. The infrastructure is in place; the design choices are yours.

Sources

AGENTIC COMMONSOperated by PHLEGON LABS
ShareXEmail
Support us

Related reading

  1. Choosing an Academic Search API for AI Agents: 5 Tools Compared

    A practical guide to five academic search APIs for AI agents, covering retrieval needs, trade-offs, rate limits, and implementation tips.

    AI Agents

  2. Cohere's Recipe for Citing Every Number in a 10-K

    Cohere's AWS reference build pairs Embed Pro indexing with Embed Fast queries so every answer cites the exact filing page.

    RAG

  3. Vercel Drives Goes GA: Agent State That Outlives Sandboxes

    Vercel Drives reaches general availability, giving agents persistent, mountable, forkable storage across sandbox runs.

    Vercel