Skip to content
local-ai

Agent

A model given the ability to take actions, not only produce text, by calling tools in a loop to work towards a goal.

An agent is a model wrapped in a loop that lets it act. Rather than answering once, it can decide to call a tool, such as searching, running code, or reading a file, see the result, and decide what to do next, repeating until the task is done.

This turns a model from something that talks about a task into something that attempts it. The building block is tool use, and standards like MCP make the tools easier to connect. Running agents on a local model keeps the whole loop, and its data, on your own machine. See what is an agent.

Related terms