feat: add Tavily search as configurable alternative to Serper#149
Open
tavily-integrations wants to merge 1 commit intoMiroMindAI:mainfrom
Open
Conversation
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
agent=tavily_search) without affecting existing Serper workflowsFiles Changed
New files
libs/miroflow-tools/src/miroflow_tools/mcp_servers/tavily_mcp_server.py— FastMCP server exposingtavily_searchtool using tavily-python SDK, with retry logic and HuggingFace URL filtering (mirrors serper_mcp_server.py interface)libs/miroflow-tools/src/miroflow_tools/mcp_servers/searching_tavily_mcp_server.py— Orchestrator wrapper with stdio MCP forwarding and retry logic (mirrors searching_google_mcp_server.py structure), includesscrape_websitetoolapps/miroflow-agent/conf/agent/tavily_search.yaml— Agent config variant substitutingtool-tavily-searchfortool-google-searchin the browsing sub-agentModified files
libs/miroflow-tools/pyproject.toml— Addedtavily-pythonto dependenciesapps/miroflow-agent/src/config/settings.py— AddedTAVILY_API_KEYenv var,tool-tavily-searchMCP server block, andhas_tavily_api_keyto env infoapps/miroflow-agent/.env.example— AddedTAVILY_API_KEYentryapps/gradio-demo/.env.example— AddedTAVILY_API_KEYentryDependency changes
tavily-pythontolibs/miroflow-tools/pyproject.tomlEnvironment variable changes
TAVILY_API_KEYtoapps/miroflow-agent/.env.exampleandapps/gradio-demo/.env.exampleNotes for reviewers
organicarray withtitle,link,snippetfields) for downstream compatibilityTAVILY_API_KEYand run withagent=tavily_searchHydra override🤖 Generated with Claude Code
Automated Review
serper_mcp_server.pyandsearching_google_mcp_server.py, Tavily SDK usage is correct, the output format is serper-compatible, retry logic is consistent, and the agent config variant is well-formed. Two minor issues are noted, one of which is a pre-existing dependency gap already present in the codebase.