DeckProbe is the probing engine of the DeckFlow Runtime. It performs low-cost
preflight inspection and returns structured evidence that callers can use before
more expensive parsing, OCR, rendering, uploading, or model ingestion.
Available as a target-driven Rust engine, native CLI, and browser SDK, DeckProbe
inspects untrusted PDF, Microsoft Office, and modern Apple iWork documents
without rendering them or starting a desktop office suite. Instead of eagerly
unpacking everything, it chooses the cheapest probe path that can satisfy the
targets and confidence you requested.
$ deckprobe --pretty -t slide_count deck.pptx
{
"driver": { "id": "powerpoint", "profile": "pptx" },
"results": {
"<target>": {
"status": "resolved",
"value": 31,
"confidence": "high",
"path": "<selected-path>"
}
},
...
}
User-facing examples use short target names; reports retain stable canonical
keys for machine consumers.
Where DeckProbe fits
DeckFlow is the Document Runtime for Agents. Its product model has three engine
responsibilities:
| Engine | Responsibility |
|---|
| Probe / DeckProbe | Inspect and expose bounded preflight signals for routing decisions. |
| Parse / DeckParse | Make document content and structure operable as persistent state. |
| Render / DeckRender | Produce visual representations for humans, AI, and software. |
DeckProbe can run independently. In a larger Runtime workflow, its report helps
the calling agent or application decide whether to parse, render, reject, or use
another path. DeckProbe provides the evidence for that decision; it does not
automatically choose or execute downstream actions.
DeckProbe is not a general-purpose parser, renderer, OCR engine, editor, or
complete security product.
Why DeckProbe
| Need | What DeckProbe does |
|---|
| Fast, focused inspection | Runs only the paths needed for targets such as page count or slide count. |
| Agent-friendly automation | Emits deterministic schema-v2 JSON for success, partial results, and errors, with stable codes and target-level evidence. |
| Predictable work | Enforces physical-read, decompression, archive-entry, and wall-clock budgets. |
| Broad PDF compatibility | Uses normal parsing first, then bounded safe xref normalization/reconstruction for common damaged-but-readable PDFs. |
| Modern and Legacy Office | Reads OOXML plus .doc, .xls, and .ppt metadata and core statistics through the same target vocabulary. |
| Modern Apple iWork | Validates and inspects .key, .numbers, and .pages ZIP/IWA packages through bounded Snappy and Protobuf paths. |
| Format safety | Routes by filename extension, then verifies the container and required internal main part before reporting values. |
The native CLI needs no Python, JVM, Microsoft Office installation, or external
PDF library at runtime. The browser SDK runs the same engine locally through
WebAssembly and does not upload document bytes.
Quickstart
Install from source
Requires Rust 1.88 or newer and Git.
This builds the CLI on the user's machine and installs it in the Cargo user
directory, so it normally does not require administrator privileges:
cargo install --git https://github.com/deckflow/deckprobe --locked deckprobe
Install a prebuilt release
The installers choose the matching CPU and platform archive and install into
the Cargo user directory. Installing there does not require administrator
privileges. Use an elevated shell only when deliberately installing into a
system directory.
macOS (Apple Silicon or Intel)
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/deckflow/deckprobe/releases/latest/download/deckprobe-installer.sh | sh
Linux (x86-64 or ARM64; GNU or musl)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/deckflow/deckprobe/releases/latest/download/deckprobe-installer.sh | sh
Windows (x86-64, MSVC)