Skip to content
Get it free

Configuration

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

Use svipall config show, svipall config set key=value, or svipall config preset local. The default identity policy is auto: learn useful emulated routes first, with at most one native browser attempt as a last resort. Existing explicit emulated or native settings are kept and svipall config preset auto moves an existing installation to it. Connected MCP clients can save browser policy through web_status with a configure object, and running MCP/REST servers apply it on the next request. See local configuration and sessions for identity modes, bounded waits, browser provisioning and which settings apply live.

Automatic routing, privacy and practical limits

Section titled “Automatic routing, privacy and practical limits”

No per-site setup is required. Automatic fetches learn locally by domain, route family, exit and browser environment. Successful delivery with full content quality and observed latency can promote an emulated route after two supporting observations. Repeated failures demote it and evidence expires after 24 hours. Routes that repeatedly fail are skipped for 30 minutes. The strongest allowed emulated probe stays available and a native fallback that keeps failing is paused too. That probe still goes first, but once it has met a fingerprint wall twice on an address the native route then read, it waits 4 seconds on the wall instead of warm_wait_ms, for the same 30 minutes. The current implementation also remembers classified fingerprint/hold walls for 30 minutes to avoid weaker probes when a headful route is permitted. Generic errors and native-only walls do not supply that evidence and a later delivery clears the marker on its route. Within a fetch it also uses the existing managed-challenge discriminator to skip weaker routes when headful emulation is allowed. Ordinary interstitials keep the cheaper exploration and this per-call decision does not create fingerprint-wall memory or change the caller’s deadline. This heuristic cannot prove that the requested information is complete or guarantee the best route or a successful fetch. Short pages are returned with quality labels and do not trigger a native attempt by themselves.

Privacy takes priority over delivery scores: even a successful native route stays last. Automatic native fallback is excluded for named profiles, isolated visits, mobile requests, forced tiers and non-GET requests. Native and emulated automatic profiles use separate directories and cookie jars. Detected login walls, subscriptions and missing pages stop escalation, and HTTP 429/503 triggers backoff. A 401, 429 or 503 whose body is a vendor’s challenge is neither: it is climbed like any other wall, and nothing is put on hold for it. So is a page’s 401 that names no way to sign in (no WWW-Authenticate); one that does, and an API’s, stop the read. Quotas expressed only in page text can escape classification, as the current audit shows, so respect an observed restriction even when the tool labels the response as delivered.

Native mode exposes real browser/device characteristics, which can include graphics, hardware capabilities, screen, language and timezone. Sites can correlate these across visits and cookie profiles. Emulation reduces some exposure but guarantees neither anonymity nor IP hiding. The browser uses tool-managed profiles and its sandbox stays enabled. Launch flags no longer request disabling site isolation, client phishing detection or IPC flooding protection. Browser updates and host configuration still matter. Results report identity_used; over MCP a page that simply arrived under the emulated identity leaves it out. native_fallback and a privacy_notice appear whenever a native fallback was attempted, even if it failed. To prevent all automatic native fallback, run svipall config set auto_native_fallback=false. browser_identity=emulated also keeps browser requests emulated. Explicit browser_identity=native is a separate manual override.

Defaults permit 12 visits per 60 seconds per host and exit, a minimum 1 second between scheduled attempts, and 6 attempts per automatic fetch, within its total timeout. The window is shared by every session, subagent and process on this machine, and one top-level fetch is one visit however many tiers it climbs. A full window is a wait for its oldest visit to leave, never a penalty. The fetch waits by itself when the wait fits in half its timeout (30 seconds at the default 60), and the wait parameter (--wait on the CLI, up to 900 seconds on top of the timeout) lets it wait longer. wait=0 never waits. Otherwise the call is refused with blocked_reason: "visit_limit" and the exact seconds until a slot frees. The other way out is another host that serves the same thing. The decaying address budget can stop work sooner, and no wait covers it.

Those limits are sized for pages. A route that answers with data (JSON, plain text, source, a feed, a file) gets five times the visits, a quarter of the minimum gap and a tenth of the charge against the address budget: 60 visits per 60 seconds and 250 ms at the defaults. Its visits are counted in a window of their own, so thirty reads of an API leave the site’s pages their twelve. Nothing lists such hosts. A route is paced this way after it has answered with data over the http tier, and it is paced as a page again the first time it refuses a request. An address never visited is a page, unless its host is known for three routes or more and all of them serve data. The record is ~/.svipall/lanes.json, digests only, and web_status(forget_tier=...) clears a domain’s. A server’s backoff holds both kinds of route. A short JSON answer is also no longer counted as an empty page, which used to charge the address twice for it.

A host that states its own pace is asked at that pace. A quota with its interval (x-rate-limit-limit and x-rate-limit-interval, or RateLimit-Policy) becomes the gap between requests, a tenth longer than declared, when it is longer than the configured one. x-concurrency-limit: 1 means one request in flight at a time, within one process. A quota declared spent (remaining at zero with a reset) holds the route until it resets. The declaration is kept for a week in ~/.svipall/lanes.json.

