Skip to navigation

Exa

Give your agent live web search, so it can answer questions about things that happened after its training.
View as Markdown

Connect Exa so your agent can look things up on the web during a call, such as store hours, today’s news or a product spec, instead of guessing.

At a glance

AuthenticationExa API key. Searches use your Exa credits
Asked at connectYour API key
Works withSingle-prompt agents

Connect Exa

1

Get an API key

Sign in at dashboard.exa.ai and open API Keys to create one.

2

Paste it on the Integrations page

Open the Integrations page in the dashboard, click Connect next to Exa, paste the key into API key, and click Connect.

The key is checked with one test search and stored encrypted. It’s used only for your agents’ searches.

3

Add the tools to your agent

Click Go to Tools, then Add tool → Integration tool, choose Exa, tick the tools this agent needs, and click Add tools. From inside an agent, use Add tool → New tool → Integration tool instead.

Tools

ToolFunction nameWhat it doesInput
Web searchexa_web_searchReturns up to 5 results, each with title, URL, publish date and up to 800 characters of textquery
Answer a questionexa_answerReturns a direct answer, or a short summary for open-ended questions, with its source linksquery, the question

For a voice call, Answer a question is usually the better fit: the agent gets an answer it can say, instead of five pages to summarise.

Web search is slow compared with the rest of a conversation, so be specific in the condition prompt.

ToolExample condition prompt
Answer a questionWhen the caller asks about something current, such as prices, opening hours or news, that isn’t in your instructions or knowledge base.
Web searchOnly when the caller asks you to look something up and needs details beyond a one-line answer.

Put facts your agent needs every call, such as your own prices and policies, in its prompt or knowledge base instead. Search results come from the open web.

Limits

  • Web search returns up to 5 results.
  • One Exa key per organization. To change it, click Disconnect, then Connect with the new key.

Troubleshooting

Copy the key again from the Exa dashboard and check it hasn’t been deleted. The connect check runs one real search, so it also fails when the account has no credits left.

Your Exa account is out of credits or over its spending limit. Add credits in the Exa dashboard, and the next call works. No reconnect needed.

The key was revoked or deleted in Exa. On the Integrations page click Disconnect, then Connect with a working key.