An AI agent is an AI system that autonomously plans multi-step tasks, uses tools or external services, and evaluates intermediate results to largely independently achieve a given goal.
Unlike a classic chat model that only responds to a single question with a single answer, an agent can break a complex task into sub-steps, call tools such as web search, code execution or external APIs, evaluate the results, and adjust its plan as needed.
Typical agent patterns include, for example, "research a topic, summarize the findings, and publish them automatically" or "analyze a software repository, identify a bug, and propose a fix" – all without a human having to manually trigger each individual step.
With greater autonomy comes greater risk: flawed intermediate decisions can compound across a multi-step agent chain, which is why production agent systems are usually equipped with clear boundaries (guardrails) and checkpoints for human approval.



