An AI agent is a program built on a language model that chooses the next step of a task itself and carries it out in your systems, such as the CRM, email or 1C, within the rights you have given it. A chatbot answers questions, and scripted automation repeats a flow drawn up in advance. OpenAI’s guide to building agents states plainly that simple chatbots are not agents.
A free 30-minute audit: what to hand over to AI and what it saves.
What an AI agent is
OpenAI’s practical guide to building agents describes them as systems that independently carry out tasks on the user’s behalf. The model runs the work: it makes decisions, recognises when the task is complete and can correct its own actions. If something fails, the agent can halt execution and hand control back to the user.
In “Building effective agents”, Anthropic separates two kinds of system. In a workflow, the model and its tools follow a path the developer wrote into the code in advance. In an agent, the model decides for itself how to reach the goal and which tool it needs along the way.
You will also come across the term “agentic AI”. Two things make a system an agent: it picks its own next step, and it can act in your systems, for example create a task in the CRM or find an order in 1C. The channel can be anything: WhatsApp, email, an internal chat or the CRM itself.
Five questions that separate a chatbot, scripted automation and an AI agent
Google Cloud compares bots and agents by autonomy: a bot follows rules set in advance, and an agent drives the task towards a goal by itself.
| Question | Chatbot | Scripted automation | AI agent |
|---|---|---|---|
| Who chooses the next step | The customer, with each new question | A flow drawn up in advance | The model, inside your rules and a list of permitted actions |
| What it understands as input | Free text; answers from a checked knowledge base | Buttons, form fields, CRM events | Free text, documents, data from your systems |
| What access it needs | Reading the knowledge base, writing an enquiry | Rights to the specific steps of the flow | Reading the systems it needs, rights to some actions |
| Where a person steps in | Questions outside the knowledge base, complaints, haggling | Cases that do not fit the flow | Money, cancellations, irreversible actions, an exceeded attempt limit |
| What happens with an unusual message | Hands it to a staff member | Stops, or goes down the wrong branch | Tries to work it out; if unsure, passes the chat to a staff member with the order details it has already found |
One customer message, three different outcomes
An illustrative example. A printing shop’s customer writes on WhatsApp: “Can you reprint the business cards from my last order, just with my new phone number? Will they be ready by Friday?” The message holds three jobs: find the last order, change the layout and check the deadline.
- Chatbot. Replies from the knowledge base with how long business cards take to print, asks for the name or order number and passes the chat to a manager. It cannot find the order or edit the layout: its rights cover only the knowledge base and logging an enquiry.
- Scripted automation. If the customer taps a “Repeat order” button, the flow copies the previous order by its number in the CRM. It will not put the new number into the layout or check Friday’s print queue: the flow has no such steps.
- AI agent. Finds the customer’s previous order in the CRM, checks the print queue for Friday, sets the designer a task to replace the phone number in the layout and drafts a reply with the date the cards will be ready. A manager confirms the go-ahead to print, and the new price if it has changed.
What an AI agent is made of
In a company an agent is assembled from four parts. OpenAI calls the model, tools and instructions the foundations of an agent, and Anthropic adds retrieval and memory to the model in the basic building block of agentic systems. How to set an agent up in one role, on the model of a job description, is covered in “AI employee: what to give it and how to write its job description”.
- Model. Reads a message or a document and decides what to do next.
- Instructions. Your rules in words: what the agent does itself, what it only prepares, what it reports to a staff member straight away. The person who owns the process writes and updates them.
- Tools. Connections to the CRM, 1C, calendar and email through their APIs. Each tool is a separate permission, and you approve the list of permissions.
- Memory and retrieval. Chat history with the customer, past orders, the price list, internal rules. The agent sees only the data it has been connected to.
Agent access and where a person decides
Work goes to a person in two cases named in OpenAI’s guide. One: the agent has used up its limit of attempts or actions without completing the task. Two: the action is sensitive, irreversible or carries a high cost of error, such as cancelling an order, issuing a large refund or making a payment. OpenAI advises keeping such actions under human oversight until confidence in the agent’s reliability grows.
A self-directed agent costs more to run, and its errors can compound from one step to the next, Anthropic warns. It advises testing agents thoroughly in an isolated environment and putting appropriate guardrails in place.
In a company the agent works under its own accounts in the CRM, email and 1C, and its role opens just the data and actions its job requires. Rights are granted in levels, with a level for each system.
- Read access only. The agent looks up an order, a stock level or a customer’s history and shows a staff member what it found.
- Drafts for review. A reply to the customer, a CRM task or a request to a supplier waits until a staff member checks and sends it.
- A short list of its own actions. The agent may, for example, set a task for the designer or write a date into the deal record. Anything outside the list goes to a person.
AI agents in company departments
An agent is worth building where decisions are complex, rules are hard to maintain or the work rests on unstructured text: emails, messages, documents. These are the criteria in OpenAI’s guide. Where a process fits clear rules, ordinary automation may be enough. How to split the steps of one process between CRM and 1C rules, AI and staff is shown with an example in the article on AI business automation. Such tasks exist in sales, customer support, operations, finance, procurement and HR. The scenarios for each department are collected on the “AI agents for departments” page. Choose the department with the most correspondence and the most varied documents, and see on that page which tasks an agent takes on.
Sources
- Anthropic, Building effective agents: https://www.anthropic.com/research/building-effective-agents (published 19 December 2024, checked 12 November 2026)
- OpenAI, A practical guide to building agents: https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf (checked 12 November 2026)
- Google Cloud, What are AI agents: https://cloud.google.com/discover/what-are-ai-agents (checked 12 November 2026)