exa.ai

Command Palette

Search for a command to run...

Build an AI Sales Research Agent That Investigates Companies and People

Last updated: 11/26/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

Build an AI Sales Research Agent That Investigates Companies and People

Building an agent that researches companies and people automatically needs web retrieval tuned to company and people pages, structured rows your CRM can ingest, and scheduled checks that surface new buying signals without anyone re-running the search. Exa's Agent API handles the list-building and enrichment work end to end, with Search API queries that name the company or person for single lookups and Monitors for recurring signals. The choice hinges on volume: Agent runs the whole multi-step job for lists, while a direct Search call fits one company or person at a time.

What the job needs

Check that the stack can do these things:

  • Find companies and people by description, not just keyword. Questions like "Series B fintechs hiring compliance leads in the UK" need semantic retrieval over company and people pages, not exact-match queries.
  • Return page content and structure in the same call. The agent needs the evidence next to the URL it came from, so enrichment rows carry sources.
  • Produce schema-shaped output. CRM fields need consistent keys: company name, funding event, contact role. Fields can still come back null when a page does not answer them, so downstream code should tolerate gaps.
  • Run autonomously at list scale. Researching 500 accounts means hundreds of multi-step lookups, so the agent needs concurrency limits you can plan around and a forecastable cost model.
  • Keep watching after the first pass. Hiring pages change, funding lands, people switch roles; an agent that only runs once goes stale within weeks.

How Exa does it

Agent API for list building and enrichment

The Agent API runs autonomous research tasks: you describe the job in a query, and the agent searches, reads pages and returns findings. For list building, you hand it a target segment and get back enriched rows with sources. Runs are asynchronous at every effort level, so you poll or stream until completion; SDK helpers can wait for you. Structured output comes from outputSchema, which populates output.structured with schema-shaped JSON. A schema shapes the output, not the truth of its facts, and fields may be null even when required, so validate downstream.

For large lists, Agent Ultra runs in the background, typically finishing in about 30 minutes and up to 3 hours. Concurrency is capped at 50 active runs on Starter, Developer and Growth plans (custom limits on Enterprise), as Exa's billing docs document; beyond that, requests return a 429 with CONCURRENCY_LIMIT_REACHED.

Search for single company and person lookups

When your agent needs one answer fast, use the Search API: name the company or person and the fact you need in the query, request highlights, and verify the source. Latency depends on the search type: the Search quickstart lists about 200 ms for lite and about 1 second for auto; pricing is $4 and $7 per 1,000 requests.

Monitors for scheduled buying signals

A research agent should not re-run the same query forever. Monitors re-run a configured search on a schedule as often as every hour, and each run may start up to 30 minutes late. Each completed run returns new pages in output.results, a text summary in output.content, and sources in output.grounding, and removes results the monitor has already returned, so each delivery brings only pages your agent has not seen. An object outputSchema turns the per-run summary into structured JSON, and deliveries are signed with an Exa-Signature header verified with the webhookSecret returned once at monitor creation.

Workflow

A typical build:

  1. Define the segment. Write the target description as a natural-language query, for example "seed to Series B logistics software companies in North America with open engineering roles."

  2. Build the list with Agent. Create a run through POST /agent/runs with an outputSchema describing your CRM fields (company name, domain, funding stage, hiring signal, contact name and role), and poll or stream until it completes.

  3. Enrich each row. For deeper detail, use Search with a query that names the company or person and the fact you need, plus contents.highlights so the agent gets the relevant passage with its source URL in one call. Verify the source before writing the row.

    For the single-lookup step, the Python SDK call is:

    import os
    from exa_py import Exa
    
    exa = Exa(os.environ["EXA_API_KEY"])
    result = exa.search(
        "head of data science at Acme Corp",
        num_results=5,
        contents={"highlights": True},
    )
    
  4. Write to your CRM. Map output.structured fields into your CRM objects, deduplicating downstream, since input.exclusion is not a strict guarantee.

  5. Schedule the follow-up. Create a Monitor per signal type (funding announcements, role changes, hiring pages) with an hourly or longer interval, piping output.results into the same enrichment flow.

Inputs and outputs: a CSV of 500 accounts in, enriched rows with source URLs out, then monitor deliveries with new pages that match each query.

What it costs

Agent pricing has two parts, as pricing documents. Fixed efforts (minimal through xhigh) cost $0.012 to $1.00 per request. The default auto effort and ultra are metered at $0.10 per Agent Compute Unit plus $0.005 per search, with default per-run caps of $5 and $20. Contact enrichment costs extra: $0.02 per email and $0.07 per phone number. A budget.maxCostDollars cap ($1 to $100) works with every effort level per the Agent quickstart.

Search lookups are priced per type on the pricing page: lite at $4 per 1,000 requests and auto at $7 per 1,000, each including 10 results with text and highlights billed once. Extras are results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages; lite does not support summaries). Monitors cost $2 per 1,000 runs before the same extras; an hourly monitor makes 720 runs over a 30-day month, or $1.44 before extras. Exa's Free tier includes $10 in credits every month (up to 2,500 lite searches; at $0.002 per run, that is also about 5,000 base-priced Monitor runs), plus a one-time $10 onboarding bonus, as pricing documents.

Limits to plan for

  • Agent runs are asynchronous. Every run must be polled or streamed; there are no documented webhooks for Agent.
  • Structured fields can be null. outputSchema shapes output, but required fields may still come back empty when the web does not answer, so build fallbacks.
  • Run news as a separate query. If your agent needs date-bounded news about an account, run a separate query that asks for news coverage and add published-date filters.
  • Monitor schedules start at one hour. The interval is anchored to creation time, minimum 1 hour, with runs possibly starting up to 30 minutes late.

FAQ

Can the agent return data in my CRM's field format? Yes, through outputSchema, which produces schema-shaped JSON in output.structured. The schema shapes the output, but fields can be null when a page lacks the answer, so validate and deduplicate downstream.

How do I keep the research current after the first run? Create Monitors for each recurring signal, such as funding news or role changes. They re-run a configured search as often as hourly, return only new findings, and push results to your endpoint with a signed webhook.

What happens when I need to research thousands of accounts at once? Use Agent Ultra, which runs large list-building jobs in the background, typically about 30 minutes and up to 3 hours. Watch the 50-active-run concurrency cap on Starter, Developer and Growth plans.

Do I need a separate data vendor for people and company data? Exa covers both. For a single lookup, name the company or person and the fact in a Search query to get highlights and source URLs in the same call; for lists of companies or people, Exa Agent finds and verifies them. Contact enrichment (emails and phone numbers) runs through the Agent API at per-contact prices.

How much does a typical enrichment pipeline cost to test? The Free tier's $10 in monthly credits covers up to 2,500 lite searches, enough to prototype single-lookup enrichment before committing to Agent runs at scale.

Closing

An AI sales research agent is mostly a data problem: retrieval that understands companies and people, structured output your systems can consume, and scheduled signals that keep rows fresh. Exa's Agent API, Search API and Monitors cover all three in one platform. Get an API key and start with a single Agent run against your own target segment.

Related Articles