Require phrases in Exa results and get back the summaries you request
November 17, 20261 min read
Agno ExaTools now forwards livecrawl to Exa and returns each result's summary and highlights to the model. It sends livecrawl from search_exa, get_contents and find_similar. Before, setting livecrawl changed nothing, and summary=True paid for Exa summaries the model never saw.
The toolkit also takes six Exa options it had no way to pass before. include_text requires a phrase of up to five words in the page body, which helps when an agent has to verify a claim against the source.
from agno.tools.exa import ExaTools
exa = ExaTools(
include_text=["agent platform"],
exclude_text=["sponsored"],
user_location="US",
moderation=True,
highlights=True,
subpages=2,
)We patched Exa.request in exa_py, the method that makes the HTTP call, to record the body and return a canned Exa response with a summary and highlights. Then the script ran search_exa with summary=True and livecrawl="always" on both releases.
# Before
body: {"query": "agent frameworks", "numResults": 1, "contents": {"text": true, "summary": true}}
result keys: url, title, text
# Now
body: {"query": "agent frameworks", "numResults": 1, "contents": {"text": true, "summary": true, "livecrawl": "always"}}
result keys: url, title, text, summary, highlightsSee the cookbook, and learn more about ExaTools in the documentation.
Frequently asked questions
Earlier releases of Agno ExaTools asked Exa for summaries when you set summary=True, then built each result from the URL, title, author, published date and text alone. Exa generated the summary and the toolkit threw it away. This release keeps summary and highlights on every result that carries them.
The default moved from "always" to None. Earlier releases never sent the value, so Exa already applied its own default, and leaving it unset keeps that behavior. Pass livecrawl="always" or "fallback" when you want Exa to crawl pages live.
search_exa takes all six. find_similar takes include_text, exclude_text, highlights and subpages, and get_contents takes highlights and subpages. With include_text=["agent platform"], user_location="US", highlights=True, subpages=2, the search body read {"query": "agent frameworks", "numResults": 1, "includeText": ["agent platform"], "userLocation": "US", "contents": {"text": true, "summary": false, "highlights": true, "subpages": 2}}.
The constructor fails with TypeError: Toolkit.__init__() got an unexpected keyword argument 'include_text', and the same goes for the other five new options.





