Digitorn
Digitorn
All terms
Agent concepts

AI agent

An autonomous program that uses an LLM to plan and execute multi-step tasks via tools, in a loop, until a goal is reached.

also known as: agentic AI, autonomous agent, LLM agent
In depth

An AI agent is the smallest interesting unit beyond a chat completion. It wraps an LLM with three things the LLM does not have on its own: a goal it's trying to accomplish, a set of tools it can invoke, and a loop that runs the model repeatedly, feeding tool results back into context until the model decides it's done. Strip the loop and you have an LLM. Strip the tools and you have a chatbot. Strip the goal and you have a search bar.

What it looks like in practice

YAML
1agents:2  - id: main3    brain:4      provider: anthropic5      model: claude-sonnet-4-66    modules: [filesystem, web]7    system_prompt: "Find every TODO in src/, write a summary."
Related concepts
Read the deep dive

What is an AI agent? A 2026 guide for engineers

Read article
Newsletter

Get the next post in your inbox.

Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.

One-click unsubscribe. We never share your address. Powered by our own infrastructure, not a tracker.

More in Agent concepts

Agent loop/glossary/agent-loopAgent spawn/glossary/agent-spawnCompaction/glossary/compactionCoordinator agent/glossary/coordinatorFunction calling/glossary/function-callingGoal pinning/glossary/goal-pinning