Repository navigation
feat: support You.com Eco Search as a search provider - #253
Merged
Merged
Conversation
Add an optional runtime-contract field `search_provider` ("serper" by
default, or "eco") that selects the backend of the built-in `search`
skill. `search_api_key` stays the key of the chosen provider.
Eco results (`results.web[]`: url, title, description) are mapped onto
Serper's title/link/snippet fields, so the network blocklist, the result
limit and the formatted output are shared by both providers. The tool
description no longer names Serper.
The You.com key variable is YOU_API_KEY; the missing-key error for the eco provider now names it.
snimu
added a commit
to PrimeIntellect-ai/verifiers
that referenced
this pull request
Nov 6, 2026
The You.com key variable is YOU_API_KEY. Move the nano-rlm pin to 08b15cc3, the PrimeIntellect-ai/nano-rlm#253 head with the same rename.
snimu
marked this pull request as ready for review
November 6, 2026 16:24
Eco often returns result URLs as https://www.google.com/goto?url=<token> redirects, so the network blocklist and the model only saw www.google.com. Each such link is now resolved concurrently with one GET that does not follow the redirect, reading the 3xx Location header. This happens before the blocklist filter, formatting and the limit. A link that cannot be resolved is dropped when a blocklist is set and kept otherwise.
… them Fresh Google /goto tokens only become resolvable a while after the search, so an immediate lookup almost never helps and costs extra requests to Google. Remove the lookup. When a network blocklist is set, a result whose URL is a Google redirect link (www.google.com/goto) is dropped as unverifiable, for both providers; without a blocklist it passes through unchanged.
One small function per provider; run_with_api_key matches on the provider once instead of branching three times.
Dropping www.google.com/goto results under a network blocklist is independent of Eco (Serper returns such links too), so it moves to a separate PR. This PR only adds Eco.
snimu
added a commit
to PrimeIntellect-ai/verifiers
that referenced
this pull request
Nov 14, 2026
Dropping www.google.com/goto results under a network blocklist is independent of Eco, so it moves to a separate PR. Re-pin nano-rlm to d75fc345, the PrimeIntellect-ai/nano-rlm#253 head without the rule.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a834702. Configure here.
hallerite
approved these changes
Nov 23, 2026
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
An optional runtime-contract field
search_providerselects the backend of the built-insearchskill:"serper"(default): unchanged behavior."eco": You.com Eco Search (GET https://ydc-index.io/v1/eco_search?query=...,X-API-Keyheader).search_api_keyis the key of the chosen provider. Clients that omitsearch_providerget Serper.How
rlm.skills.search.run_with_api_keytakesproviderand picks the provider in onematch:_serper_resultsor_eco_results, each returning results with Serper'stitle/link/snippetfields. Eco'sresults.web[]items (title,url,description) are mapped onto them, so both providers share thenetwork_blockfiltering, thenum_resultslimit and the formatted output. Eco returns at most 10 results and has no count parameter._RuntimeMetadataandRuntimeConfighavesearch_provider: Literal["serper", "eco"] = "serper"; the supervisor passes it to the search handler.searchtool description (shown byhelp(search)) is provider-neutral: "Run a web search and return formatted title, URL, and snippet results."ecoand no key, the error namesYOU_API_KEY.docs/runtime-contract.md(search_providerrow, provider-neutralsearch_api_key) anddocs/tools.md(both providers).Testing
uv run pytest tests/: 403 passed, 1 failed. The failure istest_kernel_recovery.py::test_remote_execution_preserves_state_and_brokers_children, which callsos.sched_getaffinity; that function does not exist on macOS.ruff checkandruff format --checkpass.run_with_api_key(..., provider="eco")returns formatted Eco results.Verifiers: PrimeIntellect-ai/verifiers#3094 adds
search_providerto the bash and rlm harnesses and pins this branch until it merges.Note
Low Risk
Additive config and an alternate HTTP client path; default Serper behavior is unchanged when
search_provideris omitted.Overview
Adds an optional runtime field
search_provider("serper"default, or"eco") so the built-insearchskill can call You.com Eco Search instead of Serper.search_api_keyis documented and used as the active provider’s key; missing-key errors nameYOU_API_KEYfor eco andSERPER_API_KEYfor serper.run_with_api_keyselects the backend with amatchonprovider, fetches via_serper_resultsor_eco_results, and maps Eco’swebfields onto the sametitle/link/snippetshape sonetwork_block,num_results, and formatting stay shared.RuntimeConfig, ACP_RuntimeMetadata, and the supervisor’s search MCP handler passsearch_providerthrough; tool copy is provider-neutral.Docs in
runtime-contract.mdandtools.mddescribe the new field. Tests cover Eco responses with no web results.Reviewed by Cursor Bugbot for commit 41e977b. Bugbot is set up for automated code reviews on this repo. Configure here.