Skip to content
GlossaryKey term

AI Agent

A system that uses a model to choose actions, use tools and pursue a goal over multiple steps.

Reviewed May 7, 2026

What it is

An agent combines a language model with tools, memory and a control loop. It can search, read files, call APIs and decide what to do next. The defining feature is autonomy over a sequence of actions, not a single response.

Why it matters

Agents can handle multi-step tasks such as research, triage and code review. They also introduce new failure modes: loops, unintended tool calls, cost overruns and actions taken on stale information.

Designing safely

Bound the scope, cap the number of steps, require approval before external side effects, log every tool call and provide a stop condition. Start with a workflow that has one model step; add autonomy only when the simpler design fails.

Keep learning

Concepts are easier to remember when you apply them. The foundations path connects this term to practical exercises.

AI foundations path →

Related terms