Repository navigation
Releases
v0.9.0 - Wave 4 of curated providers
Wave 4 of curated providers: 20 new keyless adapters. Total adapters: 52.
New adapters by profile
| Profile | New providers |
|---|---|
academic |
bioRxiv, Figshare, DataCite, OSF, HAL, ClinicalTrials.gov, PLOS |
code |
MetaCPAN, AUR, Docker Hub, Homebrew, WordPress plugins |
knowledge |
Internet Archive, Gutendex (Project Gutenberg), Nominatim, REST Countries, MusicBrainz, Open Food Facts, CoinGecko, World Bank |
Design notes
- Every new adapter follows the established contract: pure
parse_results,search/healthviaapi_client(), errors viamap_api_status. provider_trusts_relevanceextended for all 20 new curated indexes.- Profiles stay disjoint.
bioRxivandHomebrew/WordPressfilter client-side (no free-text search endpoint).World Bankunwraps its[metadata, {projects}]envelope.ClinicalTrials.govv2 camelCase fields handled via serde rename + allow(non_snake_case).
Tests
173 unit tests + 4 end-to-end NDJSON tests. cargo fmt --check, cargo clippy -D warnings, cargo test green. build.bat produced the release binary.
Binario adjunto para Windows x64; otras plataformas: cargo build --release (Rust 1.89+).
v0.8.0 - Wave 3 of curated providers
Wave 3 of curated providers: 16 new keyless adapters, one per documented public endpoint, each with a pure fixture-tested parser. Total adapters: 32.
New adapters by profile
| Profile | New providers |
|---|---|
academic |
dblp (computer-science bibliography), BASE (Bielefeld Academic Search), OpenAIRE, ORCID (researcher profiles), Zenodo (open research records) |
code |
Maven Central, NuGet, RubyGems, Hex.pm, Stack Overflow |
news |
Hacker News (Algolia), Lobsters, dev.to, Reddit |
knowledge |
Wikidata (entity search), Open Library (books) |
Design notes
- Every new adapter follows the established contract:
parse_resultsis pure and fixture-tested,search/healthgo throughapi_client()orimpersonated_client(), and all errors map toArgosErrorviamap_api_status. provider_trusts_relevanceextended so the curated indexes skip the lexical drift guard, consistent with the v0.5.0 decision.- Profiles stay disjoint: each new provider lands in a single family. No general-profile dilution.
stackoverflowis searchable by intitle;dev.toandredditfilter client-side because their endpoints lack free-text search.orcidandopenairespeak XML-ish/JSON hybrids; parsers handle both array and object shapes.
Tests
133 unit tests + 4 end-to-end NDJSON tests. cargo fmt --check, cargo clippy -D warnings and cargo test green. build.bat produced the release binary.
Binario adjunto para Windows x64; otras plataformas: cargo build --release (Rust 1.89+).
v0.7.0 - Remove SearXNG (breaking)
Removes the SearXNG adapter and its entire WSL2 stack lifecycle.
Why
Argos now owns the metasearch layer itself: sixteen adapters behind five disjoint profiles, with weighted RRF fusion, a cache and per-provider cooldown. The optional SearXNG adapter had stopped earning its keep:
- It was opt-in and never provisioned —
searxng_reachablewas alwaysfalse. - Its own upstream documentation says SearXNG is bot-classified and gets CAPTCHED, so it did not buy an independent index, only an indirection layer over the same wall.
- It was the largest single source of complexity in the crate.
With it go the last caveat from the tool annotations: search is now unambiguously read-only, with no local side effect at all.
Removed
| Removed | Was |
|---|---|
src/providers/searxng.rs, src/stack.rs |
adapter + WSL2 lifecycle (boot/idle/watchdog) |
searxng/ |
docker-compose, settings, three WSL setup scripts |
Config |
searxng_url, auto_start, boot_timeout, idle_stop, wsl_distro, stack_script |
ArgosError |
Down, Http, StackBoot, StackStarting |
Status |
searxng_url, searxng_reachable |
| Env vars | ARGOS_SEARXNG_URL, ARGOS_AUTO_START, ARGOS_IDLE_STOP_SECS, ARGOS_BOOT_TIMEOUT_SECS, ARGOS_WSL_DISTRO, ARGOS_STACK_SCRIPT |
Breaks
- { name, version, profile, searxng_url, searxng_reachable, providers }
+ { name, version, profile, providers }ArgosError no longer has Down, Http, StackBoot or StackStarting, and the six variables above are ignored. Everything else is unchanged.
Also corrected SECURITY.md and CONTRIBUTING.md, which described the default path as a local SearXNG instance while it has been remote keyless providers since v0.1.0, and the crate description, which still advertised a backend that no longer exists.
Binarios adjuntos para Windows x64; si tu plataforma no es ésta, cargo build --release (Rust 1.89+).
v0.6.0 - MCP tool annotations
MCP tool annotations, plus an end-to-end protocol suite.
Annotations
Both tools now declare all four MCP hints, so a client can warn the user before invoking instead of guessing from the description:
{ "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": true }Directories that reject tools missing any hint (OpenAI's does) now accept this server.
The support landed upstream in FlojoMCP 45eca6c: #[tool] accepts the four boolean hints and FlojoTool::annotations() defaults to None, so tools that declare nothing keep a byte-identical tools/list payload.
End-to-end tests
Added tests/e2e_stdio.rs, which spawns the real binary and speaks NDJSON over stdio the way an MCP host does. It pins the initialize version against CARGO_PKG_VERSION, asserts the four hints arrive over the wire, checks the status shape, and proves search rejects bad arguments before contacting any provider.
That test exists because the handshake had shipped a hardcoded 0.3.0 for two releases while Cargo.toml read 0.5.0: the version literal in the #[flojo_mcp] attribute and the crate version are two sources of truth for one number, and only one of them was moving. The test now fails if either drifts.
build.bat and check.bat also pin CARGO_TARGET_DIR, because an inherited value can silently redirect a build to a scratch directory while the release binary keeps serving an old version.
v0.5.0 - Academic wave 2 and the code profile
Academic wave 2 and a dedicated software profile.
New adapters
Ten keyless adapters, each with a pure fixture-tested parser:
| Profile | Adapters |
|---|---|
academic |
+ Europe PMC, PubMed, DOAJ, Semantic Scholar |
code |
GitHub, crates.io, npm, Packagist |
news |
GDELT |
knowledge |
Wikipedia (MediaWiki API) |
Profiles are disjoint families: searching for a library never queries a web SERP, and an academic search never spends HTML engine quota.
status accepts the same profile argument and probes only that family, so checking health no longer costs requests against sixteen providers.
Quality-gate change the smoke tests forced
The lexical relevance filter now applies only to the HTML engines. It exists because search pages drift and can answer a different question while returning HTTP 200. A curated index is itself the relevance signal, and re-filtering it only discarded good results — crates.io was dropping matching crates because their canonical URL is the repository rather than the registry page. Domain scoping still applies to every provider.
Bugs found by smoke testing real payloads
- Serde reads a JSON sequence into a struct without complaint, so PubMed's sibling
uidsarray decoded as a paper titled with its first PMID. Only objects are documents now. - Snippets assembled from upstream free text produced doubled marks (
Author.. Journal), because those fields end in their own full stop. Fixed once in the shared funnel rather than in ten adapters. - Europe PMC needs
resultType=coreto return abstracts;litesilently omits them. - GDELT asks for one request every five seconds, so pacing is enforced locally instead of being paid for with 429s.
Adds ARGOS_GITHUB_TOKEN (GitHub Search allows 60/h unauthenticated) and ARGOS_SEMANTIC_SCHOLAR_KEY. Both are optional; keyless remains the default.
v0.4.0 - Keyless public API adapters and fusion hardening
Keyless public API adapters and fusion hardening.
New adapters
Three adapters for documented, keyless APIs, each with a pure fixture-tested parser:
- OpenAlex — bibliographic index. Reconstructs abstracts from the inverted index the API ships instead of the abstract text.
- Crossref — DOI-canonical metadata for the scholarly literature.
- arXiv — Atom feed, whitespace-folded titles.
Profiles
search gained a profile argument. general keeps the web engines, academic serves only public APIs, so a paper search no longer spends HTML engine quota and vice versa. An unknown profile is rejected before any provider is contacted.
Fusion
Replaced the round-robin interleave with weighted RRF over canonical URLs: agreement between independent indexes outranks a single index's top hit, duplicate URLs are merged keeping the richest snippet, and at most two results per source host can reach the payload. Provider quality enters the vote, so the measured-poor HTML SERP cannot dominate a fused ranking.
Quota
- 60-second successful-search cache with a per-key single-flight lock. Concurrent identical calls share one upstream request instead of both missing the cache.
Retry-Afterpropagated from response headers into the typed errors, the per-provider status and the shared cooldown. OpenAlex additionally reads its JSONretryAfterfield, so a politeRetry-After: 11no longer costs the provider a full three minutes.- Default first wave reduced to 2 providers, fallback capacity raised to 5.
Bugs found by smoke testing real APIs
- Crossref's
/worksrejects thepageparameter with HTTP 400 → pagination isoffset-based. - OpenAlex sends explicit JSON
nullfor sparse records; a strict field type aborted the entire response. - Crossref writes
DOIandURLin upper case and serde is case-sensitive — the parse silently produced zero results at HTTP 200.
Adds ARGOS_CONTACT_EMAIL for the OpenAlex/Crossref/PubMed polite pools. It is a contact address, not a key.
v0.3.0 - Native Metasearch Router
v0.3.0 — Native Metasearch Engine M1.2a
This release introduces the native metasearch routing layer while preserving
the current public search contract.
Added
ProviderRegistryandProviderManifestfor implemented providers.- Process-shared
ProviderStatewith healthy/cooldown/degraded/unreachable
tracking. - Rate-limit cooldown and transport backoff.
NoEligibleProviderstyped error with provider diagnostics.- Bounded fallback waves using
ARGOS_META_INITIALand
ARGOS_META_TOTAL. Fanout::run_selectedso the router can query only eligible provider IDs.- 5 new offline router tests plus the existing parser/fanout/MCP tests.
Current provider set
The registry currently activates only the existing implemented adapters:
- DuckDuckGo HTML
- Bing HTML
- Brave HTML
- optional SearXNG
The 30-adapter catalog in PROVIDERS.md is declarative planning, not 30 live
network integrations.
Routing behavior
- The first wave contains at most the configured number of providers.
- A failed wave updates shared state and immediately opens the next wave.
- A wave with usable results stops escalation.
- Failures from earlier waves are retained as warnings when a later wave
succeeds. - Empty and filtered results do not permanently disable a provider.
Quality
- 53/53 tests pass.
cargo fmt --checkpasses.cargo clippy --all-targets -- -D warningspasses.- Release binary built with
build.bat.
No CAPTCHA solving, proxy rotation, shared API keys, or anti-bot bypass was
added. M1.3 will add the first keyless/public API adapters: OpenAlex,
Crossref, arXiv, Semantic Scholar, Europe PMC and others.
v0.2.1 - provider quality gate + strict domain scope
What changed in v0.2.1
This release follows the live provider audit in PROVIDER_AUDIT.md. The key
lesson is that transport availability and research quality are different
things.
Result-side quality gate
search.domainsis validated as a hostname allowlist and enforced against
every returned URL.site:remains only an upstream ranking hint.- Results with no meaningful query terms are rejected as obvious entity drift.
- A provider whose entire result set was rejected is reported as
providers[].status.kind = "filtered"with a warning. - If no provider contributes a usable result, Argos returns the typed
NoUsableResultserror withreturnedandrejectedcounts.
Measured provider behavior
- Brave returned 10 useful results for all three audit queries.
- Bing returned raw results but all were rejected by the quality gate; Argos no
longer exposes unrelated free-game/Macao/Tokio-drift results. - DuckDuckGo returned HTTP 202 under the audit load; Argos reports
AllProvidersRateLimitedrather than a successful empty result.
Audit artifacts
PROVIDER_AUDIT.md— measurements, policy notes and next architectural
decisions.scripts/provider_audit.py— conservative live provider matrix harness.CHANGELOG.md— release and iteration history.
Quality
- 48/48 unit and MCP tests pass.
cargo fmt --checkpasses.cargo clippy --all-targets -- -D warningspasses.- Release binary built with
build.bat.
No anti-bot bypass or challenge-solving was added. The audit deliberately
separates transport experiments from quality and policy decisions.
v0.2.0 - per-provider visibility + site-scoping
What changed from v0.1.0
SearchOutcome (breaking tool shape)
The search tool now returns { results, providers, warnings } instead of a flat array.
Every entry of providers exposes the per-engine state so failures never disappear silently:
{
"results": [ { "url": "...", "source": "kvrforums.com", "title": "...", "snippet": "...", "engine": "bing" } ],
"providers": [
{ "name": "duckduckgo", "status": { "kind": "rate_limited", "status": 202 } },
{ "name": "bing", "status": { "kind": "ok", "count": 5 } },
{ "name": "brave", "status": { "kind": "rate_limited", "status": 429 } }
],
"warnings": [
"duckduckgo: rate-limited; back off or rotate ARGOS_PROVIDERS",
"brave: rate-limited; back off or rotate ARGOS_PROVIDERS"
]
}When every configured provider is rate-limited, search returns the new typed error
AllProvidersRateLimited with the per-engine list - so the agent can tell
"no hits for this query" apart from "your IP is being throttled".
SearchResult.source
New source field (compact hostname, no scheme/www/path) populated by every provider.
Helps the agent eyeball credibility without parsing URLs.
search.domains (new optional parameter)
domains: ["kvrforums.com", "reddit.com"] appends
(site:kvrforums.com OR site:reddit.com) to the query. Critical for niche research
where keyless Bing/DDG/Brave misinterpret ambiguous tokens ("free", "best", "download").
Implementation notes
SearchProvidertrait unchanged; onlyFanoutreturns the richer shape via a newrunmethod.Vec<ProviderEntry>chosen overBTreeMapto side-step aschemarsversion conflict
(rmcppulls 1.x; flojo_mcp uses 0.8).
Quality
40/40 unit tests, fmt + clippy -D warnings green, smoke test exercises the new
providers + warnings surface and the domains scoping end-to-end.
v0.1.0 - M1: keyless multi-provider fanout
First working milestone of Argos Engine: token-efficient web search MCP in Rust.
What works
- search: parallel fanout across DuckDuckGo + Bing + Brave (no API keys, no VM, no Docker), fair merge, URL dedup, automatic failover, compact results with token budgets.
- Browser impersonation (primp / Chrome153-Windows): measured to be mandatory - plain clients get Bing 302-to-homepage and Brave 429; with it all three engines answer 200.
- status: per-provider reachability probes + optional SearXNG endpoint.
- Typed errors with actionable hints (rate_limited / unreachable / stack states) - never generic tool errors.
Quality
-36 unit tests (real-markup fixtures captured from live engines), fmt + clippy -D warnings green.
- Optional SearXNG adapter (keyless opt-in via ARGOS_PROVIDERS) with on-demand WSL2 lifecycle retained.
Known limitations
- Mojeek still CAPTCHA from this IP (kept out of the default set).
- Partial provider failures are silent while any provider succeeds (failover by design); surface as typed errors only when all fail.