A read that meets a limit waits the pause out and asks once more, when the server named the pause or the limit is an API’s, and the pause fits what the call may wait. A second refusal is reported. A 429 from a route that serves data, or that refuses in JSON, pauses 5 seconds, then 20, 80 and 320, where a page’s pauses start at 30.

A server’s Retry-After is honoured as given, from 1 second to an hour. A 429 without one pauses the route for 30 seconds, then 120, 480 and 900: request_cooldown_seconds is that longest backoff, and strikes are forgotten after 30 quiet minutes. A 503 without Retry-After is a server error, so it pauses 30 seconds and counts no strike. The 15-minute hard-block cooldown is set only after a status or vendor wall at the real or warm tier, when the pool has no other exit.

A pause, a cooldown or a remembered failure belongs to the site that answered. An address that redirects to another site, such as an identifier resolver or a link shortener, is not held for what that site said: the next address it resolves is still asked, and the site that refused is the one on hold.

The visit ledger is transactional and persists across restarts. Changing identity or forcing a tier does not reset it. Successful cache hits do not consume visits. Returned pages are preserved when further attempts are refused, with stopped_reason, cooldown_seconds_left and visit_budget, which also appears when two visits or fewer are left. waited says what a fetch waited for. A ladder walk that failed all the way up is remembered for its origin for 10 minutes and answers the next call from memory (remembered) until fresh=true walks again. web_status(clear_cooldown=DOMAIN) clears, on every exit, the hard-block cooldown, the server holds and strikes, the visit window and the remembered failure, and answers only with what it cleared. The address budget is clear_budget, and route learning is forget_tier. These limits reduce traffic and exposure, but they cannot promise that a site will not block an IP.

The accounting unit is a fetch attempt or supported browser-tool navigation, not every network request: resource loads, redirects, origin warmup, challenge exchanges, scripts and interactive actions can generate additional traffic. Local development hosts are exempt. This is not a browser firewall or a universal request ceiling. Adjust limits through svipall config set or web_status(configure={...}), and svipall status reports the effective limits. Learning and admission need no third-party solver, service, API key or downloaded learning model.

~/.svipall/config.toml (or $SVIPALL_HOME/config.toml). Every field has a default, so a missing or partial file is fine. The default state directory contains:

