Context dependencies for AI agents. Browser-free by default.
DocPull is a local-first dependency manager for AI context. Define the public web sources an agent depends on, sync them into cited context packs, diff what changed, and export reproducible context for Cursor, Claude, OpenAI, LlamaIndex, LangChain, MCP clients, and RAG pipelines.
Architecturally, DocPull is the evidence and acquisition engine: it acquires,
versions, cites, hashes, and replays evidence. Downstream products own
scheduling, review, approved claims, legal conclusions, and notifications. See
the
The core workflow is a docpull.yaml plus a .docpull/context.lock.json,
similar in spirit to code dependency manifests and lockfiles:
docpull init my-agent-context
docpull add stripe react postgres
docpull install
docpull deps
docpull sync
docpull diff
docpull export context-pack --target openaiBundled aliases such as stripe, react, postgres, openai, and
apple-hig expand to normal HTTPS sources in docpull.yaml. Runs stay
reproducible through the lockfile: source URLs, discovered URLs, content hashes,
run IDs, aliases, and export metadata are recorded without storing secrets.
Use docpull sources list to inspect the bundled alias catalog and
docpull install to validate or recreate the local dependency lock.
Use docpull deps to see the current dependency, lockfile, latest run, and
export status.
Projects can also track typed known-source specs such as pypi:requests,
rfc:9110, wiki:Web_scraping, or a local dataset path. Those sources sync
through their typed lanes and do not use discovery.
The original docpull URL ... workflow still works: fetch public or explicitly
authorized static/server-rendered web pages and write clean Markdown, NDJSON,
SQLite, or Open Knowledge Format (OKF) outputs. OKF is a portable bundle format
that keeps content, indexes, and manifests together for reuse across tools.
Project mode adds the persistent evidence lifecycle on top: sources, runs,
diffs, exports, evals, accounting, and local auditability.
DocPull is local-first: direct fetching, sitemap/link discovery, extraction,
indexing, pack intelligence, and opt-in agent-browser rendering can run with
no external account and no required API spend. Cloud rendering is explicit and
budget-guarded.
DocPull aligns core workflows across CLI, Python SDK, and MCP, with each surface
optimized for its user. The
Web-source ingestion is the core workflow. Documentation is one high-value lane, not the product boundary. It works best on static or server-rendered pages such as blogs, API references, OpenAPI specs, changelogs, vendor pages, product pages, filings, docs sites, and other pages where the useful content is available in HTML or embedded page data.