feat(arcade-core): add WEB_SEARCH service domain#871
Open
TheMostlyGreat wants to merge 2 commits into
Open
Conversation
Web-search services (Google Search, Exa, Brave Search, Tavily) currently have no ServiceDomain that passes the 10/10 consistency test and ship with classification None. WEB_SEARCH covers search engines and search APIs that query an index of the public web and return ranked results — distinct from WEB_SCRAPING, which extracts content from caller-supplied URLs rather than answering queries against an index. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
This pull request has been automatically marked as stale because it has had no activity for 14 days. It will be closed in 14 days if no further activity occurs. If this is still relevant, please leave a comment or remove the stale label. |
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.
What
Adds
ServiceDomain.WEB_SEARCHfor web search engines and search APIs, with a decorator test mirroring the existing domain tests. Bumps arcade-core to 4.9.0 (minor, same shape as #866).Why
Web-search services have no ServiceDomain that passes the 10/10 consistency test, so every search toolkit ships with classification
Noneand gets no category scoring boost:google_search,exa(ArcadeAI/monorepo#1646)That's five services validating the boundary — past the "deferred until more toolkits validate the boundary" bar.
Naming
WEB_SEARCHoverSEARCH/SEARCH_ENGINE:SEARCHfails 10/10 — invites in-app search misclassification (a tool that searches Slack is MESSAGING) and would ambiguously absorb site-search services like Algolia, which is a different market category deserving its own value.SEARCH_ENGINEreads as the consumer SERP product; "Is Perplexity a search engine?" splits the room.WEB_SEARCHpasses 10/10 for all five target services, and is the natural sibling ofWEB_SCRAPING— the docstring pivots on query → ranked results from a web index, which extraction services (Firecrawl, Apify) don't do, keeping the scraping boundary crisp.Vendor self-identification checked 2026-06-12: Tavily "the real-time search engine for AI agents"; Exa semantic web search; Brave "independent index of the Web".
Testing
libs/tests/tool+libs/tests/core+ metadata serialization: 625 passedtest_decorator_accepts_web_search_domain🤖 Generated with Claude Code