Esta página no está disponible en español. Se muestra la versión en inglés.

Exa connector

Search the web by meaning, find similar pages, read page contents, get cited answers, and run research agents with Exa.

En esta página

The exa connector connects your workflows to Exa, a search engine built for AI. Use it to find relevant pages from a natural-language query, discover pages similar to a URL, pull full page text, get an answer with sources, or hand a multi-step research task to an Exa agent.

Prerequisites

  • An Exa account and API key.
  • The project_contributor role or higher in your workspace, which lets you manage connections and MCP instances. See Roles and permissions.

Connect in AgentRuntime

  1. Get an Exa API key

    Sign up at exa.ai and create an API key in the Exa dashboard. Copy it.

  2. Add the connector to your workspace

    Click MCP in the sidebar, then Add connectors. Find Exa in the App catalog, select it, and click Add to workspace. The instance now appears on the MCP connectors page. See MCP instances.

  3. Add your credentials to a profile

    Open the new instance to reach Instance config. Under Profiles for this connector, click New profile, enter a Display name, and on the Type secrets on this screen tab fill in api_key (your Exa key). Set Status to Active — can be used in workflows and click Save. Then click Use this profile for workflows.

  4. Test it

    In Workflow Studio, add the exa_search tool from your Exa instance (use Browse platform MCP if it is not listed), fill in its arguments, and run the workflow. A successful step means the connection works. A simple query is enough.

Nota

To reuse the same credentials in more than one profile, save them first under Connections → New custom connection, using the exact key names from Configuration, then choose Use a saved connection on the profile instead.

What you can build

  • Research briefs. exa_search with include_text set to true, then an LLM step that turns the results into a brief you save to a doc.
  • Competitor discovery. exa_find_similar on a competitor's page lists pages that resemble it.
  • Answers with sources. exa_answer returns an answer plus the citations, which suits a support or research chat.
  • Deep research. exa_agent_create_run starts an Exa agent, exa_agent_wait_for_run waits for it, and exa_agent_get_run_output reads the result.

Tools

The Required arguments column lists the fields the tool's input schema marks as required. Some of them are optional in practice; if you have nothing to set, pass an empty value such as "", [], {}, or false.

ToolAccessWhat it doesRequired arguments
exa_agent_cancel_runWriteCancel a queued or running Exa Agent run. Maps vendor agent_cancel_run.run_id
exa_agent_create_runWriteCreate an async Exa Agent run for multi-step research or structured output. Maps vendor agent_create_run.query
exa_agent_get_run_outputReadRetrieve completed Exa Agent output: text, structured JSON, grounding, usage, and cost. Maps vendor agent_get_run_output.run_id
exa_agent_wait_for_runReadPoll an Exa Agent run until completed, failed, cancelled, or timeout. Maps vendor agent_wait_for_run.run_id
exa_answerWriteReturn an Exa-generated answer with cited web sources.query
exa_fetch_contentsReadFetch full page text for URLs or Exa IDs. Maps vendor web_fetch_exa.—
exa_find_similarReadFind web pages semantically similar to a URL using Exa. Default num_results 10; max 100.url
exa_searchReadRun a web search through Exa and return ranked results. Default num_results 10; max 100.query
exa_search_advancedReadAdvanced Exa web search with category, domain, and date filters. Maps vendor web_search_advanced_exa.query

Example

Search the web and pass the results to a following step. type is auto, fast, or deep; auto is the default.

{
  "id": "exa-research",
  "type": "mcp",
  "name": "Research topic",
  "tool_name": "exa_search",
  "tool_args": {
    "query": "{{input.topic}} market trends",
    "num_results": 8,
    "type": "auto",
    "include_text": true
  },
  "timeout_s": 45
}

Configuration

KeyRequiredDescription
api_keyYesExa API key.
api_baseNoExa API base URL. Default https://api.exa.ai.

Troubleshooting

ProblemWhat to do
401 or "invalid API key"Create a new key in the Exa dashboard and update the profile.
exa_fetch_contents returns an errorPass at least one of urls or ids.
Slow responsesdeep searches and agent runs take longer. Raise the step timeout_s, or use exa_agent_create_run and exa_agent_wait_for_run for long tasks.
Too few or off-topic resultsRephrase the query as a full sentence, or use exa_search_advanced with category, include_domains, or date filters.
Editar esta páginaagentruntime-io/agentruntime-docs