D
docling-project/docling.rs★ 156 · Rust
Rust document ingestion with layout, OCR and structured output for RAG
MIT · Commercial Friendlyv2.89.1
Cross-track 2026 comparison (RAG, Data & Memory vs Agents & Frameworks): pydantic/pydantic-ai leads both total GitHub adoption (★ 21.5k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Rust document ingestion with layout, OCR and structured output for RAG
Typed Python agent SDK for reusable tools, model fallback, and realtime voice.
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | docling-project/docling.rs | pydantic/pydantic-ai |
|---|---|---|
| Total GitHub Stars | ★ 156 | ★ 21,481 |
| 24h / 7d Velocity | +1 / +7 | +10 / +113 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 91/100 | A+ · 100/100 |
| Deployment Signals | Docker · MCP · Self-Hosted · CLI · API | CLI · API |
| Primary Language | Rust | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated yesterday | Updated today |
| Latest Release | v2.89.1 | v2.77.0 |
| Best For | Self-hosted RAG ingestion and agent workflows that need structured outputs from mixed Office files, PDFs and scans, with the option to keep an existing retrieval stack | Python teams shipping structured extraction, tool-backed support agents, or realtime voice assistants that need to reuse business logic across providers and interfaces |
DoclingDocument, which can be serialized to Markdown, JSON, HTML or chunks.--text-layer-only bypasses layout inference.docling-asr uses Symphonia decoding and ONNX Whisper, and timed output can be exported as WebVTT.docling-rag provides pluggable chunking, embeddings, vector search and a REST API on top of conversion.# CLI + models (Linux x64/arm64/s390x + macOS arm64 prebuilt; builds from source elsewhere) curl -fsSL https://raw.githubusercontent.com/docling-project/docling.rs/master/scripts/install/install.sh | bash docling-rs example.pdf # Markdown on stdout # or from crates.io; --cli puts the models where the installed binary looks cargo install --locked docling-cli curl -fsSL https://raw.githubusercontent.com/docling-project/docling.rs/master/scripts/install/download_dependencies.sh | sh -s -- --cli pip install docling-rs # Python — drop-in for docling's, MarkItDown's, Marker's and MinerU's APIs npm install docling.rs # Node.js / Bun cargo add docling # Rust library # containers, models baked in (-cuda variants for NVIDIA) docker run --rm -v "$PWD:/data" ghcr.io/docling-project/docling-rs paper.pdf docker run -p 127.0.0.1:5001:5001 ghcr.io/docling-proj
RunContext.supports_tool_updates.StepPersistence snapshots settled steps; TemporalDurability runs model and tool calls as durable activities.uv add pydantic-ai "pydantic-ai-harness[coder]"
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy