Conversation
Adds SerplySearchTool as a new open-web search provider alongside tavily/exa/linkup, using Serply's REST search API (api.serply.io).
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
A note on the Codecov report above, since as it stands it reads as an unaddressed coverage failure. That comment was created at 2026-08-27 01:51:15 UTC and has not been edited since. The coverage commit Measured locally on the current head
Re-triggering Codecov should refresh the report; I cannot do that from here. If anything still comes back short after it re-runs, I am glad to add coverage. |
|
@Dallas98 @WMC001 @jeffwu-1999 Gentle ping on this one, two weeks in. The branch is still conflict-free against The fork workflows on the current head are waiting for an approve-and-run from a maintainer. If the tool should live somewhere else, needs a different |
What
Adds
SerplySearchTool, a web search tool backed by the Serply SERP API, as another interchangeable option alongsideTavilySearchTool,ExaSearchTool, andLinkupSearchTool. It returns Google organic results with title, snippet, and link, and emits the same observer messages andSearchResultTextMessagecard format as the existing search tools.Why
Closes #3748. The SDK's search-tool family has no Google SERP option today; users who need Google-flavored results, or who already hold a Serply subscription, cannot bring their key to Nexent.
Notes
TavilySearchToolinsdk/nexent/core/tools/tavily_search_tool.py: sameToolsubclass shape, observer hooks, and running-prompt messages (en/zh).sdk/nexent/core/tools/__init__.py,ToolSign.SERPLY_SEARCHinsdk/nexent/core/utils/tools_common_message.py, and a label entry inbackend/consts/tool_labels.py.httpx, which the SDK already depends on. The request sends an explicitUser-Agentbecause the Serply API rejects default client user agents.test/sdk/core/tools/test_serply_search_tool.pywith the network mocked.Testing
Also live-tested against the real API with a personal key:
Disclosure: I work with Serply. Happy to adjust scope, naming, or drop this entirely if it isn't a direction you want for the project.