Back to Blog
Published:
Last Updated:
Fresh Content
Agentic ERPFoundational guide

What a long-horizon AI agent actually does in an ERP (and what it shouldn't)

3 min read
742 words
high priority
Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

TL;DR

'Agent' is the word of the year, and most of it is hype. Here's what a long-horizon AI agent genuinely does inside an ERP like Dynamics 365 — where it acts, where a person decides, and where it shouldn't be trusted yet.

"Agent" is the word of the year, and most of what is said about it is hype. So let me answer the practical question plainly, from building these things: what does a long-horizon AI agent genuinely do inside an ERP — and, just as importantly, what should it not be trusted to do yet?

The difference between a chatbot and an agent

A chatbot answers a question. You ask, it responds, the exchange ends.

An agent does work. It holds a goal across many steps, gathers what it needs from several systems, takes actions, checks the result, and adapts when something is off — over minutes or hours, not one reply. "Long-horizon" is the key phrase: the value is in holding context across a long task, not in a clever single answer.

Inside an ERP, that difference is everything. The interesting problems in an ERP are not single questions. They are multi-step processes that touch several systems and span time — exactly the shape an agent is built for.

What it actually does, concretely

Strip away the hype and a long-horizon agent in an ERP does a handful of very real things:

  • Reads across systems to assemble context. The ERP, the documents in a drive, the CRM, the email trail — an agent can pull the scattered pieces together into one picture a person would otherwise assemble by hand across five tabs.
  • Takes typed, bounded actions. Not "do anything." A defined set of actions — create the draft quote, flag the clause, update the field, open the case — each one specified and permissioned, so the agent acts within a fence, not across the whole system.
  • Checks its own work and escalates. It scores its confidence, and when it is unsure, it stops and hands the decision to a person rather than guessing. That handoff is a feature, not a failure.
  • Holds the thread over a long task. It remembers where it is in a multi-step job, so it can carry a process — research to draft to review to sync — instead of forgetting between steps.

The connective tissue for a lot of this is a well-scoped integration surface — for Dynamics that increasingly means an MCP server that lets a model act on ERP data through supported, permissioned actions, not just report on it.

Where a person still decides — by design

Here is the part the hype skips: a good agent in an ERP is deliberately not fully autonomous.

The ones worth deploying prepare the decision and let a person take it. The quote is drafted; a person presses send. The contract clause is flagged; a lawyer makes the call. The reorder is recommended; a planner approves. This is not timidity — it is the correct architecture for a system of record, where a wrong action has a real cost and an audit trail matters. "Human in the loop" is a design choice, and in an ERP it is the right one.

And there is a line you should insist on: an agent should never quietly modify core ERP logic. It reads the system of record and acts through the platform's supported, permissioned surface — beside the ERP, not inside its guts. Anything else trades a demo for a risk your operations team will never accept.

What it shouldn't be trusted to do yet

Honesty matters more than hype here:

  • Irreversible actions without approval. Posting the transaction, sending the payment, signing the thing — those stay behind a human step.
  • Anything it can't show its reasoning for. If the agent can't cite why it acted, it shouldn't have acted. Evidence over assertion.
  • Judgement dressed up as search. An agent is excellent at assembling context and executing bounded steps. It is not a substitute for the commercial, legal or operational judgement that is the actual job.

The honest summary

A long-horizon agent in an ERP is not magic and it is not a replacement for your team. It is a tireless operator that assembles the context, does the routine multi-step legwork, and hands the decision to a person — inside the systems they already use, without touching the core.

That is where the real value is, it is where the market (and the capital) is now moving, and it is exactly what we build on Dynamics 365 and Business Central. See how the pieces fit at agentic ERP, or tell us the multi-step process that is eating your team's time.

Share this article

The work behind this series

The hub these articles sit under: what an agent can safely read and write in Dynamics 365, and the approval layer around every action.

Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

Ali Ahmed is an AI Solutions Engineer at Cognilium AI.

Applied AI AgentsAgentic SystemsRetrieval-Augmented Generation (RAG)LLM Product Engineering

Frequently Asked Questions

Find answers to common questions about the topics covered in this article.

A chatbot answers a single question. An agent holds a goal across many steps, reads across systems, takes bounded actions, checks its work, and escalates to a person when unsure — carrying a multi-step process over time.
It can take typed, permissioned actions — draft a quote, flag a clause, update a field — through a supported integration surface such as an MCP server, while a person approves anything irreversible.
No, and it shouldn't be. The right design prepares the decision and leaves the final, irreversible call to a person. That is the correct architecture for a system of record.
No. A well-built agent reads and acts through the platform's supported, permissioned surface, beside the ERP core — it never modifies it.
Irreversible actions without approval, anything it can't show its reasoning for, and the actual commercial or legal judgement that is the job. It handles the legwork; a person keeps the decision.

Still have questions?

Get in touch with our team for personalized assistance.

Contact Us

Still have a question this did not answer?

The person who wrote this article answers these. Describe your setup and what you are stuck on — you will get a straight answer, including where we think the approach is wrong.

Personalized for You

Curated content recommendations based on your current reading and interests.

For You
115%

AI account reconciliation in Dynamics 365: what the agent clears, and the part it hands back

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's Account Reconciliation Agent clears reconciliation exceptions in bulk across Dynamics 365 Finance. Here's what it handles well, the exceptions it hands back, and how to close that last gap.

Ali Ahmed
3 min read
Agentic ERP
Read Article
Trending
35%

Where does the storage bill land for Link to Microsoft Fabric?

High priority content
Similar reading time

Not on Azure. Fabric link storage is charged to Dataverse capacity and shows up in the Power Platform admin center, where nobody is looking.

Mudassir Marwat
4 min read
ERP Write-Back & Integration
Read Article
For You
115%

AI collections in Dynamics 365: what the agent drives, and where the relationship stays human

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's Finance Agent brings AI to collections in Dynamics 365 — prioritising accounts, drafting outreach, surfacing risk. Here's what it drives well, where the customer relationship stays human, and how to make it run on your policy.

Ali Ahmed
3 min read
Agentic ERP
Read Article
For You
115%

AI on top of your ERP: the four layers, and which one actually moves your margin

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

AI on top of the ERP has become four different things sold to four different buyers. Here's how to tell them apart — and which layer actually moves your margin — on Microsoft Dynamics 365 and Business Central.

Ali Ahmed
4 min read
Agentic ERP
Read Article
For You
115%

Business Central AI agents: what the Payables and Expense agents do, and where a custom build takes over

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Business Central now ships AI agents — a Payables Agent that reconciles POs and an Expense Agent that checks reports for policy violations. Here's what they do, where they stop, and when a mid-market team needs a custom build.

Ali Ahmed
3 min read
Agentic ERP
Read Article
For You
115%

Codifying your procedures as governed business skills for Dynamics 365 agents

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's 'business skills' let you define your procedures as reusable, governed context for Dynamics 365 agents. Here's how to turn the way your business actually runs into skills an agent can use — and why that's the real work.

Ali Ahmed
3 min read
Agentic ERP
Read Article

Smart Recommendations

Our AI analyzes topic clusters, author expertise, and content relationships to surface the most relevant articles for you.

Topic Matching
Author Expertise
Content Quality
Personal Interests

Questions on this?

Talk to an engineer

Schedule a call