Agentic mode adds a vision-language model review layer to catch errors that single-pass OCR misses. You enable it per content type using scopes.Documentation Index
Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
Use this file to discover all available pages before exploring further.
Basic Usage
Agentic modes are available in the Python SDK, Node.js SDK, and via cURL. The Go SDK does not yet support agentic modes.
Text Scope
Adds a second OCR pass using a vision-language model to correct text extraction errors.- Handwritten notes and signatures
- Small or faded text
- Special characters and mathematical notation
- Mixed fonts and styles
Table Scope
Uses a VLM to reconstruct table structure after initial extraction.- Merged cells (rowspan/colspan)
- Nested or multi-level headers
- Tables with missing or faint borders
- Rotated text in cells
Table Mode
Themode option controls whether Reducto runs agentic enrichment on every table or selectively skips tables that are unlikely to benefit. Defaults to "default".
| Mode | Behavior |
|---|---|
"default" | All tables receive full agentic enrichment. This is the current default. |
"auto" | Reducto evaluates each table individually. Tables predicted not to benefit from deeper processing use the standard pipeline, reducing latency while maintaining accuracy for complex tables. |
mode: "auto" will become the default behavior on May 29, 2026. You can test it today by explicitly setting mode: "auto". After this transition, the current "default" mode will be renamed to "max" for users who want full enrichment on every table.Figure Scope
Enables enhanced figure processing. Without additional options, it uses more powerful models and better classifies figures as charts vs. images. Note:summarize_figures must also be enabled for this configuration to be activated.
advanced_chart_agent:
| Option | What it does |
|---|---|
advanced_chart_agent | Extracts numerical values as structured tables |
prompt | Custom instructions for figure processing |
Figure Summarization (Default)
To generate generic text descriptions of images and figures, enablesummarize_figures:
When to Use What
| Situation | Configuration |
|---|---|
| Clean, digital-native PDFs | Skip agentic entirely |
| Documents with handwriting | {"scope": "text"} |
| Complex financial tables | {"scope": "table"} |
| Complex tables, latency-sensitive | {"scope": "table", "mode": "auto"} |
| Charts you need searchable | Default summarize_figures is enough |
| Charts you need data from | {"scope": "figure", "advanced_chart_agent": True} |
| All of the above | Combine all three scopes |
Cost and Latency
Each scope adds processing time and cost. For cost-sensitive workloads:tablescope alone handles the most common accuracy issuestablescope withmode: "auto"reduces latency by skipping tables that the standard pipeline handles welltextscope is most valuable for handwritten contentfigurescope withadvanced_chart_agentis expensive, so use only when you need numerical data from charts