---
title: "Agent"
url: https://eldan.ai/glossary/agent
canonical: https://eldan.ai/glossary/agent
locale: en
language: en
published: 2026-11-23
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Agent.\" Eldan.ai, 23 November 2026. https://eldan.ai/glossary/agent."
---

# Agent

> An agent is a program that lets a model decide its own next steps: it calls tools, reads the results and repeats until it judges the task done or a limit stops it. Autonomy is a spectrum, and the smallest design that works, often a fixed workflow with one model call, is usually the right starting point.

More autonomy brings more flexibility and more ways to fail: loops, wrong tool choices, runaway cost. A fixed workflow that calls a model at known points is easier to test and to explain.

**Common mistake.** Building an agent for a task a three-step workflow would solve, then spending weeks on guardrails.

**In practice.** Start with a workflow. Introduce a loop only where the number of steps genuinely varies, and bound it with step, time and cost budgets.

## Related terms

- [Agent loop](https://eldan.ai/glossary/agent-loop)
- [Tool calling](https://eldan.ai/glossary/tool-calling)
- [Human in the loop](https://eldan.ai/glossary/human-in-the-loop)

## Used in

- [Tool Calling From Scratch](https://eldan.ai/tutorials/tool-calling-from-scratch)
