What is an AI agent?

There is no single universally enforced definition. In common technical usage, an agent can use a model to decide what to do next, act through tools, and incorporate the result into further steps. The scope may be narrow, such as updating a record, or broader, such as investigating a question across several sources.

The word agent does not establish human-like understanding or unrestricted independence. A system can be agentic within a carefully limited environment. Describing its available actions, feedback, and stopping rules gives more information than the label alone. Two products marketed as agents may differ substantially in what they can actually change or complete.

How is an agent different from a chatbot?

A chatbot is defined mainly by how someone interacts with it: through conversation. An agent is described by how it pursues a task. A conversational system may only generate text, or it may use a browser, query a database, or edit a file. The same chat window can therefore expose very different capabilities.

For example, explaining how to organize a spreadsheet is different from opening the spreadsheet and modifying it. A system can also draft an action without executing it, such as preparing an email for review. The distinction between advice, preparation, and execution is often more useful than deciding whether a product should be called a bot or an agent.

What role do tools play?

A tool provides an operation outside ordinary text generation. It might retrieve a document, perform a calculation, read an application state, or submit a change. The model or surrounding software chooses a tool and supplies arguments; the tool returns a result. Research systems such as Toolformer and ReAct illustrate different approaches to connecting language models with external actions and information.

A tool's name does not guarantee correct use. The system can select the wrong operation, provide an incorrect identifier, or misunderstand the returned result. An accurate calculator will still produce the wrong answer to the user's problem if given the wrong inputs. Tool reliability and the model's interpretation of the task need separate evaluation.

How does the action-and-feedback loop work?

A typical loop involves choosing a step, executing it, observing what happened, and deciding whether another step is needed. Feedback can reveal that a file was not found, a page changed, or a proposed operation failed. The system may then adjust its approach. This is different from writing a fixed list of instructions and assuming every step succeeds.

Longer tasks create more opportunities for errors to accumulate. A mistaken assumption early in the process can influence later actions even when each action is executed correctly. Checkpoints can compare intermediate results with the intended goal. The relevant measure is successful task completion under the stated constraints, not simply how many steps the system performed.

What is the difference between a workflow and an agent?

A workflow can route information through predefined steps, while an agent may choose more of the sequence during execution. The boundary is gradual: a workflow can contain model-based decisions, and an agent can operate inside a fixed approval process. Anthropic's engineering guidance uses this distinction to describe different system architectures, rather than a universal ranking of capability.

A predictable task may not need an open-ended agent. Fixed steps can be easier to test and monitor when the inputs and required output are well defined. More flexible selection can help when the next step depends on what is discovered. The appropriate design depends on the task's uncertainty, cost, and consequences of an incorrect action.

Why do permissions and external content matter?

Capability and authorization are separate. A system may technically be able to send a message or delete a file while lacking permission to do so for a particular task. Limiting access and requiring review for consequential actions can reduce the effect of mistakes. The useful question is what the system is allowed to do in this setting, not what similar software could theoretically do.

External material can also contain instructions that conflict with the user's task. Prompt injection refers to attempts to make a model treat such content as controlling instructions. A page being read for information should not acquire authority to redirect the task. Separating untrusted content from instructions and limiting tool permissions are important system considerations, although no single measure guarantees protection.

Define the finish line before the system acts

Imagine asking a system to organize a small collection of files. A useful task description identifies the intended folder structure, which files may be changed, and how to handle an ambiguous filename. “Make this tidy” leaves those decisions largely unstated. The system may produce a plausible arrangement that does not match what you meant.

Define an observable result: the specified files are in the intended locations, their contents are preserved, and an inventory records the changes. Those checks are separate from the system's final explanation. A confident message saying the work is complete does not replace examining the resulting files.

Also distinguish preparation from an external action. Drafting a message and sending it have different consequences. A tool-using system needs a clear account of which action the user requested, rather than treating access to a tool as permission to perform every operation it supports.

For an evaluation, include an ordinary complication: a duplicate name, a missing file, or an uncertain instruction. Observe whether the system identifies the issue, takes a permitted reversible step, or reports a limit. A demonstration that succeeds only when every input is perfectly prepared gives a narrower picture than performance under realistic conditions.

The practical comparison between a chatbot and an agent is therefore about the work and evidence, not the name. Does the system only describe a possible action, or does it carry it out through tools? If it acts, can you inspect what happened and determine whether it met the requested boundary and result?

How can someone tell whether an agent finished correctly?

Completion needs evidence appropriate to the action. A file edit can be inspected, a calculation can be checked, and a submitted operation may return a confirmation or a changed application state. A generated sentence saying 'done' is only a report. It can be mistaken if the tool failed, the wrong object was changed, or the system misunderstood the goal.

Evaluation can consider accuracy, unauthorized actions, recovery from failures, time, and cost. A system that succeeds in a demonstration may behave differently with ambiguous instructions or an unfamiliar environment. Clear task boundaries and inspectable results make performance easier to assess without assuming that autonomy itself is proof of usefulness.