designwithfocus

AI & ML development

LLM vs Agentic AI: A Model That Replies, or One That Acts

By Design With Focus Team 6 min read
A prompt box on the left and a loop of tool calls on the right

Short answer

An LLM produces text from a prompt, while an agentic system is that model plus a loop that can call tools and choose another step. OpenAI describes an agent as instructions, guardrails, and tools acting for the user, and says a chatbot that only answers questions is not an agent. Anthropic separates workflows, which follow code paths you wrote, from agents, which let the model direct tool use. Neither page states an autonomy percentage.

Last verified against the sources listed below.

Key takeaways

  • OpenAI's cookbook says a large language model maps text to text and predicts what should come next.
  • OpenAI's agent track says a system that only answers questions does not qualify as an agent.
  • Anthropic defines workflows as LLMs and tools on predefined code paths, and agents as models that direct their own tool use.
  • With client tools, your code runs the tool and sends the result back. Server-side tools can run inside the vendor API.
  • The Model Context Protocol is an open standard for connecting an AI app to external systems.

LLM vs agentic AI is a difference in who takes the next step. An LLM writes text from a prompt. An agentic system keeps that model in a loop that can call a tool, read the result, and continue.

OpenAI’s cookbook says large language models are functions that map text to text. Anthropic says agents are typically just LLMs using tools based on environmental feedback in a loop.

Machine learning is the broader field those models come from. This comparison stays inside the vendor pages above. None of them prints a percentage of tasks that run without a person.

What does the model do alone?

It predicts the text that should follow the prompt you sent.

OpenAI’s concepts page describes text generation models, often called GPT models, as trained to understand natural and formal language. The inputs are prompts. The outputs are text. Uses it lists include content, code, summaries, conversation, and creative writing.

The cookbook, which OpenAI marks as archived, says the model learns those skills by reducing prediction error on a large amount of text. A single call ends when the model stops writing. A tool runs only if your code calls it, or if you offered the tool and then handle the request.

The model does not open a database because it wrote a sentence about one. Python is one language teams use for that surrounding code. The language is not what makes the call agentic.

What does an agentic system add?

It adds tools and a loop, and the model can choose the next call inside bounds you set.

OpenAI’s agent track defines an agent as instructions, guardrails, and tools, so the system can act for the user. A chatbot that only answers questions is not an agent on that page. A system connected to other systems, taking action from the user’s input, qualifies.

Simple agents may use a handful of tools. More complex setups can coordinate several agents. Anthropic draws a line inside what it calls agentic systems.

Workflows run models and tools on code paths you wrote. Agents let the model direct tool use.

The article says to start with the simplest solution, often one model call with retrieval and examples. It also says agentic systems trade latency and cost for task performance, and it does not give a ratio.

The Model Context Protocol is one way to attach those tools. Its docs call MCP an open-source standard for connecting an AI application to external systems, including data sources and tools. Anthropic’s article names that protocol as one way to give a model a documented interface.

How do input and output differ?

The model receives text and returns text. The loop also receives tool results and can request another action.

LLM call Agentic loop
Input A prompt, which is the text you send The task, plus tool results from earlier steps
Output Text the model generates Text, and any tool calls the model requested
Tools None, unless you attached them to this call Tools the model can choose among
Who decides the next step Your code, after the response comes back The model, until a stop condition you set

OpenAI’s tools guide says the model decides whether to use a configured tool based on the prompt. You can set tool_choice to control or guide that. For a custom function, you run the function and return the result. For a built-in tool, OpenAI’s agent track says execution happens on their side, except for the computer use tool.

Anthropic’s client-tool path is similar. A response that wants a tool includes blocks naming the tool and its input. Your code runs each one and sends the result back. If the next response wants a tool again, you repeat.

A failed tool is marked as an error, and the docs say to limit retries. Server tools run inside the API. You do not send those results yourself.

When is a workflow enough?

Use a fixed series of calls when you already know the steps.

Anthropic lists prompt chaining, routing, and parallel calls as workflows. Chaining passes one model’s output into the next. Routing sends a request to a specialist path. Parallel calls split independent pieces, or repeat a task and combine the answers.

In each case the code, not the model, picks the shape. An agent fits when you cannot predict the number of steps and you cannot fix the path in advance. The model may run for many turns.

The article says to include a stopping condition, such as a maximum number of iterations, and to pause for a person at checkpoints. It also says to test in a sandbox. Those are controls around the loop.

How do you choose?

Choose one model call when the task is a reply. Choose a loop when the task needs an action and a fresh result.

Start with a prompt and inspect the text. Add a tool only when the answer depends on data the model was not given, such as a live search or a record in your system. Keep the path in your code when the steps are known. Hand the model the choice of tool when the steps depend on what the last result said.

A color palette generator is a separate product decision for the page that explains this. It does not pick the architecture. The architecture choice is the one in the table: who is allowed to decide the next step, and what that step is allowed to touch.

Frequently asked questions

What is a token in this comparison?

OpenAI's concepts page says text models process text in tokens, common sequences of characters. Its example splits tokenization into two pieces, while a short word such as the word the is one token. A rough rule on that page is that one token is about 4 characters, or 0.75 words, of English. The prompt and the output together must fit the model's context length. An agentic loop also spends that budget on tool results.

Who runs a custom tool in the OpenAI loop?

OpenAI's agent track says you define the functions and their parameters. The model can decide to call one. You execute it and add the result to the conversation, and the model uses that result next. Built-in tools run on OpenAI's infrastructure, so you do not execute them, with computer use called out as the exception. The tools guide adds that tool_choice can guide or force the decision.

What does Claude send back when it wants a tool?

Anthropic's tool-call page says a client-tool response ends with a tool-use stop reason and one or more blocks. Each block has an id, a name, and an input object. Your code runs the named tool, then sends a user message of result blocks, keeping the same tool list. If the next response asks for a tool again, you repeat. Mark a failed call as an error, and cap the retries. Server tools are different. Claude runs those internally and folds the result into the response.

What characters can a Claude tool name use?

The define-tools page says a user-defined tool needs a name, a description, and an input_schema. The name must match a pattern of 1 to 128 characters from letters, digits, underscores, and hyphens. The description is plain text about what the tool does, when to use it, and how it behaves. The schema is a JSON Schema for the parameters. Optional input examples can show a valid call. Those fields are how you steer the model. They are not a measure of how independent the loop is.

Does a workflow count as agentic?

Anthropic groups workflows and agents as agentic systems, then splits them. A workflow runs models and tools on code paths you defined. An agent lets the model direct its own process and tool use. Prompt chaining, routing, and parallel calls are workflows on that page. An agent is the case where you cannot know the step count ahead of time, so you add a stop such as a maximum number of iterations. Agentic is the wide label. Agent is the narrower loop.

Sources