AI agent

An AI agent is a system where a language model decides its own steps and uses tools, such as search or a booking calendar, to finish a task.

Checked 27/11/2026 against 2 sources. Next review 27/05/2027.

An AI agent is a system where a large language model directs its own process and its own use of tools, and stays in control of how the task gets done [1]. OpenAI describes agents as able to plan and complete tasks using tools, work with other agents and keep context across steps [2]. Anthropic separates agents from workflows, where code written in advance fixes the path [1]. A chatbot that only writes replies has no tools to direct. An agent can act, for example by checking a calendar or filing a booking.

How is an AI agent different from a workflow or a chatbot?

Anthropic uses one test: who decides the steps. In a workflow, the path is fixed in code ahead of time [1]. In an agent, the model directs its own process and tool use [1]. Anthropic calls both kinds agentic systems [1].

QuestionWorkflowAgent
Who picks the next step?Code written in advance [1]The model [1]
Best suited toWell-defined tasks where predictability and consistency matter [1]Problems where flexibility and model-driven decision-making are needed at scale [1]
Number of stepsKnown when you build itDifficult or impossible to predict [1]

Give the model behind a chatbot tools, plus the freedom to decide when to use them, and you are moving toward an agent. The AI chatbot guide covers the simpler setup.

What does an agent do between your request and its answer?

  1. It receives the task It starts from a command from the person using it, or from a conversation with them [1].
  2. It plans and acts Once the task is clear, it plans and works independently. It may return to the person for more information or a judgement [1].
  3. It checks each result At every step it needs a result from the environment, such as the output of a tool call or of code it ran, to judge its progress [1].
  4. It pauses or stops It can pause for human feedback at checkpoints or when blocked. Builders often add a stopping condition, such as a maximum number of iterations [1].

Anthropic sums the design up as a model using tools, based on environmental feedback, in a loop [1]. Because the agent chooses the tools, how each tool is described matters a great deal, and Anthropic says toolsets and their documentation need to be designed clearly and thoughtfully [1]. Anthropic says tool definitions deserve as much prompt engineering attention as your overall prompts [1], so prompt engineering applies to them too.

Does a small Singapore business need an AI agent?

Anthropic recommends the simplest solution that works, and says that may mean building no agentic system at all [1]. For many applications, one model call with retrieval and examples is usually enough [1]. That retrieval step is RAG. Agents suit open-ended problems where you cannot hardcode a fixed path, and where you have some trust in the model's decisions [1].

A worked example

Say an aircon servicing company in Woodlands wants to answer enquiries. If nearly every message is "which day are you free?", a fixed workflow does the job: read the calendar, offer the next three slots. An agent becomes worth testing only when requests vary a lot. One customer wants to move a booking, another wants a quote for four units, a third asks about a warranty clause in a PDF.

That freedom comes at a price. Anthropic says autonomy means higher costs and the potential for compounding errors, and it recommends extensive testing in sandboxed environments with the right guardrails [1]. A model can also state wrong facts, a failure covered under hallucination, and an agent that acts on a wrong fact changes a booking or sends a quote instead of just writing a bad sentence. Every loop also spends tokens, so a long run costs more than one reply.

Questions people ask

What is an AI agent in simple terms?

It is software where a language model chooses the steps and uses tools, such as a calendar or a search, to get a task done [1]. It plans, acts, looks at what happened, and repeats until the task is finished or a limit is reached [1][2].

Is an AI agent the same as a chatbot?

No. A chatbot talks. An agent also decides which steps to take and uses tools to carry them out [1][2]. Many agents sit behind a chat window, so they look alike. The test is whether the model directs its own process and tool use [1].

Can an AI agent run without a human checking?

It can work independently once the task is clear, but Anthropic notes it can pause for human feedback at checkpoints or when blocked [1]. Builders also add stopping conditions such as a maximum number of iterations, to keep control [1].

Blog posts that use this term

See also

  • Large language model A large language model (LLM) is an AI system trained on huge amounts of text to predict the next piece of text, which lets it write, summarise and answer questions.
  • Chatbot A chatbot is a program you talk to by text or voice, which answers questions or helps you finish a task.
  • RAG RAG is a method where an AI looks up your own documents first, then writes its answer from what it found, not only from what it learned in training.
  • Prompt engineering Prompt engineering is the practice of writing clear instructions and examples for an AI model so it reliably produces the output you need.
  • Hallucination A hallucination is when an AI model states something false as if it were true, such as an invented fact, quote or source.
  • Token A token is the small piece of text, such as a word, part of a word or a punctuation mark, that an AI language model reads and writes.

References

  1. Building effective agents, Anthropic. Read 27/11/2026.Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks.
  2. Agents, OpenAI. Read 27/11/2026.Agents can plan and complete tasks using tools, work with other agents, and maintain context across steps.