Skip to main content

Overview

ExaTools extends ToolKit and uses the Exa API for neural/keyword web search, clean content extraction from URLs, semantic similarity discovery, and LLM-generated answers with citations.
ToolKit: ExaTools inherits from ToolKit. You get all base behavior (e.g. include_tools, exclude_tools, timeout, use_async). See Creating ToolKit for the full API.
Required: Set EXA_API_KEY (env or .env). Get your key from the Exa Dashboard. Install: pip install exa-py.
Tools (4): search, get_contents, find_similar, answer. Use ToolKit’s exclude_tools / include_tools to limit which tools the agent sees.

Examples


Get Contents from URLs


Find Similar Pages


Answer with Citations


Custom Configuration


Multi-Tool Chain (Search + Get Contents)


Parameters


Search Types

Use "auto" for most queries. It automatically picks the best search strategy.

Content Options

Choose the right content type for your use case:
Using text=True without max_characters can return large amounts of content, increasing token usage and cost. Set max_characters to limit output size, or use highlights=True for token-efficient snippets.

Resources