Most document analysis takes one efficient pass. Learn how agentic mode gives AI a document-native harness for the hardest tasks, and when to choose it over standard mode.
“Some books are to be tasted, others to be swallowed, and some few to be chewed and digested.”
Francis Bacon, “Of Studies”, 1625 A.D.
Francis Bacon once observed that an intelligent reader doesn’t consume every book the same way: some are swallowed whole, while a few must be chewed and digested. As we build specialized agents to process documents, we’re learning that lesson again.
When we started building Azure Content Understanding in Foundry Tools, we designed it to read a document in one efficient pass, find the values your schema asks for, and return structured results such as an invoice total, a policy number, or a signature date. For most documents, that’s still the right approach. But a few have to be chewed and digested. The hardest tasks require searching across the document, inspecting details, keeping track of intermediate results, calculating, checking completeness, and sometimes trying a different approach when the first one fails.
That’s what agentic mode in Azure Content Understanding, now in preview, is built for. We’ll start with a calculation across a complex table, unpack how agentic mode works and when to use it, then look at two more examples: reading economic charts and totaling a long network log. Each example shows how an answer comes together from evidence, rather than from a single location.
Agentic mode assembles a total
A single total sounds straightforward, but in this example analyzing U.S. Treasury data the answer isn’t a number an LLM can simply extract or even reason to easily. The schema asks for January 2003 agency outlays, with specific exclusions. The relevant data is spread across a table that spans two pages, and not every number in the monthly row belongs in the answer.
Follow the steps in the video: find the right table in the 137-page bulletin, then follow the January row across its column bands and onto the next page. Each amount needs to stay connected to its agency heading. The schema’s instructions decide which agencies to include and which entries, such as receipts and reported totals, to leave out.
Before adding anything, there’s another step: making the selected values ready to use. The r marks a revision, so it comes off; a minus sign changes the value, so it stays. Selection and normalization come together in the final step, where a calculator produces 180,681 million dollars.
A schema can describe this answer, but filling its fields is only the last step. A single model pass has to juggle page relationships, exclusions, notation, and arithmetic together. This is where agentic mode helps: it plans the work and uses document-specific tools to navigate the table, check the selected values, and calculate the result.
Walkthrough follows the evidence from the source pages through selection, normalization, and calculation. Pause to inspect the values.
One pass isn’t always enough
So how does it work? Let’s explain by contrasting it with standard mode, the default approach of Content Understanding. Standard mode is optimized to produce structured results efficiently. It reads the analyzed content together with your schema and fills in extracted and generated fields, including derived values. For most fields and most documents, that’s the right design: fast, predictable, and lower cost.
The harder tasks ask more of the system than finding a value. They require choosing and combining the right evidence, often with several additional challenges:
- The evidence is scattered. When an answer combines values from different tables or pages, they have to be found and lined up. A readable number from the wrong row still produces the wrong answer.
- The rules in the document or the question decide what counts. Exclusions, units, and definitions have to be applied to every value before calculating or reconciling the result.
- The first reading may need another look. Challenging layouts or visual evidence can require a different view of the document and a check against the field instructions.
Agentic mode wraps the language model in a document-native harness: a reasoning loop with tools for navigating document text and tables, inspecting visual evidence, calculating, and validating results. The advantage isn’t only more turns; it’s choosing the document tools that fit the task and revisiting evidence when needed. You still define the output with a schema, and you still get structured fields back.
Standard mode and agentic mode aren’t old and new. They’re two points on a price-performance curve. Agentic mode allows the system to spend more compute when needed where the additional work can materially improve the result. Standard mode remains the faster, lower-cost starting point.
As Bacon knew, a good reader doesn’t give every text the same attention. Now you can make the same choice for each analyzer: swallow most documents in one pass, and chew and digest the few that need it.
When to use agentic mode
Start with standard mode. It’s the best default when it meets your accuracy requirements. For harder workloads, try agentic mode to see whether additional reasoning improves the result. Agentic mode is more likely to help when the task involves synthesizing evidence across the content, calculations or reconciliation, exhaustive analysis of long documents, complex rules and conditions, or challenging visual structures.
Agentic mode uses more model tokens and typically takes longer for the same document. Compare both modes on representative files, and choose agentic mode when the improvement in quality justifies the additional cost and latency.
Two more examples
Now let’s look at two more examples: reading values and dates from charts, and filtering and totaling a table that continues across 19 pages.
When the evidence is a chart
The next Treasury example asks four different questions of four economic charts in a 20-page excerpt. The answers fill seven fields: a value and a year for GDP growth, payroll change, and unemployment, plus the year when short-term interest rates began trending down.
Follow the four views in the video below, one for each question. Each chart needs a different interpretation strategy. The plotted value isn’t enough on its own: subtitles, axes, and surrounding prose determine what it means. Agentic mode uses tools to inspect the chart, read its context, and check its work.
This takes more than asking an LLM to interpret one image. When a chart is ambiguous, the workflow can revisit the source and check the interpretation before returning the answer.
Walkthrough, each chart stays enlarged while highlights connect its value and year. All seven fields appear together in the final table.
Filter the right rows of a 19-page table
In this network log, the same table continues across 19 pages. The challenge isn’t just reading one row, but consolidating 19 pages into a unified table, ignoring repeated headings and other distractions.
Follow the video from the source rows to the condition and calculation. Each view asks a different question of the same table: count every event, count only Critical events, or select Link Down events and add their durations. The filter and operation need to work together in the right order and validate against the document.
There’s a tempting shortcut for the first question: use the first and last event IDs to infer the count. But the IDs have gaps. Counting the actual rows across every page is what’s needed to get the right answer. The other two totals build on that same complete table, with their own row conditions and calculations.
Walkthrough follows each condition through row selection and counting or summing. The condition stays above the table excerpt as matching rows and count/sum cells are highlighted.
Try it yourself
To try agentic mode in Content Understanding Studio, create a new project and select 2026-06-01 (Preview) for API version. Under Workflow kind, choose Agentic Extraction. Define the fields you want to return, then test the project with your own document.
If you’re using code, use API version 2026-06-01-preview and add "workflow": "agentic" under config in your analyzer definition. Here’s a minimal example . Replace {your-completion-model} and with your supported completion model’s catalog name, not its deployment name.{your-fields}
{
"baseAnalyzerId": "prebuilt-document",
"models": {
"completion": "{your-completion-model}"
},
"config": {
"workflow": "agentic"
},
"fieldSchema": {
"fields": {
{your-fields} } } } }
For a detailed walkthrough, including resource setup and running your first analysis, follow the agentic mode quickstart.
More in the Content Understanding series
Explore the other posts in the series for more background and practical guidance:
- Why content extraction still matters in the GenAI era
- Azure Document Intelligence and Azure Content Understanding: a practical guide
- Azure Content Understanding Prebuilt Analyzers: packaging domain knowledge for document AI
- From extraction to action: Using grounding and confidence to build reliable document workflows

0 comments
Be the first to start the discussion.