PageSift Logo # pagesift 1.8.0 **Local-first Rust web & document ingestion engine — native YOLOW parsers, cgroup-aware adaptive resource governance, persistent Loop sync, verifiable DataGraph, budget-compiled ContextPack, and live Resolve verification.** One self-hosted Rust binary with a CLI, Firecrawl v1/v2 & Jina Reader HTTP APIs, an MCP server, a C ABI, and native Python / Node.js packages (local & remote CDP across Linux, macOS, and Windows). [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) [![Commercial license](https://img.shields.io/badge/commercial-license%20available-green.svg)](docs/COMMERCIAL.md) [![Release](https://img.shields.io/github/v/release/YOLOW92/pagesift?include_prereleases)](https://github.com/YOLOW92/pagesift/releases) [![crates.io](https://img.shields.io/crates/v/pagesift.svg)](https://crates.io/crates/pagesift) [![PyPI](https://img.shields.io/pypi/v/pagesift.svg)](https://pypi.org/project/pagesift/) [![npm](https://img.shields.io/npm/v/@pagesift/node.svg)](https://www.npmjs.com/package/@pagesift/node) [![PageSift MCP server – quality and maintenance score on Glama](https://glama.ai/mcp/servers/YOLOW92/pagesift/badges/score.svg)](https://glama.ai/mcp/servers/YOLOW92/pagesift) [![Discord](https://img.shields.io/badge/Discord-join-5865F2?logo=discord&logoColor=white)](https://discord.gg/esA3wMZVvA) **English** · [简体中文](docs/README.zh-CN.md) · [日本語](docs/README.ja.md) · [Español](docs/README.es.md)
## Overview `pagesift` turns live web pages, uploaded binary documents, archives, and long-lived monitored sources into clean Markdown, schema-validated JSON, provenance-tracked `DataGraph` relations, budget-compiled `ContextPack` evidence, and persistent incrementally verified `Resolve` conclusions inside one memory-bounded Rust binary. Across a **42-crate** workspace aligned with all six native `yolow*` components (`yolow64`, `yolowzstd`, `yolowdoc`, `yolowhtml`, `yolowsyntax`, `yolowpdf`) under a single `SmallCache` allocator, unified `ExecutionBudget` / `MemoryPressure` / `Admission` governance (with cgroup `CPUQuota` thread capping), `--mode standalone|server` heterogeneous scheduling (`NodeCapabilities` + Docker Swarm), layered `#![forbid(unsafe_code)]` + `#![deny(unsafe_op_in_unsafe_fn)]` safety boundaries, and core `pagesift-mesh` / `pagesift-compute` / `pagesift-runtime` Rust library crates (`ns=15` `m`/`k`/`w`; CLI/HTTP/MCP wiring deferred), it runs in-process without Python, JVM, or Node workers; local or remote CDP browsers (including Windows Win32 Job Object management), NVIDIA GPU OCR, and user-configured LLMs attach only when requested. Drop-in or companion for: **Firecrawl** (self-hosted v1/v2 API), **Jina Reader** (`/r/` and `/s/`), **Crawl4AI**, **trafilatura**, **Readability**, **pymupdf4llm**, **Docling**, **Kreuzberg**, and **xberg**. ## Sponsors Proxy-Seller: residential and ISP proxies, promo code PAGESIFT > Affiliate link: the project may earn a commission on purchases. [**Proxy-Seller**](https://proxy-seller.com/?partner=9CCCBD6151334AC0) sponsors pagesift: residential, ISP and datacenter proxy IPs (IPv4/IPv6), 220+ geos, 24/7 support. Use promo code `PAGESIFT` for 15% off ISP / IPv4 / residential proxies. Byteful: ethical residential, mobile, ISP and datacenter proxies, promo code PAGESIFT10 [**Byteful**](https://byteful.com/?utm_source=github&utm_medium=github-sponsor&utm_campaign=pagesift_github_sponsorship) supplies ethical residential, mobile, ISP, and datacenter proxies, plus scraping and AI automation tools. Use code `PAGESIFT10`: 10% off residential proxies. ## At a glance - **Layered runtime:** Entry surfaces (`CLI` / `HTTP` / `MCP` / FFI) → SSRF-guarded net & adaptive capture (`HTTP` / embedded JSON / local or remote CDP) → native `yolow*` readers → deepened `Loop`, `DataGraph`, `Context`, `Resolve` & `ns=15` `m`/`k`/`w` core Rust library engines (`pagesift-mesh`, `pagesift-compute`, `pagesift-runtime`; endpoint wiring deferred) → unified `ExecutionBudget` / `MemoryPressure` / `Admission` & cgroup thread governance (`pagesift-flow`) - **Inputs:** URLs, HTML, PDF (text + optional PP-OCRv6 / formulas), uploaded images (OCR when enabled), Office & OpenDocument, RTF/WordPerfect/HWP, e-books, emails, archives (`zip`, `tar`, `7z`), SQLite/CSV, 373 code languages, and WARC ([format matrix](docs/parse-api.md)) - **Outputs:** Markdown, HTML, raw HTML, links, images/attachments, RAG chunks, schema JSON, `DataGraph` (`graph.jsonl`, citations, claim lifecycles, conflicts, `fact_clusters`, `?asOf=`), `ContextPack` (`KnowledgeUnit`, `ContextDelta`, `provenanceManifest`), `Resolve` (`ConclusionRecord`, `CounterSearchAudit`, `ResolveEvent`), plus structured warnings on partial captures - **Interfaces:** CLI · Firecrawl v1/v2 HTTP API · Jina Reader (`/r/`, `/s/`) · MCP (stdio / HTTP) · Python · Node.js / TypeScript (`browserRemote` / `browserExecutable` / `browserEngine`) · Rust crate (`pagesift` + `pagesift-mesh` / `pagesift-compute` / `pagesift-runtime` libs) · C ABI (Go, Java, Kotlin, C#, Ruby, PHP, Lua, Perl, Dart, Swift, Zig) · LangChain & LlamaIndex - **Platforms & ops:** Single binary (`serve --mode standalone|server --role standalone|all|gateway|worker|standby`), hardware-aware `NodeCapabilities` scheduling (`<1 GiB` edge guard, 70% RAM gate), and [Docker Swarm stack](docker/docker-stack.yml); prebuilt CLI & C ABI for Linux `x86_64`/`aarch64` (glibc ≥ 2.28) & macOS `arm64`; prebuilt `@pagesift/node` for Linux `x86_64`/`aarch64` (glibc), Linux `x86_64` musl, macOS `arm64`, & Windows `x86_64` MSVC; Windows `x86_64` & Linux `musl` CLI from source (`cargo install pagesift --locked`, Win32 Job Object local browser & remote `ws://` CDP built in); Docker `ghcr.io/yolow92/pagesift:1.8.0` ([deployment guide](docker/README.md)) - **Index & release:** Machine-readable index [llms.txt](llms.txt) · Apache-2.0 or [commercial support](docs/COMMERCIAL.md) · **1.8.0** ([release notes](docs/releases/1.8.0.md)) ## Install and quick start | Surface | Install | Minimal call | |---|---|---| | CLI | `cargo install pagesift --locked` | `pagesift scrape https://example.com` | | Python | `pip install pagesift` | `pagesift.scrape("https://example.com").markdown` | | Node.js | `npm install @pagesift/node` | `(await new Scraper().scrape("https://example.com")).markdown` | | Server | `docker run -p 3002:3002 ghcr.io/yolow92/pagesift:1.8.0` | `curl localhost:3002/r/https://example.com` | | MCP | — | `claude mcp add pagesift -- pagesift mcp` |
Quick start snippets: CLI, Python, Node.js, HTTP API, MCP **CLI** ```bash pagesift scrape https://example.com # Clean Markdown to stdout pagesift scrape --graph https://example.com # Markdown + DataGraph provenance & claims pagesift scrape report.pdf # Local PDF, Office, e-book, email, archive, code or WARC pagesift --ocr scrape scan.pdf # OCR scanned PDF pages or uploaded images pagesift crawl https://docs.rs --limit 500 --out ./data/ # Crawl to disk (add --graph for graph.jsonl) pagesift graph inspect ./data/graph.jsonl # Inspect citations, lineage, claims and conflicts pagesift sync init --id docs --seed https://example.com # Initialize and run a persistent Loop sync source pagesift context pack --file report.pdf "rate limits" # Compile a token-budgeted ContextPack with citations pagesift resolve check --store ./data/store --source-id docs "Plan Pro costs $99/yr." # Verify & persist conclusion pagesift extract --schema schema.json https://example.com # Schema JSON with CSS selector relocation pagesift doctor # Inspect local browsers, GPU and models ``` **Python & Node.js** ```python import pagesift page = pagesift.scrape("https://example.com", formats=["markdown", "links"]) print(page.markdown, page.metadata["title"], page.links) with pagesift.Scraper(store_path="./data/store") as s: pack = s.context(action="pack", source_ids=["docs"], query="rate limits", budget_tokens=1024) verdict = s.resolve(action="check", source_ids=["docs"], answer="Plan Pro costs $99/yr.") print(pack["pack"]["compiledContext"], verdict["conclusion"]["state"]) ``` ```typescript import { Scraper } from '@pagesift/node' const scraper = new Scraper({ storePath: './data/store', // Connect to a remote CDP endpoint (or pass browserExecutable + browserEngine instead) browserRemote: 'ws://127.0.0.1:9222', browserEngine: 'chrome', }) const page = await scraper.scrape('https://example.com', { formats: ['markdown', 'links'] }) const pack = await scraper.context({ action: 'pack', sourceIds: ['docs'], query: 'rate limits', budgetTokens: 1024 }) const verdict = await scraper.resolve({ action: 'check', sourceIds: ['docs'], answer: 'Plan Pro costs $99/yr.' }) console.log(page.markdown, pack.pack, verdict.conclusion?.state) ``` **HTTP server (`Firecrawl v1/v2`, `Jina Reader`, `/v2/sources`, `/v2/graph`, `/v2/context`, `/v2/resolve`) & MCP** ```bash docker run -d -p 3002:3002 -v pagesift-data:/data -e PAGESIFT_API_KEYS=sk-test ghcr.io/yolow92/pagesift:1.8.0 curl -s localhost:3002/v2/scrape -H 'Authorization: Bearer sk-test' -H 'Content-Type: application/json' \ -d '{"url":"https://example.com","formats":["markdown"]}' curl -s localhost:3002/r/https://example.com -H 'Authorization: Bearer sk-test' curl -s localhost:3002/v2/parse -H 'Authorization: Bearer sk-test' -F file=@report.pdf -F 'options={"formats":["markdown"]}' curl -s localhost:3002/v2/context/pack -H 'Authorization: Bearer sk-test' -H 'Content-Type: application/json' \ -d '{"sourceIds":["docs"],"query":"rate limits","budgetTokens":1024}' curl -s localhost:3002/v2/resolve/check -H 'Authorization: Bearer sk-test' -H 'Content-Type: application/json' \ -d '{"sourceIds":["docs"],"answer":"Plan Pro costs $99/yr."}' pagesift mcp # stdio for a single agent pagesift mcp http --port 3003 # shared local MCP daemon ```
MCP exposes `pagesift_scrape`, `pagesift_batch_scrape`, `pagesift_crawl`, `pagesift_poll_job`, `pagesift_cancel_job`, `pagesift_map`, `pagesift_interact`, `pagesift_interact_stop`, `pagesift_sync`, `pagesift_graph_query`, `pagesift_context`, `pagesift_resolve`, and (with a configured model) `pagesift_agent` / `pagesift_agent_status`. See [Shared MCP service](docs/mcp-service.md), [Context reference](docs/context.md), and [Resolve reference](docs/resolve.md). ## Capabilities Organized by architectural plane—showing implemented surfaces, data paths, and reference docs: | Plane | Implemented capabilities | Reference | |---|---|---| | **Interfaces & compatibility** | Self-hosted CLI, Firecrawl v1/v2 HTTP API (`/v2/scrape`, `/v2/crawl`, `/v2/parse`, `/v2/monitor`, `/v2/sources`, `/v2/graph`, `/v2/context`, `/v2/resolve`, `/v2/agent`, `/interact`), Jina Reader (`/r/`, `/s/`), MCP (stdio/HTTP), Python, Node.js/TS (`browserRemote`, `browserExecutable`, `browserEngine`), Rust library, C ABI bindings | [parse-api.md](docs/parse-api.md) · [context.md](docs/context.md) · [resolve.md](docs/resolve.md) · [mcp-service.md](docs/mcp-service.md) | | **Acquisition & safety** | Conditional HTTP (`ETag`/`Last-Modified`), SSRF & DNS-rebinding guards, `robots.txt` & per-host rate limits, identity leases, embedded JSON synthesis (`__NEXT_DATA__`/`__NUXT_DATA__`/JSON-LD), local or remote CDP (`Lightpanda`/`moli`/Chrome/Chromium/Edge, Windows Win32 Job Object process-tree cleanup) + `/interact` sessions, opt-in `[itna]` access-barrier classification | [interact.md](docs/interact.md) · [http-sessions.md](docs/http-sessions.md) · [bot.md](docs/bot.md) | | **Native parsing & OCR** | Pure-Rust readers aligned across all six YOLOW components (`yolowhtml` + `yolowhtml-dom 0.2.0`, `yolowpdf` + `yolowpdf-ocr/gpu/infer 0.3.0`, `yolowdoc 0.2.1`, `yolowsyntax 0.2.1`, `yolowzstd 0.3.1`, `yolow64 0.5.2`) covering web, Office/ODF, e-books, email, nested archives, SQLite/CSV, 373 code languages (AST function/class splits for 32+ languages), WARC I/O, and PP-OCRv6 + PP-FormulaNet on CPU/GPU | [parse-api.md](docs/parse-api.md) | | **Resource governance & safety** | Single `SmallCache` allocator (`pagesift-sys`, `65/65` `// SAFETY:` invariants); unified `ExecutionBudget`, cgroup v1/v2 `CPUQuota` thread cap (`NLWP <= 9` under `CPUQuota=200%`), 4-level `MemoryPressure` (PSI + BOCPD/Welford `RestTracker`), and `Admission` `ComputePermit` / `GpuPermit` / `gpu_shadow_price`; across 42 workspace crates: `17` `#![forbid(unsafe_code)]` crates (14 baseline incl. `pagesift-rustls` + `pagesift-mesh`, `pagesift-compute`, `pagesift-runtime`), `16` `#![deny(unsafe_code)]` + `#![deny(unsafe_op_in_unsafe_fn)]` crates with audited SIMD/buffer modules, plus `pagesift-cdp` (`17` `#![deny(unsafe_op_in_unsafe_fn)]` crates total) | [architecture.md](docs/architecture.md) | | **Extraction & agents** | Main-content Markdown with math/code/tables (`` & `hidden="until-found"`), RAG `queryFilter` & chunking, selector-memory schema extraction with automatic DOM relocation, and model-planned `/v2/agent` research verified against archived page evidence | [structured-extract.md](docs/structured-extract.md) · [agent-api.md](docs/agent-api.md) | | **Continuous Loop & monitors** | Persistent `pagesift sync` / `/v2/sources` sources with anti-aliased periodic detection, BOCPD + Shiryaev-Roberts changepoint & burst regime switching (`SyncAuxState` hydration), hierarchical Gamma-Poisson shrinkage & Lagrange water-filling, hub co-change propagation, modality cost & tab shadow pricing, `DirectBrowser` recovery probes, surprise forgetting, tenant-isolated cold-start transfer, reliability censoring, and `/v2/monitor` webhooks | [monitor.md](docs/monitor.md) · [incremental-collection.md](docs/incremental-collection.md) | | **DataGraph & provenance** | Cross-page and cross-source evidence graph (`graph.jsonl`, `graph_summary.json`, `/v2/graph/claims`, `/history`, `/conflicts`, `?asOf=`): persisted document citations, redirect/canonical/attachment provenance, contextual unit/currency disambiguation, `OriginRelation` independent roots, `fact_clusters`, and claim lifecycles (`Active`, `Superseded`, `Withdrawn`, `Unverified`, `EvidenceDegraded`) | [architecture.md](docs/architecture.md) | | **Context & compilation** | Cross-version `KnowledgeUnit` identity & ambiguity tracking (`boundedUot` / `greedyDice` / `exactAnchorOnly`, SIMD MinHash sketching), atomic dependency-governed `ContextDelta` & idempotent consumer checkpoints, multi-strategy lexical/symbol/temporal/lineage `Search`, budget- & `MustKeep`-constrained `ContextPack` (`submodularClosure` / `boundedDpp` / `edgeSalience`) with `provenanceManifest`, and bounded VOI + shadow-price `Action` with drift-guarded online `Learn` | [context.md](docs/context.md) | | **Resolve & live verification** | Persistent `ConclusionRecord` graph in GC-immune `ns::RESOLVE`, context-preserving claim decomposition, deterministic seven-layer `Check` (entity, dual-axis `asOf`/`effectiveAt`, currency/billing-period/unit, polarity/qualifier, causal conservatism, `originRoot` mirror collapse, comparative/errata falsification), attribute-guarded `Counter` probes with `absence_is_not_proof` audit, VOI-bounded `Gap` acquisition, optional quote-grounded `HybridAssisted` judge, Salsa-style early-cutoff `Live` reconciliation, and `HardEvidence`-only PAV/CUSUM `Learn` | [resolve.md](docs/resolve.md) | | **Adaptive cluster & Swarm** | Explicit `--mode standalone\|server` (`PAGESIFT_MODE`) splitting zero-cluster single-node mode from heterogeneous `pagesift-cluster` (`gateway`/`worker`/`standby`) scheduling via `NodeCapabilities` (`PSNC\x01`) + `TaskResourceNeed` (`<1 GiB` edge protection, 70% RAM gate, GPU/browser caps), plus encrypted `docker/docker-stack.yml` Docker Swarm stack & standalone Compose | [docker/README.md](docker/README.md) · [architecture.md](docs/architecture.md) | | **Mesh / Compute / Runtime libs** | Core `#![forbid(unsafe_code)]` Rust library crates persisted in `pagesift-store` `ns=15` (`m`/`k`/`w` tags): `pagesift-mesh` (`Link`, `Match`, `Bundle`, `Memory`, `Events`, `Team`, `Trust`, `Learn`), `pagesift-compute` (`Calc`, 8-point `Align`, `Update` DAG, isolated `Scenario`, `Recipe`, `Run`), and `pagesift-runtime` (`Task`, `Compile`, `ControlPlaneFence` `Route`, CAS `Live` recovery, `Compose`) — unit-tested Rust engines (CLI/HTTP/MCP wiring & remote HTTP `MeshTransport` deferred) | [architecture.md](docs/architecture.md) | ## Performance at a glance Benchmarks are tracked separately so this page stays focused on system structure; all recorded baselines, hardware details, caveats, and competitor comparisons live in [docs/benchmarks.md](docs/benchmarks.md): - **Latency (recorded 1.4 / 1.6.0 / 1.7.0 baselines, single-worker, lower is better):** PDF → Markdown `2.5–2.58 ms/page` (1,269 pages); HTML → Markdown `0.23–0.24 ms/page` (600 docs); main-content extraction `1.0 ms/page` (597 pages); Context `BoundedUot` reconcile `63.9 µs` and `ContextPack` compile `67–225 µs` (`192`/`384`-token budgets); Resolve deterministic `Check` `p50 96 µs` / `p99 161 µs` (`400` checks) and `Live` incremental reconciliation `7,504 µs` vs `33,550 µs` full recheck (`4.47x` speedup across `60` persisted conclusions). - **Throughput, quality & memory (recorded 1.4 / 1.6.0 / 1.7.0 baselines):** Office in-process `81.9–210.0 files/s` (higher is better); HTML → Markdown `1.000` mean F1; WCXB `0.866` F1; RAG query filter `0.929` recall (higher is better); Context `Search + Pack` `2,708.8–24,434.4 QPS` across `1–16` threads (`25.9–28.8 MiB` RSS); Resolve `Check` `9,448.4 QPS` (`31.25 MiB` RSS, `0.0000` false-support rate and `1.0000` supported precision/recall across `64` adversarial traps; QPS/precision/recall higher, false-support/RSS lower is better); `17–395 MB` peak memory/worker without a browser across domain runs. - **Full scorecards & evaluations:** [benchmarks.md](docs/benchmarks.md) · [Full benchmark report](benchmarks/history/1.4/results/final/new/report.md) · [1.8.0 release notes](docs/releases/1.8.0.md) · [1.7.0 Resolve evaluation](docs/releases/1.7.0.md) · [1.6.0 Context & Loop evaluation](docs/releases/1.6.0.md) ## Architecture and core flows The core runs as one compiled Rust binary with zero managed interpreter runtimes behind parsing, storage, or scheduling. Memory, CPU workers, external YOLOW parallelism, GPU OCR jobs, and browser tabs pass through shared cgroup-aware admission (`ExecutionBudget` & `MemoryPressure`), while internal runtime thresholds adapt only when online statistics clear significance thresholds (`δ = 0.05`). ### Layered architecture and YOLOW pipeline PageSift layered architecture and YOLOW six-component pipeline *Architecture diagram: [Light SVG](docs/assets/arch-pipeline-light.svg) · [Dark SVG](docs/assets/arch-pipeline-dark.svg)* ### Unified adaptive resource governance Unified ExecutionBudget, MemoryPressure, Admission, and layered unsafe safety model *Governance diagram: [Light SVG](docs/assets/runtime-governance-light.svg) · [Dark SVG](docs/assets/runtime-governance-dark.svg)* ### Cluster roles and platform CDP topology PageSift cluster roles, local/remote CDP options, and platform build matrix *Topology diagram: [Light SVG](docs/assets/deploy-topology-light.svg) · [Dark SVG](docs/assets/deploy-topology-dark.svg)* ### Continuous Sync closed loop (`Observe → Learn → Decide → Execute → Verify`) Long-lived sources registered via `pagesift sync` or `/v2/sources` run an adaptive closed loop per tick without discarding prior verified evidence on transient uncertainty, and optionally reconcile changed documents incrementally into `ContextStore` and `ResolveStore`: ```mermaid flowchart LR Obs["Observe
Periodicity · Burst · Budget"] Dec["Decide
304 · HTTP · CDP"] Exe["Execute
Fetch · Screen"] Ver["Verify & Commit
Claims · Context · Resolve"] Obs --> Dec --> Exe --> Ver --> Obs ``` ### Evidence-checked `/v2/agent` loop ```mermaid flowchart LR subgraph Agent["/v2/agent loop"] Q["Query + Schema"] --> M["User LLM"] M --> T["Scrape / Search
Policy guarded"] T --> Ev["Evidence"] Ev --> Check{"Done?"} Check -->|more| M Check -->|yes| Verify["Verified output"] end ``` ### Workspace crate map | Layer | Crates | |---|---| | **Entry surfaces & FFI** | `pagesift` (CLI & library), `pagesift-api` (HTTP server & schemas), `pagesift-mcp` (MCP stdio/HTTP), `pagesift-py`, `pagesift-node`, `pagesift-ffi` (C ABI) | | **Orchestration, strategy & graph** | `pagesift-engine`, `pagesift-plan`, `pagesift-hooks`, `pagesift-llm`, `pagesift-search`, `pagesift-graph` | | **Network, policy & browser** | `pagesift-net`, `pagesift-policy`, `pagesift-rustls`, `pagesift-cdp` (Unix + Win32 Job Object + remote CDP), `pagesift-media`, `pagesift-itna` | | **Web extraction & discovery** | `pagesift-html` (`yolowhtml-dom`), `pagesift-content` (`yolowhtml`), `pagesift-extract`, `pagesift-diff`, `pagesift-frontier` | | **Native document & OCR readers** | `pagesift-pdf` (`yolowpdf`), `pagesift-office` (`yolowdoc`), `pagesift-syntax` (`yolowsyntax`), `pagesift-ocr` (`yolowpdf-ocr`), `pagesift-infer` (`yolowpdf-infer`), `pagesift-gpu` (`yolowpdf-gpu`) | | **Runtime, math & persistence** | `pagesift-flow` (NUMA workers, `Admission` permits & cgroup caps), `pagesift-stat`, `pagesift-base64` (`yolow64`), `pagesift-compress` (`yolowzstd`), `pagesift-sys` (`SmallCache`), `pagesift-store` (`ns=14` + `ns=15` `r`/`m`/`k`/`w`), `pagesift-sink`, `pagesift-cluster` (`--mode standalone\|server`, `NodeCapabilities` HRW) | | **Core Mesh/Compute/Runtime libs & test/fuzz** | `pagesift-mesh`, `pagesift-compute`, `pagesift-runtime` (unit-tested `#![forbid(unsafe_code)]` Rust library crates; CLI/HTTP/MCP wiring deferred), `pagesift-testkit`, `pagesift-fuzz` | See [Architecture reference](docs/architecture.md) for cgroup sizing, statistical defaults (`δ = 0.05` USL/survival/Thompson tuning), incremental checkpoint semantics, and byte-range verified media archives. ## When to use it, and when not **Good fit** - Feeding live web pages, PDFs, Office suites, archives, or source code into AI agents, RAG pipelines, or downstream analytics with zero external runtime workers and shared cgroup-bounded resource governance - Compiling token-budgeted, provenance-cited `ContextPack` prompts that preserve table headers, qualifiers, units, temporal validity, and opposing multi-source conflicts - Auditing LLM answers and factual claims into persistent `ConclusionRecord` graphs with deterministic seven-layer verification, active counterexample probing, and incremental `Live` revalidation when sources change - Self-hosting Firecrawl- or Jina Reader-compatible APIs, shared MCP tooling, or Node.js/CLI pipelines with local or remote `ws://` CDP browsers across Linux, macOS, and Windows - Continuous monitoring/sync of changing sources where burst-regime detection, cost-aware browser escalation, lineage tracking, and claim-level conflict detection matter **Pick something else when** - **You want a managed SaaS cloud.** `pagesift` runs self-hosted on your infrastructure. - **You need automatic CAPTCHA solving.** Interactive challenges are classified and paused for human resolution (`[itna]` recovery is opt-in and does not bypass CAPTCHAs). - **You only process standalone image URLs without local uploads or OCR.** Uploaded/local images require `--ocr` (`[ocr] enabled = true`); image URLs and OCR-off uploads return `UNSUPPORTED_OPTION`. ## License [Apache-2.0](LICENSE). For dedicated support, SLAs, or enterprise agreements, see [commercial license and support](docs/COMMERCIAL.md) or write to `licensing@pagesift.dev`. ## What's new in 1.8.0 PageSift 1.8.0 updates the workspace to **42 crates** aligned across all six updated native `yolow*` components (`yolow64 0.5.2`, `yolowzstd 0.3.1`, `yolowdoc 0.2.1`, `yolowhtml` + `yolowhtml-dom 0.2.0`, `yolowsyntax 0.2.1`, `yolowpdf` + `yolowpdf-ocr/gpu/infer 0.3.0`) under `pagesift-sys` (`SmallCache`, `65/65` `// SAFETY:` invariants in `alloc.rs`); introduces unified cgroup-aware `ExecutionBudget` / `MemoryPressure` / `Admission` resource governance with strict cgroup `CPUQuota` thread capping (`NLWP <= 9` under `CPUQuota=200%`); enforces layered memory safety (`17` `#![forbid(unsafe_code)]` crates including `pagesift-rustls` and the three new core libraries, `16` `#![deny(unsafe_code)]` + `#![deny(unsafe_op_in_unsafe_fn)]` crates, plus `pagesift-cdp` = `17` `#![deny(unsafe_op_in_unsafe_fn)]` crates); deepens Loop (`SyncAuxState`, `BurstDetector`, `Sync -> Context -> Resolve` hook), `1.6 Context` (`yolowhtml 0.2.0` `has_body_meta()` reuse, `unit_uot_plan`, symmetric `"ambiguous"` lineage, `AssetSpecStamp::check_compatible`), and Resolve (`Live`); adds Node.js remote CDP (`browserRemote`, `browserExecutable`, `browserEngine`) and `pagesift-cdp` Windows discovery, Win32 Job Object management, and `::/96` SSRF hardening; splits `--mode standalone|server` (`PAGESIFT_MODE`) with `NodeCapabilities`/`TaskResourceNeed` heterogeneous scheduling (`<1 GiB` edge protection, 70% RAM gate) and `docker/docker-stack.yml` Docker Swarm; and adds the unit-tested core Rust library crates `pagesift-mesh`, `pagesift-compute`, and `pagesift-runtime` atop `pagesift-store` `ns=15` (`m`/`k`/`w` storage; full CLI/HTTP/MCP wiring and remote HTTP `MeshTransport` deferred). [Release notes](docs/releases/1.8.0.md) · [1.7.0](docs/releases/1.7.0.md) · [1.6.3](docs/releases/1.6.3.md) · [1.6.2](docs/releases/1.6.2.md) · [1.6.1](docs/releases/1.6.1.md) · [1.6.0](docs/releases/1.6.0.md) · [1.5.6](docs/releases/1.5.6.md) · [1.5.5](docs/releases/1.5.5.md) · [all releases](docs/releases/) · [CHANGELOG](docs/CHANGELOG.md) --- ## Community Questions or feedback: [Discord](https://discord.gg/esA3wMZVvA) · [Issues](https://github.com/YOLOW92/pagesift/issues) · [Discussions](https://github.com/YOLOW92/pagesift/discussions) ## Citation ```bibtex @software{pagesift2026, title = {PageSift: Rust Web and Document Extraction Engine for AI Pipelines}, author = {YOLOW92}, year = {2026}, url = {https://github.com/YOLOW92/pagesift}, note = {Version 1.8.0} } ``` ## Star History [![Star History Chart](https://api.star-history.com/svg?repos=YOLOW92/pagesift&type=Date)](https://star-history.com/#YOLOW92/pagesift&Date)