Skip to main content

Reducto CLI

The Reducto document platform in your shell: parse, extract, split, classify and edit documents from the command line, in scripts, and inside agent workflows.

One static binary. No runtime. Every field of the Reducto API is reachable without waiting for a CLI release.

curl -fsSL https://reducto.ai/cli | sh
reducto login
reducto parse report.pdf

Table of Contents

Why Reducto

Reducto is the agentic document platform for leading AI teams who demand enterprise performance at scale. We provide a comprehensive toolkit for working with documents the way a human would, combining custom in-house and leading frontier models to power efficient and accurate document workflows.

The CLI brings that platform directly into your shell, scripts, and agent workflows.

Performance for you

Zero-shot accuracy on complex documents where other solutions aren't production-ready. Reducto orchestrates multiple models under the hood — routing, probes, and agentic VLM multipasses — and continuously updates them so you don't have to chase the frontier. Handles the long tail: tables, charts, figures, handwriting, scans.

Enterprise ready

Hosted, VPC, on-premises, and air-gapped deployments to meet any data residency or security requirement. SOC 2 and HIPAA compliant with zero data retention by default.

Complete toolkit

One platform for every document task — parse, classify, split, extract, edit. 30+ filetypes, not just PDFs. Agent-ready tooling (CLI, MCP, plugins, integrations).


Installation

Method Command
Shell (macOS, Linux) curl -fsSL https://reducto.ai/cli | sh
PowerShell (Windows) irm https://reducto.ai/cli.ps1 | iex
npm npm install -g @reductoai/cli
pip / pipx / uv pip install reducto-cli · pipx install reducto-cli · uv tool install reducto-cli
Go go install github.com/reductoai/cli/cmd/reducto@latest
Binaries GitHub Releases (darwin, linux, windows · amd64, arm64)

The npm and PyPI packages carry the same binary as the release; they do not download anything at install time. The shell installer writes to ~/.local/bin, the PowerShell installer to %LOCALAPPDATA%\Programs\reducto (set REDUCTO_INSTALL_DIR to change either); both verify the release checksum.

Check the install:

reducto version

Authentication

reducto login

This opens a browser for a device-code sign in and saves the key to ~/.reducto/config.yaml (mode 0600). Without a browser, pass the key in: reducto login --api-key <key> or echo $KEY | reducto login --api-key -.

The key is resolved in this order: --api-key, $REDUCTO_API_KEY, ~/.reducto/config.yaml.

Quick Start

# Parse a PDF into Markdown
reducto parse report.pdf

# Parse a folder, one output file per input
reducto parse ./invoices --out-dir parsed/

# Extract structured data with a JSON Schema
reducto extract invoice.pdf -s schema.json

# Or with a quick inline schema
reducto extract invoice.pdf -f vendor,total:number,due_date

# Edit a document with natural language
reducto edit w9.pdf -i "Name: Jane Doe. Check the Individual box." --save w9.filled.pdf

# Chain: parse once, reuse the job for extract
reducto parse contract.pdf -o id | reducto extract - -s terms.json

Commands

Command What it does
parse Document → markdown, chunks, tables, figures
extract Document → JSON that matches your schema
split Find sections or sub-documents by description
classify Assign one of your categories to each document
edit Fill forms and change text with instructions; returns a PDF
upload Upload a file and print its reducto:// handle
job, jobs, cancel Inspect, list, and cancel async jobs
studio Open a job in Reducto Studio
search, schema, docs Find and inspect API fields; open the docs
login, version Sign in; print CLI, SDK and API versions

reducto <command> --help lists the flags and examples for each command.

Common flags on every API command:

-o <fmt>        auto | pretty | md | json | payload | id
-p <pages>      page selection, e.g. 1-5,8
--save <path>   write the output to a file (edit: download the PDF)
--out-dir <dir> with many inputs, one file per input
--async         submit and print the job id; do not wait
-j <n>          parallel requests for many inputs (default 4)
--dry-run       print the request body and exit; no network call
-q / -v         quiet / verbose

Any API field

Named flags cover the common options. Everything else in the API is reachable too:

reducto search "merge tables"                 # find the field and its docs page
reducto schema parse formatting               # types and defaults for a section
reducto parse doc.pdf -S formatting.merge_tables=true -S retrieval.chunking.chunk_mode=section
reducto parse doc.pdf -c body.json            # a whole request body; flags layer on top
reducto parse doc.pdf --dry-run               # see exactly what would be sent

-S path=value takes a dotted path and a JSON value (bare words are strings). Before anything is uploaded, the body is checked against the CLI's copy of the API spec: unknown paths, values outside an enum and wrong primitive types are errors with a hint, so a typo never costs a request. Fields newer than the CLI's spec go through with --force.

Inputs and outputs

Inputs can be local files, directories (recursed, supported types only), https:// URLs, reducto:// upload handles, jobid:// handles from a previous command, or - for stdin.

Output goes to stdout. -o picks the shape: md for text, json for the full response, payload for just the result, id for a handle you can pipe into the next command. Status lines go to stderr, so reducto parse a.pdf > a.md is clean.

Supported File Types

PDF, images (PNG, JPG, TIFF, WEBP), Word (DOC, DOCX), PowerPoint (PPT, PPTX), Excel (XLS, XLSX, CSV), Apple Numbers, and more. See the docs for the full list.

Use Cases

Invoice and Receipt Processing