config.tomlThe settings below
settings.tomlValidated settings saved by CLI/MCP, overriding config.toml
secrets.envCredentials can be referenced by name in supported action calls; this does not redact returned content
domain_tiers.jsonLegacy starting-tier memory for explicit emulated/native identity policies, listed in web_status sections=tiers only under those
automatic_routes.jsonLocal route evidence under hashed context keys, expiring after 24 hours
traffic.sqlite3Transactional visit windows, server holds and remembered failures, shared across modes and processes
search_engines.jsonHow each search engine has answered lately, per host and exit, so a failing one rests
pools.json, exit_health.jsonExits per domain, and what each one has done on each
reputation.jsonWhat each address has spent with each host, decaying with a half-life
svipall.dbPage cache, crawl frontiers, notes, watches, quality histograms and the request log
jobs.dbChallenges seen, how they were answered, and the corpus
journal.dbEvery call served: who asked, its attempts, where it stopped and what it returned
profiles/, auto_profiles/, sessions/Named profiles, the per-domain ones the ladder makes, and the one-fetch isolated ones
models/Models you installed, which win over the embedded ones
browser/Chrome for Testing, provisioned automatically when absent or installed explicitly
in/, out/Where file:// reads from and a relative out_file lands
screenshots/What web_view with image=true wrote
Common config.toml settings
# Browser and tiers
browser_path = "" # wins over everything when set and the file exists. Order after that:
# SVIPALL_BROWSER / CHROME_PATH / CHROME_BIN /
# PUPPETEER_EXECUTABLE_PATH, then the one `browser install` put in
# ~/.svipall/browser, then auto-detection
max_tier = "warm" # cap for mode=auto
browser_auto_install = true # provision a managed browser on startup if none is installed
browser_auto_update = true # update the managed browser in the background when it is 2+ majors behind
browser_identity = "auto" # emulated routes first; native only as a last resort
auto_native_fallback = true # false prohibits automatic real-device exposure
auto_max_attempts = 6 # per automatic fetch, including native; valid range 1..6
request_limit = 12 # top-level attempts per domain and exit in the window
request_window_seconds = 60
request_cooldown_seconds = 900 # longest backoff after repeated 429s
request_min_interval_ms = 1000
browser_timeout_ms = 45000
warm_wait_ms = 20000 # how long `warm` waits for a challenge to clear
warm_adaptive = true # allow recognized proof-of-work to reach one renewal
warm_max_wait_ms = 55000 # hard warm-stage budget; the request timeout still applies
browser_idle_secs = 180
warm_keep_max = 2 # cleared pages held open between fetches; 0 disables holding entirely
warm_keep_secs = 120 # how long a held page may go unused. Above the proof-of-work token
# lifetime and below browser_idle_secs, and a test asserts both
http_engine = "auto" # the emulating engine when built with `impersonate`, else reqwest
http_firefox = false # present Gecko coherently on the http tier: TLS, headers, UA, no Sec-CH-UA
http3 = false # speak HTTP/3 to sites that advertised it. Needs `--features http3`;
# a first visit is TCP either way, because Alt-Svc is what turns it on
# Identity and exits
locale = "" # empty = follow the exit's declared country
timezone = ""
exit_strategy = "sticky" # or round_robin, for domains with a pool of exits
reputation_budget = 250 # what one address may have outstanding with one host; 0 = off
reputation_half_life_hours = 6 # how long until half of what was spent stops counting
dns_over_https = "" # e.g. https://dns.example/dns-query; empty = off; not a network-wide DNS policy
# Crawling and output
parallelism = 4 # web_fetch with urls / web_crawl; tightened further by machine load
max_tokens_per_fetch = 25000
max_tokens_total = 60000 # cap across a whole crawl
overlap_blocks = 1 # blocks of the previous page a `cursor` continuation repeats; 0 = none
# Policy
allow_origins = []
block_origins = [] # blocking wins over allowing
refuse_private_addresses = false # OFF by default, and not because the risk is small: fetching
# http://localhost is an ordinary thing for an operator to ask for.
# Turn it on for an installation where an agent picks its own URLs.
local_roots = [] # directories file:// may read; empty = ~/.svipall/in only
block_ads = false # a real trade: pages whose third parties all fail load differently
blocklist_sources = [ # only fetched when block_ads = true
"https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
"https://easylist.to/easylist/easyprivacy.txt",
]
# Solver and dashboard
corpus_keep_days = 30 # how long solved captchas keep their images for export-corpus; 0 = none
solver_workers = 4
dashboard_port = 8787
dashboard_bind = "127.0.0.1" # set to a LAN address to answer challenges from a phone
log_level = "info"
# REST API
rest_port = 0 # 0 = off. `svipall serve` starts it anyway; this is what makes
# svipall-mcp mount it too. It exposes the 19 routes listed above.
rest_bind = "127.0.0.1"
api_key = "" # empty = ~/.svipall/api_key, generated on first use and printed once
max_jobs = 2 # long jobs at once — not `parallelism`, which bounds one job's fetches
# Updates
update_check = true # at most once a day, say when a newer release exists; false = never ask
# Journal (web_status log=calls, svipall log --calls, the desktop app)
journal = true # record every call served in journal.db; secrets are redacted first
journal_days = 30 # how long a call stays
journal_content_mb = 512 # returned content kept, compressed; past it the oldest pages go first
# Supervised tunnels (see docs/exits.md). One block per tunnel; none by default
[[tunnels]]
name = "bastion"
command = ["ssh", "-N", "-D", "1081", "-o", "ExitOnForwardFailure=yes", "me@bastion.example"]
socks_port = 1081 # the exit is socks5h://127.0.0.1:1081
country = "de" # declared, as for any exit; optional
Env varDefaultEffect
SVIPALL_HOME~/.svipallConfig, cache, profiles, models, blocklists
SVIPALL_BROWSER—Path to a browser binary. Also honoured: CHROME_PATH, CHROME_BIN, PUPPETEER_EXECUTABLE_PATH
SVIPALL_HTTP_ENGINEhttp_engineWhich http engine runs; beats the config file
SVIPALL_HUMAN_ASSISTonOpen a visible window when a token captcha cannot be auto-solved
SVIPALL_HUMAN_WAIT_SECS180How long that window waits
SVIPALL_DASHBOARD_PORTdashboard_portPort the human dashboard listens on
SVIPALL_REST_PORTrest_portPort the REST API listens on inside svipall-mcp. The Docker knob
SVIPALL_API_KEY—Pin the bearer key, for a container whose home is not writable
SVIPALL_INTEGRATION—Set to claude-plugin by the Claude Code plugin, whose hook shows the update notice instead of svipall-mcp
SVIPALL_RELEASES_URLGitHub releasesWhere svipall models install fetches the models archive and its sha256sums.txt; point it at a mirror inside a network that cannot reach GitHub

real and warm open a real browser window, because a headless one answers pointer: fine with false and a wall that asks is told what it is talking to. The window is moved off the edge of the screen. It is not hidden because a hidden or minimised window is an occluded one, and Chrome throttles it and flips visibilityState, which gives the same thing away by another route.

Position is a request and a tiling compositor may ignore it: Hyprland and sway place the window in their layout, which also distorts the height the page reads (bench tells, window_chrome_height). On Linux the window therefore carries its own X11 class, svipall-browser, so a rule can catch those windows and no others:

windowrule = workspace special:svipall silent, class:^(svipall-browser)$ # Hyprland
for_window [class="svipall-browser"] move scratchpad # sway, i3

Under a plain X server, or an Xvfb the browser is pointed at with DISPLAY, neither is needed. config set max_tier=stealth forbids those tiers outright, at the cost of the walls they exist for.



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