Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Docling

$ docling Official Low Risk
IBM Research · AI & Media · MIT · macos / linux / windows

Docling (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.

FCRS-1.0 Score
87 /100
Good
Medium Confidence
Zero-Friction Install
pip install docling
CLI vs MCP Decision CLI Preferred vs MCP

docling processes local PDF and Office binaries directly on CPU/GPU and writes --to json/--to md files locally.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

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 --output directory targeting
  • Zero interactive prompts during conversion
Trust & Safety 23 / 25

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
Setup & Portability 11 / 15

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
Utility & Efficiency 14 / 15

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
Maintenance & Lineage 9 / 10

Created by IBM Research and hosted by LF AI & Data (docling-project/docling) under MIT license.

  • LF AI & Data hosted repository under MIT license
Docs & Verifiability 9 / 10

Clear documentation and CLI examples at docling-project.github.io/docling.

  • Official usage docs and --help reference

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Runs locally without API keys; downloads open layout/table model weights into the local Hugging Face cache on first run.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; completely free to run locally (first run downloads model weights).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect Docling CLI conversion flags
docling --help

Displays supported input formats, --to export targets, and OCR/table pipeline flags.

Controlled Writes & Previews

Convert a PDF into both JSON and Markdown
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 --output rather than streaming JSON to stdout.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI