Definition
An AI agent is a software system built around a large language model (LLM) that can pursue a goal autonomously: it reasons about what to do next, calls external tools, observes the results, and repeats until the task is complete. Unlike a one-shot chatbot that simply answers a prompt, an agent runs in a loop, deciding for itself which actions to take. For a sovereign Bitcoiner running self-hosted inference, agents are the layer that turns a static model into something that can query a node, parse logs, or drive a mining dashboard.
How an agent works
A typical agent cycle is plan, act, observe. The model receives a goal plus a list of available tools (functions it can call, such as a web search, a shell command, or a REST endpoint). It emits a structured call, the host runtime executes it, and the result is fed back into the context for the next decision. This tool-use loop is what separates an agent from a plain prompt-and-response interaction. Standards like the Model Context Protocol (MCP) exist specifically to give agents a uniform way to discover and call tools.
Risks and guardrails
Because an agent acts on the world, mistakes carry real consequences: a bad tool call can delete files or spend money. Agents are also exposed to prompt injection, where malicious content fetched by a tool hijacks the model's instructions. Practical deployments wrap agents in guardrails, permission prompts, and scoped credentials so a runaway loop cannot exceed its mandate.
For sovereign operators, locally hosted agents are attractive because no prompt, tool output, or credential ever leaves the machine. Pairing an agent with an open-weight model keeps the entire reasoning stack under your own control rather than behind a vendor API.
In Simple Terms
An AI agent is a software system built around a large language model (LLM) that can pursue a goal autonomously: it reasons about what to…
