Web search tool

The web search tool can help an agent retrieve relevant or up-to-date information. Large language models, powering today’s AI, are "trained" on training data with a certain cutoff date, and are thus not be knowledgeable about recent events. Similarly, they are not able to retrieve specific knowledge that is not widely shared.

When you add a web search tool to an agent, the agent gets the ability to search the web with a search query.

Set up a web search tool

  1. To set up a web search tool, you need to enable the Exa.ai search integration. To do so, go to CockpitSystem SettingsIntegrations.

  2. Find the section Exa search engine, enter your Exa.ai API key and enable the integration.

Tool options

After setting up the tool, you can configure it in the Parameters tab. You have the following options:

Number of results

Define how many results are provided to the AI. Based on your use case, decide whether it should be few (less noise, fewer tokens) or many (higher likelihood of finding a relevant source)

Context

Whether to include the content of the search result in the context for the AI

AI page summary

Use the exa.ai feature of an AI summary of the result.

This option influences your consumption costs on the exa.ai API.
Full page text

Whether to return the full page text in the results

Maximum characters per result

Restrict how many characters will be injected per result into the agent context.

Include/exclude domains

Restrict which domains can be used. You can either whitelist by selecting Include domains and providing a list of allowed domains, or blacklist, by providing those domains that should not be used in the search.