Web Search (Exa.ai)
The Exa node gives your agent access to real-time web search via Exa.ai. The LLM can call theweb_search tool during a conversation to look up current information.
Setup
- Get an API key from exa.ai
- Add it to
.env.local: - Drag the Exa node from the sidebar (Integration category) onto the canvas
- Connect its output handle to the Framework node’s
tools_inhandle
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
searchType | enum | auto | Search strategy: auto, neural, or keyword |
numResults | slider (1–10) | 5 | Number of search results to return |
includeContents | boolean | true | Whether to include page text snippets in results |
How it works
When the LLM decides it needs current information:- It calls the
web_searchtool with a query string - Exa searches the web and returns results (title, URL, snippet)
- The results are injected into the LLM’s context
- The agent responds using the search results
tool_call and tool_result events (visible in step highlighting).
Search types
- auto — Exa automatically selects the best search strategy
- neural — Semantic search, best for conceptual queries
- keyword — Traditional keyword search, best for specific terms or names
Use cases
- Answering questions about current events, prices, or availability
- Looking up product documentation or specs in real time
- Fetching information that changes frequently
- Research-oriented voice agents
The Exa node is only supported on the LiveKit framework.