All tools

Run a research agent

Starts an agent that searches, navigates and reads the web to return the data a prompt describes, as JSON.

View on GitHub
Updated Sep 26, 2026Available asMCPCLIAPI

Description

Use it when the source pages are not known, such as a company plus the fields you need about it; pass a JSON schema for structured output and optional seed URLs. The agent runs as a job: the API returns an `id` to poll with `GET /agent/{jobId}`, and the MCP server pairs `firecrawl_agent` with `firecrawl_agent_status`. Firecrawl labels Agent a research preview.

run-agent.md

Run a research agent

Starts an agent that searches, navigates and reads the web to return the data a prompt describes, as JSON.

Use it when the source pages are not known, such as a company plus the fields you need about it; pass a JSON schema for structured output and optional seed URLs. The agent runs as a job: the API returns an id to poll with GET /agent/{jobId}, and the MCP server pairs firecrawl_agent with firecrawl_agent_status. Firecrawl labels Agent a research preview.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "firecrawl": { "url": "https://mcp.firecrawl.dev/v2/mcp-oauth" } } }

Call the MCP tool firecrawl_agent.

Server URL: https://mcp.firecrawl.dev/v2/mcp-oauth

CLI (official)

Install the command, then confirm it runs.

npm install -g firecrawl-cli
firecrawl --version

Run firecrawl agent.

Set $FIRECRAWL_API_KEY in your environment first (get a key: https://www.firecrawl.dev/app/api-keys).

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotefirecrawl_agentOAuthDocs
CLIOfficialfirecrawl agentAPI key in $FIRECRAWL_API_KEYDocs
APIOfficialPOST /agentAPI key in $FIRECRAWL_API_KEYDocs

Workflows using Run a research agent

No workflows yet
No published workflow uses Run a research agent yet.