feat: add Exa AI-powered search tool#91
Open
tgonzalezc5 wants to merge 1 commit intopolyuiislab:mainfrom
Open
Conversation
Add ExaSearchTool as a new search provider alongside the existing DuckDuckGo and Google Scholar tools. Exa provides AI-powered web search with built-in content retrieval (highlights, full text, summaries), category filtering, domain filtering, and date ranges. Changes: - New tool_server_lite/tools/exa_tools.py with ExaSearchTool - Registered in tool registry and __init__.py exports - Tool YAML configs added for Researcher, OpenCowork, and CheapClaw agents - exa-py>=2.0.0 added to requirements.txt - 19 unit tests covering response parsing, content fallbacks, content mode routing, integration header, and filter pass-through
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ExaSearchToolas a new built-in search provider alongside DuckDuckGo and Google ScholarEXA_API_KEYenvironment variable; gracefully disabled when the key is not setUsage Example
Files Changed
tool_server_lite/tools/exa_tools.pytool_server_lite/tools/__init__.pytool_server_lite/registry.pyexa_searchin the builtin tool factoriesrequirements.txtexa-py>=2.0.0tool_server_lite/requirements.txtexa-py>=2.0.0config/agent_library/Researcher/level_0_tools.yamlconfig/agent_library/OpenCowork/level_0_tools.yamlapps/cheapclaw/assets/.../CheapClawWorkerGeneral/level_0_tools.yamlapps/cheapclaw/assets/.../CheapClawSupervisor/level_0_tools.yamltests/test_exa_tools.pyTest Plan
content_mode=nonecallssearch()instead ofsearch_and_contents()x-exa-integration: infiagentheader is set on every requestsave_pathis providedpytest tests/test_exa_tools.py