onema
AI solutions
MVP
Web development
Mobile apps
UX/UI design
Branding
Find out your project cost
office@onema.ru
Questions and suggestions
Get a cost estimate

What is an AI agent? Explained through a real project

An AI agent is an LLM-based program that plans and carries out tasks on its own. How an agent differs from a chatbot and how it works in a real product.
Nikolay S.
CTO at onema
What is an AI agent? Explained through a real project — illustration for the onema article
An AI agent is a program built on a language model that doesn't just answer questions but carries out tasks on its own: it plans steps, calls tools (search, databases, APIs), checks the result and moves on without needing a human command for every step. The key difference from a chatbot is that an agent makes decisions and takes actions rather than just generating text.

That's the formal definition. Now in plain language.

How an agent differs from a chatbot — in plain terms


Imagine two employees. The first answers customer questions strictly by the script: ask, and they answer; don't ask, and they stay silent. That's a chatbot, even if it has the latest version of GPT inside.

The second understands the task as a whole: ‘put together a basket for dinner’ — and they check what's in stock, pick a recipe, check prices, add the items to the order and come back with a finished result. Along the way they've made a dozen decisions you'll never hear about. That's an agent.

The difference isn't the model's ‘intelligence’ but the architecture: an agent has a goal, tools and the authority to act. A bot only has replies.

Chatbot: question → answer.
Agent: goal → plan → tools → actions → result.

What it looks like in a real product


When we were building Sigma.AI, an assistant inside a grocery marketplace, the client originally asked for ‘a chatbot with GPT’. The conversation changed after one question: what should happen after the answer? If a customer writes ‘I want nibbles for Friday’, a text reply saying ‘I recommend a cheese platter’ is useless — the product has to put specific items in the basket.

That's how the ‘chatbot’ became an agent with tools: access to a catalogue of 1,155 recipes and 238 ingredients linked to real stock items, stock and price checks, and basket assembly. Every recommendation is a product that's actually in stock, not a figment of the model's imagination. Along the way, the main ailment of LLMs in e-commerce — hallucinations — was solved: the agent physically can't recommend a non-existent product, because it answers from the database rather than ‘making things up’.

And one more lesson from this project that articles about agents rarely mention: the agent's most frequent tasks are best… not entrusted to the model at all. We routed typical scenarios into deterministic branches and a cache — they complete in 4–6 seconds and don't spend a single token. The model only steps in where intelligence is genuinely needed. An agent isn't ‘LLM everywhere’; it's the right split: a script here, a cache there, and the model where it counts.

Where agents already work (and where they shouldn't yet)


In our experience, agents today reliably handle: selecting items and assembling orders in e-commerce, initial request processing and routing in support, searching a company's internal knowledge bases (paired with RAG, which we cover in a separate article), and automating routine ‘checked → compiled → sent’ chains.

Where I wouldn't yet let an agent operate without a human: irreversible actions involving money, legally significant answers, anything where the cost of a single mistake outweighs the savings from a thousand automations. A good agent knows the limits of its authority — and that, by the way, is something you design, not something that ‘just happens’.

How much it costs and where to start


The honest answer: the range depends not on ‘AI magic’ but on straightforward things — how many scenarios need covering and what state your data is in. The good news is that you don't have to build the whole agent at once: the first working scenario on top of your data launches in a few weeks — and starts delivering value while the system grows. That's how Sigma.AI evolved too: we started with catalogue-based selections, and its own model, voice input and mobile app integration were added iteratively to an assistant that was already working.

You should start not by choosing a model but by asking ‘what action should the agent take?’ If the answer is ‘just answer questions’, a bot may be enough for you — and it's cheaper. If it's ‘get things done’, welcome to agents.

A real-world example

Sigma.AI, an assistant for the Sigma.Market grocery marketplace, builds a basket from items that are in stock.
Do you need an agent, or will a bot do?
Describe your task in the estimate form and we’ll look into it and tell you honestly if you don’t need an agent just yet. To see how our approach works, read the Sigma.AI case study and our AI development page.

FAQs

Cost calculation
Tell us where your product has hit a wall, in the estimate form
After the audit, we'll tell you what to migrate, what to keep and how much it costs
More articles