What is an AI agent?

The simplest definition: an AI agent is an LLM in a loop with tools. It gets a goal. It thinks. It picks a tool. It uses the tool. It thinks again based on what the tool returned. It repeats until the goal is done. That's it.

The three components

  1. The LLM, the reasoning engine. Takes context, decides what to do next.
  2. Tools, functions the LLM can call. Search the web, query a database, send an email, run code.
  3. The loop, orchestration that runs until the task is complete or a stop condition fires.

Why this is different from a normal LLM call

A normal LLM call: prompt in, answer out. One shot. The LLM does what it can with the context it has.

An agent: prompt in, but the LLM can reach out for information, take actions, and incorporate results before responding. It can decide "I don't know this, let me search," execute the search, read the results, and respond. The agent can take many reasoning and action steps, not just one.

The spectrum of autonomy

Most production agents sit in the middle: structured loops with bounded autonomy.

What agents enable

What agents don't magically fix