pagesift is a local-first web and document ingestion engine, written in Rust and running as a single self-hosted binary. It is designed to convert live web pages, uploaded binary documents, archives, and long-term monitored sources into structured, traceable data for AI agents, RAG pipelines, or downstream analysis.
Key capabilities include:
- Input support: URLs, HTML, PDF (text and optional PP-OCRv6/formulas), uploaded images (when OCR is enabled), Office and OpenDocument, RTF/WordPerfect/HWP, e-books, email, archives (zip, tar, 7z), SQLite/CSV, 373 code languages, and WARC.
- Output formats: Markdown, HTML, raw HTML, links, images/attachments, RAG chunks, schema JSON, DataGraph (graph.jsonl, citations, claim lifecycle, conflicts, fact_clusters, ?asOf=), ContextPack (KnowledgeUnit, ContextDelta, provenanceManifest), Resolve (ConclusionRecord, CounterSearchAudit, ResolveEvent), and structured warnings for partial captures.
- Interfaces: CLI, Firecrawl v1/v2 HTTP API, Jina Reader (/r/, /s/), MCP (stdio/HTTP), Python, Node.js/TypeScript, Rust crate, C ABI (supporting Go, Java, Kotlin, C#, Ruby, PHP, Dart, Zig), and LangChain and LlamaIndex integrations.
- Platforms and operations: single binary (serve --role gateway, worker, standby), supporting Linux x86_64/aarch64 (glibc ≥ 2.28 and musl), macOS arm64, Windows x86_64, Docker image ghcr.io/yolow92/pagesift:1.7.0.
- Architecture: layered runtime, including entry surfaces (CLI/HTTP/MCP/FFI), policy and SSRF protection network, adaptive strategies (HTTP/embedded JSON/browser), native format readers, DataGraph/Context/Resolve and append-only storage, cgroup-sized NUMA worker pool (pagesift-flow).
- Continuous sync closed loop: long-lived sources registered via pagesift sync or /v2/sources run an adaptive closed loop each tick (observe→learn→decide→execute→verify), optionally reconciling changed documents incrementally into ContextStore and ResolveStore.
- New in 1.7.0, Resolve: an evidence-based claim verification and live conclusion maintenance engine, available across Rust, HTTP, CLI, MCP, C ABI, Python, and Node.js, persisting a versioned ConclusionRecord graph, revision history, a monotonic ResolveEvent stream, and dual inverted indexes, performing context-preserving claim decomposition and deterministic seven-layer checks, supporting proactive counterexample probing, incremental Live reconciliation, and confidence calibration based on HardEvidence feedback.
Usage: available via Python/Node.js packages, an HTTP server (compatible with Firecrawl v1/v2, Jina Reader, and /v2/sources, /v2/graph, /v2/context, /v2/resolve), or an MCP server. MCP exposes tools such as 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 (after configuring a model) pagesift_agent/pagesift_agent_status.
Use cases: feeding live web pages, PDFs, Office suites, archives, or source code into AI agents,RAG pipelines, or downstream analysis without an external runtime worker; compiling token budgets and ContextPack prompts with source citations, preserving table headers, qualifiers, units, temporal validity, and multi-source conflicts; auditing LLM answers and factual claims into a persistent ConclusionRecord graph, performing deterministic seven-layer verification, proactive counterexample probing, and incremental Live re-verification when sources change; self-hosting Firecrawl- or Jina Reader-compatible APIs and shared MCP tools without per-page SaaS fees; continuously monitoring/syncing changed sources, with cost-aware browser escalation, lineage tracking, and claim-level conflict detection.
Limitations: pagesift is a self-hosted tool and does not provide a hosted SaaS cloud service; it does not automatically solve CAPTCHAs, and interactive challenges are classified and paused for manual resolution ([itna] resumption is optional and does not bypass CAPTCHAs); when handling only standalone image URLs without local upload or OCR support, uploads/local images require --ocr ([ocr] enabled = true), and image URLs and uploads with OCR disabled return UNSUPPORTED_OPTION. The license is Apache-2.0; commercial support, SLAs, or enterprise agreements require contacting licensing@pagesift.dev.