router-search
Skill8.2k starsChanged 58 days agoApache-2.0View on GitHub
What the search router can be asked for, what each provider calls it, and what it refuses to fake. Read before adding a search option or a search provider.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about GetStream/Agents
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.404 → 0.6.405”GitHub · Nov 30, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.403 → 0.6.404”GitHub · Nov 30, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.402 → 0.6.403”GitHub · Nov 29, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.6.399 → 0.6.402”GitHub · Nov 27, 2026
- sudosubin/agents.nix“agent-skills.github.getstream.agents: 0.7.1 → 0.6.399”GitHub · Nov 27, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub (8 times).
On GitHub · 8
- Nov 30, 2026agent-skills.github.getstream.agents: 0.6.404 → 0.6.405 — sudosubin/agents.nix0 reactions
- Nov 30, 2026agent-skills.github.getstream.agents: 0.6.403 → 0.6.404 — sudosubin/agents.nix0 reactions
- Nov 29, 2026agent-skills.github.getstream.agents: 0.6.402 → 0.6.403 — sudosubin/agents.nix0 reactions
- Nov 27, 2026agent-skills.github.getstream.agents: 0.6.399 → 0.6.402 — sudosubin/agents.nix0 reactions
- Nov 27, 2026agent-skills.github.getstream.agents: 0.7.1 → 0.6.399 — sudosubin/agents.nix0 reactions
3 more on GitHub
- Nov 25, 2026fix: retain 7 reviewed references that left discovery (Nov 25) — tekvisions/voice-index0 reactions
- Nov 24, 2026agent-skills.github.getstream.agents: 0.7.0 → 0.7.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026agent-skills.github.getstream.agents: init at 0.7.0 — sudosubin/agents.nix0 reactions
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/python.mdcCursor rule
- pr-reviewSkill
- typesafe-aiSkill
- vgpuSkill
- accelerate-sales-engineerSkill
- add-connectorSkill
- check_pricesSkill
- cliSkill
- commitSkill
- connectorsSkill
- dashboardSkill
- decision_modelSkill
- deploySkill
- docsSkill
- generative-uiSkill
- good_morningSkill
- goSkill
- go-testingSkill
- integrate_new_modelsSkill
- llm-interfaceSkill
- loop_performance_benchSkill
- migrate-to-accelerateSkill
- new_modelsSkill
- paginationSkill
- parallel-agentsSkill
- performance_benchmarkSkill
- phonecheckSkill
- pricingSkill
- prospect-competitor-researchSkill
- provider_auditSkill
- prSkill
- querySkill
- refresh_model_statsSkill
- router-detectionSkill
- router-interfaceSkill
- router-llmSkill
- router-stsSkill
- router-sttSkill
- router-ttsSkill
- scheduled-tasksSkill
- sdk-dartSkill
- sdk-dotnetSkill
- sdk-goSkill
- sdk-jsSkill
- sdk-kotlinSkill
- sdk-phpSkill
- sdk-rubySkill
- sdk-rustSkill
- sdkSkill
- sdk-swiftSkill
- securitySkill
- sttSkill
- telnyxSkill
- ttsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Search has no socket and no recording: a question and its answer are one round trip, so it is a plain POST /v1/search.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Routing search
The per-modality half of router-interface. The vocabulary is
options.Search; the providers are under
internal/search and are declared in
router.yaml.
Search has no socket and no recording: a question and its answer are one round trip, so it is a
plain POST /v1/search. What separates the providers is whether a model writes the answer
before it comes back. The low-latency tier returns pages for the conversation's own model to
read; the high-quality tier pays a second model, and the seconds it takes, to have the sentence
written for it.
depth is not a term, it is the route. instant and fast pick the low-latency tier and
standard and deep the high-quality one, because asking for a deep answer is asking for the
tier that reads pages before answering rather than the one that hands them over.
The top five, and what each calls the same thing
| Option | Exa | Tavily | Perplexity | Brave | Linkup |
depth | type: fast, auto, neural | search_depth: basic, advanced | search vs sonar | one tier | depth: standard, deep |
results | numResults | max_results | max_results | count | — |
include_domains | includeDomains | include_domains | search_domain_filter | site: in the query | includeDomains |
exclude_domains | excludeDomains | exclude_domains | -domain in the filter | site: in the query | excludeDomains |
category | category | topic: general, news, finance | — | result_filter | — |
max_age_hours | startPublishedDate | days | search_recency_filter | freshness | fromDate |
location | userLocation | country | web_search_options.user_location | country | — |
contents | contents: {text, highlights, summary} | include_raw_content, include_answer | citations only | extra snippets | outputType |
output_schema | /answer with outputSchema | — | response_format | — | structuredOutputSchema |
What the table is saying:
- Recency is expressed five ways. A date floor, a day count, a named window, a freshness
code.
max_age_hoursis the one thing they can all be computed from, and zero means force a live crawl rather than trust a cached page. - A domain filter is not universal. Brave has no parameter for it, only the
site:operator in the query, and that is a different thing: it changes the query the user asked. - Only some providers return the extract.
contentsasks for the text a model actually reads. Perplexity returns citations and the answer it wrote; there is no per-hit text to ask for.
What the router refuses to fake
The same Terms() mechanism as the other modalities, and search is where it is most visible
today. exa/fast and exa/auto declare [domains, category, recency, location, contents]
because exa.go sends all five. The Tavily
and Perplexity clients send only the query, the depth and the result count, so they declare
nothing — which means a request that filters by domain is not routed to them.
That is the honest state, not the finished state: Tavily and Perplexity both have the parameters and our clients do not send them yet. Closing that gap means sending them in the client first and declaring them second. Declaring a term to widen the candidate set is the one thing this design exists to prevent, and a search that quietly ignored the domain filter is exactly the failure it prevents: the caller cannot tell from the results that the filter was dropped.
A term nothing can serve is a 400 naming it. For a voice agent that is the right answer — an agent that says "I could not restrict that to your own documentation" is more useful than one that reads out a stranger's blog post.
Adding an option
- A field on
options.Search, withMerge, plus aTermand a line inTerms()unless it picks the route the waydepthdoes. - The same field on
SearchOptions, on its Go struct ininternal/api. Then rungo run ./cmd/openapiand regenerate all three clients. - Send it in each provider that takes it, translating into that vendor's shape — a cache age
into a date floor, a country into whatever it calls a country — and declare it in
supports:. - A test that a provider which does not send it is not chosen when it is asked for.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

