AI Agent
Software that uses an AI model to choose its next step, carries it out in your systems, and repeats until the task is done or a person has to decide.
What Is an AI Agent
An AI agent is a program that gets a goal instead of a fixed script. A language model looks at the situation, picks the next action, calls a tool such as your CRM, inbox or accounting system, reads the result and decides what to do next. It keeps going until the task is finished or it reaches a point where it has to hand over to a person.
Agent or fixed workflow
Most automation in a company is a fixed workflow. The steps are written down in advance: read the invoice, check the PO, route it for approval. A model may do one of those steps, such as reading the document, but it does not choose the order. You can test every path, and the same input always takes the same route.
An agent chooses the path itself. That helps when the next step depends on what it finds, and a fixed workflow would need dozens of branches to cover the cases. The price is predictability. An agent can take different routes on two similar cases, make more calls than you budgeted for, or stop in the wrong place.
The practical rule: start with a fixed workflow and put a model inside the steps that need reading or judgment. Use an agent only for the part of the process where the next step genuinely cannot be written down ahead of time.
A business example
A supplier emails: “Why has invoice 4471 not been paid?” A fixed workflow can classify the email and forward it to AP. An agent can look the invoice up in the ledger, see that it is on hold, check the warehouse system, find that the goods receipt is missing, and draft a reply that explains the hold. A person in AP reads the draft, asks the warehouse to confirm delivery and sends the reply.
What an agent does not do
It does not replace approvals. It does not know your policies unless you write them down and give them to it. It is not safe by default: an agent with write access to email or payments can do real damage when it misreads a case, or when someone steers it with a prompt injection hidden in an email.
Give it read access first, log every action it takes, and keep anything that sends, pays or signs behind a human approval. Exceptions, disputes and anything that commits money stay with your team.
If you want an agent running in production rather than a demo, see AI agent development. The fixed workflow side of the same AP example is on the AI for accounts payable page.