Docling
$ docling Official Low RiskDocling (docling, created by IBM Research and hosted under LF AI & Data) converts complex PDFs, Office documents, HTML, and images into lossless DoclingDocument JSON (--to json), Markdown (--to md), or HTML. It runs completely locally by default with deterministic file outputs.
pip install docling docling processes local PDF and Office binaries directly on CPU/GPU and writes --to json/--to md files locally.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Clean non-interactive CLI supporting --to json and --to md with --output <dir>, though outputs go to files rather than stdout.
- Supports
--to json,--to md, and--outputdirectory targeting - Zero interactive prompts during conversion
Fully local document processing with zero remote API uploads by default and predictable file outputs under --output.
- 100% local execution with no remote document upload
- Non-destructive local conversion outputs
Cross-platform pip install docling, though PyTorch and layout/OCR model weights add multi-hundred-MB download footprint.
- Requires PyTorch and local model weight downloads on first run
Handles PDF, DOCX, PPTX, XLSX, HTML, and images with high-accuracy table and reading-order extraction.
- Multi-format conversion to lossless JSON and clean Markdown
Created by IBM Research and hosted by LF AI & Data (docling-project/docling) under MIT license.
- LF AI & Data hosted repository under MIT license
Clear documentation and CLI examples at docling-project.github.io/docling.
- Official usage docs and
--helpreference
Security, Auth & Guardrails
Runs locally without API keys; downloads open layout/table model weights into the local Hugging Face cache on first run.
MIT open-source CLI; completely free to run locally (first run downloads model weights).
# Docling CLI (docling) Agent Rules - Always pass `--output <dir>` (and `--to json` or `--to md`) so generated files are contained in a dedicated output folder. - Allow extra time or pre-warm model weights on the very first run when Hugging Face models are downloaded. - Use `--no-ocr` on digital-native PDFs when speed matters and OCR is unnecessary.
Agent-Ready Command Recipes
Safe Read-Only Queries
docling --help
Displays supported input formats, --to export targets, and OCR/table pipeline flags.
Controlled Writes & Previews
docling report.pdf --to json --to md --output ./out
Parses report.pdf locally and writes structured JSON and Markdown files into ./out.
Strengths for Agents
- + Exports lossless structured JSON (
--to json) alongside LLM-ready Markdown (--to md) locally. - + Zero external API keys or cloud uploads required.
Caveats & Pitfalls
- ! First invocation downloads layout/table-structure weights from Hugging Face.
- ! Writes output files to
--outputrather than streaming JSON to stdout.