Skip to content
Get it free

Architecture

Lifted out of the README so that file stays readable. Everything here is the same text, with its links repointed.

Nine crates (seven of our own and two vendored) plus the benchmark workspace member. Tracked Rust source, including tests and benchmarks, is about 66,000 lines of our own plus 48,000 vendored as of the 2026-09-06 audit.

CrateWhat it is
svipall-coreClassification, identity and fleet, quality (integrity, optimisation, substance, calibration, provenance, diversity), pdf/document, budget, robots, sitemaps, throttle, capacity, saturation, policy, blocklists, exits, reputation, growth, export, widgets, answers, watches, SQLite cache and crawl state
svipall-extractThe extraction engine — schema, induction, heal, tables, sanitize, prune, meta, signals. Deliberately MIT OR Apache-2.0 and re-exported by core
svipall-cdpVendored chromiumoxide 0.7.0 (MIT OR Apache-2.0), with automation-residue fixes and browser-scoped worker identity. The upstream patch record is in crates/svipall-cdp/PATCHES.md
svipall-quicVendored quiche 0.24.9 (BSD-2-Clause), patched so its QUIC ClientHello and HTTP/3 SETTINGS are Chrome-shaped and so it links the BoringSSL the http tier already carries rather than a second copy. All eleven deviations in crates/svipall-quic/PATCHES.md
svipall-httpThe http tier. impersonate (default) emulates Chrome or Firefox through BoringSSL; --no-default-features falls back to reqwest, which web_status(sections="browser") names under http_engine and which refuses outright if the emulating engine was asked for by name; http3 (opt-in) adds the QUIC engine
svipall-modelsThe embedded ONNX weights
svipall-solverCaptcha job store and HTTP API
svipall-dashboardThe human panel
svipallThe product: MCP tools, browser pool, strategy loop, the HTTP API (rest), the job runner (jobs) and the progress sink both report through. Ships svipall-mcp (server) and svipall (CLI, which is also svipall serve)

Three invariants hold the whole thing together, and a test enforces each of them:

  1. One identity profile drives TLS, headers, CDP overrides, the stealth script and every worker realm, so a Chrome version is never stated in two places.
  2. One DOM parse per response. You ask via ParseWants and read from PageParts. The benchmark asserts the count is exactly 1.
  3. Quality labels do not discard pages. Extraction and token budgets can still limit returned text.
docs/install.mdEvery way to install it, per platform, written so an AI agent can execute it; the MCP registration for every client; and the failures that actually happen, with what each one means
GET-STARTED.mdThe same thing with nothing assumed, for somebody who has never installed anything from a terminal
docs/bench.mdEvery benchmark mode, the three target lists, and the rule each number is read under
docs/extraction.mdHow a fetched page becomes the text a model reads, how good that is against three published extractors, and how to measure it yourself
docs/exits.mdProxy pools: sticky vs round-robin, the health arithmetic, healing, (domain, exit) pacing, and the four leaks
docs/models.mdWhich models are embedded, the sidecar contracts, hot-swap, and corpus export
docs/firefox.mdThe Gecko identity that ships, and the measured reason the browser-tier fork is not built
docs/http3.mdThe QUIC engine: why h3 was declined twice on reasons that did not hold, the offline Chrome capture it is measured against, and what is still not Chrome
docs/rest.mdThe HTTP API: routes, status codes, the key and the two checks in front of it, and how a long crawl becomes a job you can follow, stop and resume
bench/baseline/README.mdThe measurement journal: every round, including the ones that improved nothing and the ones where a number went down
CHANGELOG.mdWhat 1.0 is, every gate it passes with its number, and what is still open


Written from docs/architecture.md at v2.10.0.