Bibliothèque de concepts
LLM vs Agentic: The Difference
An LLM produces an answer. An agentic system uses LLMs in a loop with tools, memory, and decisions — taking actions, observing outcomes, and continuing until a goal is met.
What it is
An LLM is a model that produces text given text. Send a prompt, get a completion. Stateless, single-step, no autonomy.
An agentic system uses LLMs as the reasoning layer inside a loop that takes actions in the world. The model decides what to do next, calls a tool, observes the result, and decides again. State persists across steps. The system is autonomous within bounds.
The distinction matters because vendor marketing blurs it. “AI-powered” can mean anything from a single completion API call to a multi-agent research system. The architectural and operational implications differ by orders of magnitude.
Why it matters
The shift from LLM applications to agentic systems is the single most important architectural change in enterprise AI in 2026.
LLM applications have predictable shape: input → completion → output. Latency budget is one model call. Cost is one prompt’s worth of tokens. Failure modes are bounded — the model says something wrong, the user sees the wrong answer.
Agentic systems are unbounded. A single goal can result in 5 to 50 model calls, multiple tool invocations, mutations in external systems, and a long context that grows over the run. Latency is measured in minutes, not seconds. Cost per run can vary by 100×. Failure modes include partial completions, runaway loops, and side effects in production systems.
Treating agentic systems as bigger LLM applications produces operational disasters. Different observability, different evaluation, different cost management, different failure recovery — each requires deliberate design.
How it works
The minimal LLM application:
prompt → model → response → user
The minimal agentic system:
goal → [model decides → tool call → tool executes → observation] (loop) → final state
The loop is everything. It introduces:
- Variable cost and latency per run
- State accumulation across steps
- Side effects through tool execution
- Multi-step failure modes
- Decision quality compound — each step’s decision affects all future steps
This is why agentic systems are an architecture concern, not a prompt-engineering concern. The prompt matters; the loop matters more.
When to choose which
Use a single LLM call when:
- The task is well-bounded — summarization, extraction, classification, single-turn Q&A
- Latency matters and a single response is enough
- Cost predictability matters
- The output does not require interaction with external systems
Use an agentic system when:
- The task path is variable — research, troubleshooting, multi-system coordination
- The task requires gathering context from multiple sources
- The task requires multiple actions in different systems
- Human-in-the-loop is acceptable for clarification or approval
Use neither — choose a deterministic system — when:
- The task structure is fully known and stable
- Determinism and auditability are non-negotiable
- The cost of LLM variability exceeds the cost of writing the deterministic version
Yoann’s take
The default architecture decision I push for: start with the simplest thing. Single LLM call if it works. Single LLM call with a few tools if that works. Full agentic loop only when the task genuinely requires variable steps. Most “we need an agent” requests turn out to need a well-prompted single completion. The cost of getting this wrong is not just over-engineering — it is operational risk. An agentic system in production needs evaluation, observability, cost ceilings, and tool guardrails. A misclassified single-completion problem with all that scaffolding is wasteful. A misclassified agentic problem with a simple completion is dangerous. The architectural decision is the most important call, and it is made before any code is written.
— Yoann
Related reading
- What Is an Agent, Really
- Agentic AI Architecture Patterns
- Production Patterns for Agentic Systems
- Cost and Latency Budgeting for AI
External references
- Anthropic — “Building effective agents” (2024 essay)
- “When should you use agents” — practitioner essays