Skip to content
Everything *[NYC] 2026: see what we announced. →

AI agent definition

An AI agent is software that gives a language model a goal and a set of tools, then runs it in a loop: the model picks a tool, the code runs it, the result goes back to the model, and the cycle repeats until the model decides the goal is met or a limit stops the run. The model, not a fixed code path, decides what to do


A diagram explaining AI agent in terms of related concepts.

How does an AI agent actually work?

What is the difference between an AI agent and a workflow?

What is an AI agent made of?

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

Why do definitions of AI agent disagree?

What does an AI agent need from a content system?

Discover More with Sanity

Now that you've learned about AI agent, why not start exploring what Sanity has to offer? Dive into our platform and see how it can support your content needs.

Last updated: