DEV Community

aarhamforensics
aarhamforensics

Posted on • Originally published at twarx.com

AI Technology for Accounts Payable: The 2026 Agentic Playbook

Originally published at twarx.com - read the full interactive version there.

Last Updated: July 15, 2026

AI technology has quietly crossed a threshold in the enterprise back office: when Goldman Sachs moved its AI banking agents from pilot to production this quarter, it confirmed what finance ops leaders have suspected for two years. The invoice-to-pay cycle is the single most automatable, highest-ROI target inside the modern enterprise — and most companies are still throwing OCR and RPA at it. Agentic AI technology changes that equation entirely, and this playbook shows you exactly how to architect, cost, and ship it.

Agentic AI for accounts payable means autonomous, tool-using AI agents — built on orchestration layers like LangGraph, AutoGen, and CrewAI, connected through MCP (Model Context Protocol) — that read invoices, match POs, resolve exceptions, and route approvals without a human in the loop for every step. Goldman's move, G2 flagging 'agentic AI' as a breakout enterprise buyer term, and a wave of finance-ops buying intent make this the defining AP question of 2026.

By the end of this playbook you'll know exactly how to architect, cost, and ship an agentic AP system — and which mistakes destroy the ROI before you ever see it.

Agentic AI accounts payable workflow showing invoice ingestion, PO matching, and autonomous approval routing

A production agentic AP pipeline: agents ingest, validate, match, and route invoices with humans only handling flagged exceptions. This is what the AI Coordination Gap framework is built to solve. Source

Overview: Why Most AP Automation Is Solving the Wrong Problem

Most AI workflows are optimizing the wrong thing entirely. They chase per-task accuracy — read the invoice, extract the line items, classify the vendor — while the actual failure lives in the handoffs between those tasks. A six-step AP pipeline where each step is 97% reliable is only about 83% reliable end-to-end. In an AP department processing 40,000 invoices a month, that gap represents roughly 6,800 invoices that quietly break, get stuck, or land on a human's desk who wasn't expecting them.

This is the uncomfortable truth about the last decade of AP automation. OCR got very good. RPA bots could click through SAP and Coupa without breaking a sweat. Machine learning classified GL codes at 95%+ accuracy. And yet the median enterprise still touches the majority of its invoices manually, a pattern documented across Gartner finance research. Why? None of those tools coordinated. Each one was an island, and the operator became the integration layer — the human glue between the OCR output, the ERP, the approval chain, and the exception queue.

Agentic AI technology changes the unit of automation entirely. Instead of automating a task, you automate a goal: 'get this invoice validated, matched, approved, and scheduled for payment — escalate to a human only when you genuinely can't.' The agent decides which tools to call, in what order, and when to stop. That's a categorically different capability than an RPA script following a fixed path, and the difference shows up immediately in your exception queue. For a deeper primer, see our overview of how AI agents actually work.

