AI agents: when the model carries out the steps itself

Tools6 min read

An AI agent is a model that does not just answer but also acts: it reads files, runs commands, fixes code and checks the effect, moving step by step toward a goal.

Chat versus agent

What an agent consists of

  1. A model that plans and makes decisions.
  2. Tools: reading and writing files, a terminal, search, a browser.
  3. A loop: action, observing the result, the next decision, until the task is finished.
  4. Working memory, that is, the context that holds the plan and the steps so far.

What they are good for

Where it gets risky

Common-sense rules

An overview of tool categories can be found in the text on AI programming tools.