Back to insights

AI Agents in Business Software: Where They Work and Where They Break

LFT Industries

"Agent" has become the most stretched word in software. Strip away the marketing and the definition is simple: an AI agent is a language model that can use tools. Instead of only producing text, it can call functions you give it (look up an order, check a calendar, create a record), read what comes back, and decide on the next step. That loop is genuinely new, and it changes what business software can automate. It also changes what can go wrong.

Where agents earn their place

Agents are strongest where a task has many small decisions in a row, each easy for a person but tedious to script: reading a customer's message, working out what they actually want, checking two systems, and taking the right action. Good candidates share a few traits:

  • The inputs are messy, the actions are not. Customer requests arrive in free text, voice notes or scanned documents, but the actions they lead to are a short, well-defined list: book, reschedule, cancel, escalate.
  • The rules live in existing systems. Availability is in the calendar, prices are in the database, permissions are in the application. The agent asks those systems instead of guessing.
  • Mistakes are cheap to detect and undo. A wrongly tagged ticket costs seconds. A wrongly issued refund costs money.

Scheduling, intake and triage, document preparation, internal reporting and support routing all fit this shape. In each case the agent replaces the glue work between systems, not the systems themselves.

Where agents break

The failure modes are predictable, which means they can be designed against:

  • Confident improvisation. When a tool returns nothing useful, a model may fill the gap with something plausible. The fix is structural: tools return explicit, typed results, and the agent's instructions say what to do when a result is empty.
  • Unbounded loops. An agent that keeps retrying a failing tool burns time and money. Every agent needs a step limit and a cost limit per task.
  • Actions taken twice. Networks fail mid-request. If "create booking" can run twice, it eventually will. Every action an agent can take must be idempotent, keyed so that a repeat does nothing.
  • Prompt injection. Text the agent reads (an email, a web page, a customer message) can contain instructions. Treat everything from outside as data, never as commands, and never give an agent more permissions than the person it is acting for.

The guardrails that matter

A production agent is mostly guardrails around a model. The ones that consistently matter:

  • A narrow tool list. Give the agent the five functions the task needs, not a general API. Each tool validates its own input, so a malformed call fails loudly.
  • Backend-enforced rules. The agent can ask to book a slot; the backend decides whether that slot is free. The model is never the source of truth for availability, prices or permissions.
  • Human approval for high-stakes actions. The agent drafts, a person confirms. This keeps the speed benefit while removing the worst outcomes.
  • A clear hand-off. When the agent is unsure, it should say so and route the case to a person with the context attached, instead of guessing.
  • A full audit trail. Every tool call, its input and its result is logged. When something looks wrong, you can see exactly what the agent did and why.

Example: document workflows

Document automation is a good illustration. In a secure document platform of the kind LFT has engineered, the rules for which document goes to which client account are business logic, enforced by the application. An agent layered on top can read an incoming request, pick the right template, fill it from records, and queue it for review. What it cannot do is bypass the access rules, because it calls the same permission-checked functions a staff member would. The agent adds speed; the platform keeps the guarantees.

Start with one workflow

The teams that get value from agents start small: one workflow, a handful of tools, a measurable outcome such as response time or hours saved, and a human reviewing the first weeks of output. Once the guardrails hold under real traffic, the same pattern extends to the next workflow. The model is the easy part. The engineering around it is what makes it safe to switch on.

FAQ

Common questions

What is the difference between an AI agent and a chatbot?
A chatbot answers. An agent acts: it can call tools such as a calendar, a database query or an email sender, look at the result, and decide what to do next. That ability to change things in real systems is what makes agents useful and what makes guardrails necessary.
Should an AI agent be allowed to act without human approval?
For reversible, low-stakes actions such as drafting a reply or tagging a ticket, often yes. For anything that moves money, deletes data, or speaks for the business in a new way, the safer pattern is that the agent prepares the action and a person approves it.
Do AI agents replace existing business software?
Rarely. Agents work best on top of systems that already hold the data and enforce the rules. The agent becomes a new way to operate those systems, not a replacement for them.

Working on something in this space?

Bring the problem: we will map it to the right engineering path.

Start a Project