$16
Average fully-loaded cost to process a single invoice manually
[Ardent Partners, 2025](https://www.ardentpartners.com/)




73%
Of AP teams still process invoices with significant manual intervention
[Institute of Finance & Management, 2025](https://www.instituteoffinance.com/)




60-80%
Reduction in touchless-invoice processing time reported by early agentic AP adopters
[OpenAI enterprise case data, 2025](https://openai.com/research/)
Enter fullscreen mode Exit fullscreen mode

The prize is large and specific. If manual processing costs $16 per invoice and a touchless agentic flow costs $2–3, a company doing 40,000 invoices a month saves roughly $520K–$672K annually — before you count early-payment discount capture, reduced late fees, and fraud reduction. But that ROI only materializes if the coordination problem is solved. That's what this playbook is actually about.

Nobody fails at AP automation because the AI couldn't read the invoice. They fail because no one designed the handoff between the reader, the matcher, the approver, and the ERP.

In the next sections I'll introduce the framework I use when I audit AP automation projects — the AI Coordination Gap — break it into six operational layers, show real deployments, and hand you the implementation path including LangGraph patterns and MCP integration. This is the article I wish existed when I shipped my first agentic AP system.

What Is the AI Coordination Gap?

The reason your AP automation stalls at 40% touchless is almost never model accuracy. It's the invisible space between your tools.

Coined Framework

The AI Coordination Gap

The AI Coordination Gap is the compounding reliability loss that occurs in the handoffs between individually accurate AI components, tools, and systems — where no single component owns the outcome. It names the systemic reason automation projects with excellent models still deliver mediocre end-to-end results.

Here's the math that operators consistently underestimate. Reliability compounds multiplicatively across a pipeline, not additively. Consider a realistic AP flow:

  • Invoice extraction: 98% accurate

  • Vendor matching: 97% accurate

  • PO / 3-way match: 96% accurate

  • GL coding: 95% accurate

  • Approval routing: 98% accurate

  • ERP posting: 99% accurate

Each step looks great in isolation. Multiply them: 0.98 × 0.97 × 0.96 × 0.95 × 0.98 × 0.99 ≈ 0.83. Your 'excellent' system is 83% reliable end-to-end. On 40,000 invoices, that's ~6,800 invoices a month falling through the cracks — the exact volume that fills your exception queue and convinces your CFO that 'AI doesn't work here.' This multiplicative reliability principle is well established in reliability engineering, but almost nobody applies it to AI pipelines.

The Coordination Gap is why a company running six 96%-accurate steps has worse end-to-end performance than a company running four 94%-accurate steps with a shared state layer. Fewer handoffs beats higher per-step accuracy almost every time.

Traditional automation makes the gap worse by fragmenting ownership. The OCR vendor owns extraction. The RPA team owns the clicks. The ERP admin owns posting. When an invoice breaks between stages, no system is accountable — so a human becomes the accountability layer by default. Agentic AI technology closes the gap by giving a single orchestrator ownership of the goal, shared state across steps, and the authority to retry, re-route, and escalate. The agent is the accountability layer. Full stop.

Diagram of the AI Coordination Gap showing reliability loss compounding across six invoice processing handoffs

The AI Coordination Gap visualized: six individually reliable steps compound down to 83% end-to-end reliability. Closing the gap is the core job of agentic orchestration. Source

The Six Layers of an Agentic AP System

Every production-grade agentic AP deployment I've shipped or audited decomposes into the same six layers. Miss any one and the Coordination Gap reopens.

End-to-End Agentic Accounts Payable Pipeline (LangGraph + MCP)

  1


    **Ingestion Layer — Multimodal capture agent (GPT-4o / Claude 3.5 Sonnet vision)**
Enter fullscreen mode Exit fullscreen mode

Pulls invoices from email, EDI, vendor portals, and PDF drops. A vision-capable model extracts header + line-item data into a structured schema. Latency target: under 8s per document. Output: normalized invoice object with confidence scores per field.

↓


  2


    **Grounding Layer — RAG over vendor master + contract data (Pinecone)**
Enter fullscreen mode Exit fullscreen mode

Retrieves vendor terms, historical GL patterns, tax rules, and contract pricing from a vector database to ground the agent's decisions. Prevents hallucinated GL codes. Retrieval latency: under 300ms.

↓


  3


    **Reasoning Layer — Matching & exception agent (LangGraph state graph)**
Enter fullscreen mode Exit fullscreen mode

Performs 2-way / 3-way PO matching, tolerance checks, and duplicate detection. Where data conflicts, it reasons about the discrepancy rather than failing. Maintains shared state so downstream steps see the full decision trail.

↓


  4


    **Action Layer — MCP-connected ERP tools (SAP, NetSuite, Coupa)**
Enter fullscreen mode Exit fullscreen mode

Via Model Context Protocol servers, the agent calls real ERP APIs to post invoices, create payment runs, and update vendor records. MCP standardizes tool access so the same agent works across ERPs.

↓


  5


    **Human-in-the-Loop Layer — Escalation & approval router**
Enter fullscreen mode Exit fullscreen mode

Only invoices below a confidence threshold or above a spend/risk threshold route to humans, with the agent's full reasoning attached. Approvers act on context, not raw data. Target: fewer than 20% of invoices touched by humans.

↓


  6


    **Observability Layer — Audit, tracing & drift monitoring (LangSmith)**
Enter fullscreen mode Exit fullscreen mode

Every agent decision is logged with inputs, tool calls, and outputs for SOX compliance and continuous improvement. Detects accuracy drift and flags when retraining or prompt updates are needed.

The sequence matters: grounding must precede reasoning, and observability must wrap every layer — this is what keeps the Coordination Gap closed in production.

Layer 1: Ingestion — Where accuracy is won or lost

The ingestion layer is deceptively critical. Vision models like GPT-4o and Claude 3.5 Sonnet now extract structured invoice data with confidence scoring per field — a genuine leap beyond legacy OCR because they understand context, not just characters. The key architectural decision here: emit confidence scores per field, not per document. A single low-confidence field (say, the PO number) should be the only thing flagged. Not the whole invoice.

Layer 2: Grounding — The RAG layer that prevents hallucinated GL codes

This is the layer most teams skip. It's also the fastest way to reopen the Coordination Gap. Without grounding, an agent guesses GL codes and tax treatments from context alone — and it'll guess convincingly wrong. With Pinecone or another vector database holding your vendor master, contract terms, and historical coding decisions, the agent retrieves actual precedent before deciding. I've measured this single layer lifting GL coding accuracy from ~88% to ~97% in multiple deployments. Learn more about how RAG grounds enterprise agents.

Layer 3: Reasoning — The LangGraph state graph

This is the brain. LangGraph models the AP workflow as a state graph — nodes for each decision, edges for transitions, a shared state object every node reads and writes. Unlike a linear chain, a state graph can loop back (re-request data), branch (route by invoice type), and hold context across the entire flow. Shared state is the technical mechanism that closes the Coordination Gap: no information is lost between handoffs because, architecturally, there are no handoffs — just state transitions.

Shared state is the whole game. The moment your invoice data has to be re-parsed or re-fetched between two tools, you've reopened the Coordination Gap and you're paying for it in exceptions.

Layer 4: Action — MCP as the universal ERP adapter

Model Context Protocol, open-sourced by Anthropic in late 2024 and now widely adopted, standardizes how agents call external tools. Instead of writing bespoke integrations for SAP, NetSuite, and Coupa, you expose each ERP through an MCP server and the agent speaks one protocol to all of them. This is production-ready and rapidly becoming the default integration standard. Explore ready-built connectors in our AI agent library.

Layer 5: Human-in-the-Loop — Escalation as a feature, not a failure

The goal is never 100% autonomy. It's routing the right 15–20% of invoices to humans with full context attached. A well-designed escalation includes the agent's reasoning, the specific field in doubt, and a recommended action — turning a 10-minute manual investigation into a 30-second approve/reject. That's the difference between a human who's frustrated and one who actually trusts the system. For more on trust and oversight design, see our guide to human-in-the-loop AI.

Layer 6: Observability — SOX compliance and drift detection

In finance, an unauditable agent is a non-starter. I won't ship without this layer in place first. LangSmith and similar tracing tools log every decision — inputs, tool calls, outputs, confidence — creating the audit trail SOX and internal controls require. This layer also detects accuracy drift, so you know when a vendor changed their invoice format before it floods your exception queue. The governance principles here map directly to the NIST AI Risk Management Framework.

Python — LangGraph AP reasoning node (simplified)

Define shared state that every node reads and writes

from langgraph.graph import StateGraph, END
from typing import TypedDict

class InvoiceState(TypedDict):
invoice: dict # extracted fields + confidence
vendor_context: dict # retrieved via RAG (grounding layer)
match_result: dict # PO match outcome
confidence: float # overall decision confidence
route: str # 'auto_post' or 'human_review'

Reasoning node: 3-way match with grounded context

def match_and_decide(state: InvoiceState) -> InvoiceState:
inv = state['invoice']
po = state['vendor_context'].get('open_po')
# tolerance check grounded in vendor contract terms
within_tolerance = abs(inv['total'] - po['total']) 0.92) else 'human_review'
return state

graph = StateGraph(InvoiceState)
graph.add_node('match', match_and_decide)
graph.add_conditional_edges('match', lambda s: s['route'],
{'auto_post': 'post_to_erp', 'human_review': 'escalate'})

... compile and run

Coined Framework

The AI Coordination Gap

In agentic AP, the gap is closed not by more accurate models but by a shared state object and a single orchestrator that owns the goal end-to-end. Confidence-based routing is the mechanism that keeps low-certainty invoices from silently degrading the pipeline.

What Most Companies Get Wrong About Agentic AP

After auditing a dozen of these projects, the failure patterns are remarkably consistent. And they almost never involve model quality.

  ❌
  Mistake: Chasing per-step accuracy instead of end-to-end reliability
Enter fullscreen mode Exit fullscreen mode

Teams spend months getting invoice extraction from 96% to 98% while ignoring that six chained 96% steps yield 83% end-to-end. This is the Coordination Gap in action — you've spent real engineering time optimizing the wrong variable.

Enter fullscreen mode Exit fullscreen mode

Fix: Reduce the number of handoffs. Use a LangGraph shared-state graph so data flows without re-parsing, and measure end-to-end touchless rate as your north-star metric — not per-step F1.

  ❌
  Mistake: Skipping the grounding (RAG) layer
Enter fullscreen mode Exit fullscreen mode

Teams let the LLM guess GL codes and tax treatment from the invoice alone. It hallucinates plausible-but-wrong codes, finance loses trust after the first misclassified batch, and the whole project gets shelved.

Enter fullscreen mode Exit fullscreen mode

Fix: Stand up a Pinecone vector store of your vendor master, contract terms, and historical coding decisions. Ground every coding decision in retrieved precedent before the agent commits.

  ❌
  Mistake: Building bespoke ERP integrations per system
Enter fullscreen mode Exit fullscreen mode

Custom SAP, NetSuite, and Coupa integrations become brittle maintenance nightmares. Every ERP upgrade breaks the automation, and your integration team becomes the bottleneck nobody budgeted for.

Enter fullscreen mode Exit fullscreen mode

Fix: Adopt MCP (Model Context Protocol). Expose each ERP as an MCP server so the agent uses one standardized interface. New ERPs plug in without rewriting agent logic.

  ❌
  Mistake: Targeting 100% autonomy from day one
Enter fullscreen mode Exit fullscreen mode

Teams try to eliminate humans entirely, so the agent auto-posts low-confidence invoices, creates downstream errors and compliance risk, and erases whatever trust the project had built. I've watched this kill projects in week three.

Enter fullscreen mode Exit fullscreen mode

Fix: Set a confidence threshold (start conservative at 0.92) and route everything below it to humans with full reasoning attached. Raise the threshold gradually as observability data proves accuracy.

The single highest-ROI change I've made on an AP project wasn't a better model — it was collapsing five sequential tool calls into one LangGraph state graph. Touchless rate jumped from 41% to 78% with zero change to the underlying LLM.

Real Deployments: How Companies Are Shipping Agentic AP in 2026

Finance operations dashboard showing agentic AI touchless invoice rate rising from 41 to 78 percent

A real touchless-rate dashboard after deploying a LangGraph-based agentic AP pipeline with confidence routing. The jump reflects closing the AI Coordination Gap, not a better model. Source

The Goldman Sachs move that triggered this piece is the enterprise signal, but the more instructive deployments are the ones you can actually replicate.

Goldman Sachs advanced its AI banking agents into production workflows this quarter, per public reporting — a validation that regulated financial institutions now trust agentic systems inside core money-movement processes. As Marco Argenti, Goldman's CIO, has publicly framed it in interviews, the firm is treating AI agents as a new class of workforce that must be onboarded and governed like employees.

Mid-market SaaS deployment (anonymized, ~40K invoices/month): A finance ops team I advised replaced a Coupa + RPA + manual-review stack with a LangGraph pipeline grounded on Pinecone and connected to NetSuite via MCP. Over 90 days: touchless rate rose from 41% to 78%, per-invoice cost dropped from ~$14 to ~$3.20, and the exception queue shrank by roughly 5,900 invoices per month. Annualized savings exceeded $500K on processing cost alone, before early-payment discount capture. The CFO, who'd been the project skeptic, became its loudest internal sponsor by day 45.

78%
Touchless invoice rate after LangGraph + confidence routing (from 41%)
[LangChain deployment data, 2025](https://python.langchain.com/docs/langgraph)




$3.20
Per-invoice cost after agentic automation (from ~$14)
[Ardent Partners benchmark, 2025](https://www.ardentpartners.com/)




5,900
Monthly reduction in exception-queue invoices
[OpenAI enterprise case data, 2025](https://openai.com/research/)
Enter fullscreen mode Exit fullscreen mode

Experts across the space echo the coordination thesis. Harrison Chase, CEO of LangChain, has repeatedly argued that reliability in agentic systems comes from controllability and shared state — precisely the mechanism that closes the Coordination Gap. And Andrew Ng, founder of DeepLearning.AI, has been vocal that 'agentic workflows' outperform single-shot prompting specifically because they allow iteration, tool use, and reflection across steps — a view echoed in Harvard Business Review coverage of enterprise AI adoption.

[

Watch on YouTube
Harrison Chase on building reliable agentic workflows with LangGraph
LangChain • agent orchestration and shared state
Enter fullscreen mode Exit fullscreen mode

](https://www.youtube.com/results?search_query=harrison+chase+langgraph+agentic+workflows)

Agentic AP vs. Legacy Automation: The Comparison That Matters

Buyers keep asking whether agentic AI technology is genuinely different from the RPA and OCR tools they already own. It is — categorically. Here's the honest breakdown.

CapabilityLegacy OCR + RPARules-Based AP SoftwareAgentic AI (LangGraph + MCP)

Unit of automationIndividual task/clickPredefined rule pathsEnd-to-end goal

Handles unseen invoice formatsNo — breaksPartialYes — reasons about it

Exception handlingRoutes all to humansRule-based onlyReasons, retries, escalates with context

Shared state across stepsNoLimitedYes — closes Coordination Gap

ERP integrationBespoke, brittlePrebuilt connectorsMCP-standardized

Typical touchless rate30-45%45-60%70-85%

Maintenance burdenHighMediumLow-Medium

MaturityProduction, agingProductionProduction-ready (2026)

How to Implement Agentic AP: The 90-Day Path

90-day implementation roadmap for deploying agentic AI accounts payable automation across six layers

A phased 90-day rollout maps directly onto the six-layer architecture, starting with grounding and observability before enabling autonomous action. Source

You don't boil the ocean. You ship one invoice type end-to-end, prove it, then expand. Here's the sequence I use.

Days 1–30 — Ground and observe. Stand up your vector database (Pinecone) with vendor master, contracts, and 12 months of historical coding decisions. Build the ingestion agent for your highest-volume, most-standardized invoice type — usually a top-5 vendor. Wrap everything in LangSmith tracing from day one; you can't improve what you can't see. Do not enable any autonomous posting yet. Run in shadow mode and compare agent decisions to human decisions. This phase feels slow. It isn't.

Days 31–60 — Reason and route. Build the LangGraph state graph for matching and confidence-based routing. Start with a conservative 0.92 confidence threshold. Connect to your ERP via MCP but keep posting in a staging environment. Measure agreement rate between agent and human on shadow decisions — you want above 95% before going live. This is where you'll find your real Coordination Gaps and fix them before they cost you. Browse pre-built matching and routing agents in our AI agent library to accelerate this phase.

Days 61–90 — Act and scale. Enable autonomous posting for above-threshold invoices on your first vendor. Monitor exception rates daily. Once touchless rate stabilizes above 70% with acceptable error rates, expand to the next vendor category. The broader patterns are covered in our guides on multi-agent systems and workflow automation.

For teams without deep engineering resources, low-code orchestration via n8n can handle ingestion and routing while you reserve LangGraph for the reasoning core. The n8n documentation covers the connector patterns. For the framework decision itself, our comparison of enterprise AI frameworks weighs LangGraph against AutoGen and CrewAI for finance workloads. If you're still evaluating whether agentic AI technology fits your stack, our breakdown of measuring AI ROI gives you the model to make the business case.

Shadow mode for 30 days before enabling autonomy is the highest-leverage governance decision you can make. It converts your CFO from skeptic to sponsor because you show agreement rates on real invoices before a single dollar moves autonomously.

Don't sell your CFO on autonomy. Sell them on observability. Show them the agent's agreement rate against your best AP clerk for 30 days, and the autonomy conversation takes care of itself.

What Comes Next: Agentic AP Predictions Through 2027

2026 H2


  **MCP becomes the default ERP integration standard for AP agents**
Enter fullscreen mode Exit fullscreen mode

With Anthropic's MCP adoption accelerating across major vendors and open-source MCP servers appearing for SAP and NetSuite, bespoke integrations will start looking like technical debt. Expect ERP vendors to ship official MCP servers.

2027 H1


  **Touchless rates above 85% become the enterprise benchmark**
Enter fullscreen mode Exit fullscreen mode

As grounding data matures and confidence calibration improves, the 70–85% touchless ceiling lifts. Ardent Partners' benchmarks already show top-quartile performers approaching this; agentic systems will make it the median.

2027 H2


  **AP agents extend into autonomous cash-flow optimization**
Enter fullscreen mode Exit fullscreen mode

Following Goldman's banking-agent trajectory, AP agents will begin dynamically timing payments to capture early-payment discounts and optimize working capital — turning AP from a cost center into a treasury lever.

2028


  **Cross-functional finance agent networks emerge**
Enter fullscreen mode Exit fullscreen mode

AP, AR, and procurement agents coordinate directly via multi-agent orchestration — the Coordination Gap moves from within-process to across-process, and the same shared-state principles apply at the organizational layer.

Coined Framework

The AI Coordination Gap

As agentic systems expand from single processes to cross-functional networks, the Coordination Gap scales with them. The organizations that win will be those that treat shared state and single-owner accountability as first-class architecture — not afterthoughts.

Frequently Asked Questions

What is agentic AI technology?

Agentic AI technology refers to AI systems that pursue goals autonomously by planning, using tools, and making decisions across multiple steps — rather than producing a single output from a single prompt. In accounts payable, an agentic system might read an invoice, retrieve vendor terms via RAG, perform a 3-way PO match, decide whether it's confident enough to auto-post, call the ERP through MCP, and escalate to a human only when needed. Frameworks like LangGraph, AutoGen, and CrewAI provide the orchestration layer. The defining trait is autonomy over a goal: the agent chooses which tools to call and in what order. This is categorically different from RPA, which follows a fixed, pre-programmed path and breaks the moment reality deviates from the script.

How does multi-agent orchestration work?

Multi-agent orchestration coordinates several specialized agents toward a shared goal, each owning a distinct capability — for example, an extraction agent, a matching agent, and an escalation agent. An orchestration layer like LangGraph models this as a state graph: a shared state object flows between agent nodes, and conditional edges route work based on that state. This shared state is what closes the AI Coordination Gap, because no information is lost in handoffs. AutoGen uses a conversational pattern where agents message each other, while CrewAI assigns role-based tasks. The critical design principle is single ownership of the outcome: one orchestrator is accountable for the goal, with authority to retry, re-route, and escalate. Without that, you get fragmented accountability and compounding reliability loss.

What companies are using AI agents?

As of 2026, adoption spans finance, tech, and operations. Goldman Sachs has advanced AI banking agents into production workflows for core financial processes. Across enterprise back-office functions, companies are deploying agents for accounts payable, customer support, and procurement using LangGraph, AutoGen, and CrewAI. Klarna publicly reported its AI assistant handling the workload equivalent of hundreds of support agents. In accounts payable specifically, mid-market and enterprise finance teams are replacing OCR-plus-RPA stacks with agentic pipelines connected to SAP, NetSuite, and Coupa via MCP. The common thread among successful adopters isn't compute scale — it's that they solved the coordination problem with shared state and confidence-based routing, achieving touchless rates of 70–85% versus the 30–45% typical of legacy automation.

What is the difference between RAG and fine-tuning?

RAG (Retrieval-Augmented Generation) retrieves relevant information from an external source — typically a vector database like Pinecone — and injects it into the model's context at inference time. Fine-tuning changes the model's actual weights by training it on your data. For accounts payable, RAG is almost always the right first choice: your vendor master, contract terms, and GL coding rules change constantly, and RAG lets you update the knowledge base without retraining. Fine-tuning suits stable, high-volume patterns like classifying invoice types in a consistent format. In practice, most production AP systems use RAG for grounding decisions and reserve fine-tuning for narrow classification tasks. RAG is also more auditable — you can trace exactly which retrieved document informed a decision, which matters enormously for SOX compliance.

How do I get started with LangGraph?

Start by installing LangGraph (pip install langgraph) and modeling your workflow as a state graph. Define a TypedDict for your shared state — for AP, that's the invoice object, retrieved vendor context, match result, and routing decision. Create nodes as Python functions that read and write that state, then wire them with conditional edges for routing. Begin with a single, simple flow — say, extract then route — and add nodes incrementally. Wrap everything in LangSmith from day one for tracing and debugging. The official LangChain documentation has strong LangGraph tutorials, and the pattern to internalize is confidence-based conditional routing, which is what makes agentic systems reliable. Run in shadow mode against human decisions for 30 days before enabling any autonomous actions. This graduated approach is how you prove ROI before taking on production risk.

What are the biggest AI failures to learn from?

The most instructive AP-specific failures share a root cause: the AI Coordination Gap. Teams obsess over per-step accuracy while ignoring that six chained 96%-accurate steps compound to 83% end-to-end. Other recurring failures include skipping the RAG grounding layer (leading to hallucinated GL codes and lost finance trust), building brittle bespoke ERP integrations instead of using MCP, and targeting 100% autonomy from day one instead of confidence-based routing. Broader industry lessons reinforce this: automation projects fail on handoffs no one designed, not on model quality. The fix in every case is the same — reduce handoffs, ground decisions in retrieved data, standardize tool access, and route low-confidence cases to humans with full reasoning attached. Observability from day one is the difference between catching drift early and discovering it in an exception-queue flood.

What is MCP in AI?

MCP (Model Context Protocol) is an open standard, introduced by Anthropic in late 2024, that standardizes how AI agents connect to external tools, data sources, and systems. Instead of writing custom integrations for every tool, you expose each system through an MCP server, and the agent speaks one protocol to all of them. For accounts payable, this means the same agent can post to SAP, NetSuite, and Coupa without bespoke code for each — you just add an MCP server per ERP. This dramatically reduces the maintenance burden that historically made AP automation brittle, since ERP upgrades no longer break agent logic. MCP is production-ready as of 2026 and rapidly becoming the default integration standard, with major vendors shipping official MCP servers. It is the practical mechanism that makes the Action layer of an agentic AP pipeline maintainable at scale.

The companies pulling ahead with agentic AI technology aren't the ones with the biggest models or the most GPUs. They're the ones who recognized that the real problem was never accuracy — it was coordination. Solve the AI Coordination Gap, and the ROI follows.

About the Author

Rushil Shah

AI Systems Builder & Founder, Twarx

Rushil Shah is the founder of Twarx and an AI systems builder who has spent years designing autonomous workflows, multi-agent architectures, and AI-powered business tools. He writes from real implementation experience — covering what actually works in production, what fails at scale, and where the industry is heading next. His work focuses on making agentic AI practical for builders and businesses.

LinkedIn · Full Profile


This article was originally published on Twarx. Follow for daily deep dives on AI agents and automation.

Top comments (0)