reducto parse ./invoices --out-dir parsed/
reducto extract ./invoices -s schemas/invoice.json --out-dir extracted/
reducto parse contract.pdf --agentic -S formatting.include='["change_tracking","comments"]'
reducto extract contract.pdf -s schemas/contract_terms.json --citations

Form Processing and Auto-Fill

reducto edit onboarding.pdf -i "Employee: Alex Chen. Start date: 2025-04-01. Select Full-time." --save onboarding.filled.pdf

Financial Statement Analysis

reducto extract quarterly_report.pdf -s schemas/financial_statement.json --deep

Feeding Agents and LLM Pipelines

reducto parse spec.pdf --chunk section > spec.md
reducto parse spec.pdf -o json | jq '.result.chunks[].content'

Configuration

Setting Source
API key --api-key, $REDUCTO_API_KEY, ~/.reducto/config.yaml
Base URL --base-url, $REDUCTO_BASE_URL (default https://platform.reducto.ai)
Color --color auto|always|never, $NO_COLOR
Telemetry headers DO_NOT_TRACK=1 or REDUCTO_TELEMETRY=0 turns off the X-Reducto-* request headers

The CLI only talks to the Reducto API (and to Reducto Studio during login). Nothing is sent anywhere else.

Upgrading from 0.1.x

Version 0.2.0 replaces the Python CLI with a single Go binary. The package names are the same (pip install reducto-cli), the config file is the same, and login, parse, extract and edit still exist. What changed:

  • Output goes to stdout instead of a <file>.parse.md next to the input. Use --save for one file or --out-dir for a folder.
  • parse --change-tracking/--highlights/--hyperlinks/--comments became -S formatting.include='["change_tracking",...]'.
  • edit writes the PDF where --save points instead of <file>.edited.pdf.
  • New: split, classify, upload, job, jobs, cancel, studio, search, schema, docs, and -S for any API field.

Development

make build          # bin/reducto
make test           # gofmt, vet, tests
make spec           # refresh the embedded OpenAPI document (cmd/reducto/openapi.json)
make packages       # snapshot release + npm packages + wheels, for local checks

Releases: push a vX.Y.Z tag. The Publish workflow builds the binaries with GoReleaser, creates the GitHub release, and publishes the PyPI wheels and npm packages from those same binaries. See CHANGELOG.md.

Project Description
Reducto Python SDK Python client for the Reducto API (pip install reductoai)
Reducto Node.js SDK Node.js client for the Reducto API (npm install reductoai)
Reducto Go SDK Go client for the Reducto API; the CLI is built on it
Reducto Claude Code Plugins Official Reducto plugins for Claude Code
Reducto Studio No-code web interface for document processing

Resources

Metadata

Release files for reducto-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for reducto-cli 0.3.0
File Actions
reducto_cli-0.3.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for reducto_cli-0.3.0-py3-none-win_arm64.whl
reducto_cli-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for reducto_cli-0.3.0-py3-none-win_amd64.whl
reducto_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.1+ x86-64 Details for reducto_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
reducto_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details for reducto_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
reducto_cli-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for reducto_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
reducto_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for reducto_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 16.1 MB

Release files / reducto_cli-0.3.0-py3-none-win_arm64.whl

Download URL reducto_cli-0.3.0-py3-none-win_arm64.whl
Size 2.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e9f82ef7e3da87e2445dac5f834a129e663871e02c87ba726e6aef6964af18aa
BLAKE2b-256 checksum
How to use checksums
b5bfa96ac57a225c0f7260bc4984f8b96b9b34f2fa61481a3e5eb0c563d2200b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / reducto_cli-0.3.0-py3-none-win_amd64.whl

Download URL reducto_cli-0.3.0-py3-none-win_amd64.whl
Size 2.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
421fea2ab91f8c309713d6aa6d7daf2aeb22441b4a3a4f7e449f75162a551096
BLAKE2b-256 checksum
How to use checksums
cc5575481b3f384ec9ed37314c3097d7fbff3e736cdf1549842f2b602587487b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / reducto_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl

Download URL reducto_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
Size 2.8 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7f483e562dad21d5d58cf428fe47a495b0b655dce758c750391eb2ba3f2a3306
BLAKE2b-256 checksum
How to use checksums
d74dbc385409631e52522b7b08258752e6310ff0a120381991fb2139924f5578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / reducto_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl

Download URL reducto_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Size 2.5 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a542406037242fabdf7fdf607ec3197e78fb5c134923013d88112bcc6929da6a
BLAKE2b-256 checksum
How to use checksums
18b427c7a32cf0f1e99d76b7e3f83777be4454c42158a4687e012361ac09f9a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / reducto_cli-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL reducto_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 2.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fd32daa577ee2fb14d22bb5f558ee679858ac30c0b049ffe975b370129f93c66
BLAKE2b-256 checksum
How to use checksums
4d1125724ed92711778b9d1ceb3523b5704dcecc54df3f8ad63b705e08c05632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / reducto_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl

Download URL reducto_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl
Size 2.8 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
776377125d2df66a68e57ef12e5b11312aab23a0540f20008b2a2f0e7b34ee6a
BLAKE2b-256 checksum
How to use checksums
4c1ca983a3b73b4bc5219c8cf4f1ff8cf2179b78c9744178a649bf891c8bdf59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for reducto-cli 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for reducto_cli-0.3.0-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page