@cwolferesearch: What is an agent? The definition can be pretty simple: it’s just an LLM that runs within an agentic loop. To make this …
Summary
A clear definition of an AI agent as an LLM within an agentic loop, covering components like LLM backbone, instructions, tools, environment, and additional details like context management and memory.
View Cached Full Text
Cached at: 06/25/26, 11:18 AM
What is an agent? The definition can be pretty simple: it’s just an LLM that runs within an agentic loop.
To make this definition more concrete, an agent-system has a few high-level components:
- The LLM backbone.
- Instructions.
- Tools.
- The environment.
Given an initial instruction / specification, these components run in an agentic loop where the LLM generates output, executes tool calls, ingests feedback from the environment, and repeats.
At each step, termination conditions are checked to see if the loop should continue. For example, we can define a maximum number of steps, run tests to determine if the problem is solved, or have the LLM output a termination token. Together, all of these components form an agent harness, which controls orchestration / integration details of the LLM.
(1) LLM backbone. This is just a standard LLM that has been trained to operate in an agentic context. Specifically, the LLM must be able to work well within the provided harness, which requires advanced instruction following, tool calling, and reasoning capabilities. Although any LLM can be used as an agent backbone, we often benefit from using a reasoning model.
(2) Instructions provide the information necessary to solve a problem to the agent, as well as context that helps the agent to approach a problem correctly. Examples of information to put in the instructions include relevant domain info (e.g., from guidelines or policy documents) or how to solve the problem (e.g., break into smaller parts). We want instructions to be detailed enough to reliably guide agent behavior but not so detailed that they become brittle / hard to maintain.
(3) Tools. Agents use tools (e.g., APIs, CLIs, or MCP servers) to interact with the external environment. Tool calls can be represented directly in the LLM’s token stream by creating a set of special tool calling token; e.g., Qwen-3 uses the following tags:
… for tool definition / specification- <tool_call> {params} </tool_call> for tool calls.
- <tool_response> … </tool_response> for tool responses / observations.
(4) Environment. Tools mediate an agent’s access to the environment. The environment is stateful, and tool calls may result in environment state changes. Environment dynamics are encoded in tool calling logic–arbitrary environmental rules can be created via tool definitions.
Additional details. Agent harnesses are a rapidly evolving area of research—new ideas and components are introduced every day. Additional harness components not covered above include:
- Context management controls how information is presented to the agent. For example, long-running tasks may use compaction to summarize prior steps or truncate feedback from the environment (e.g., error messages) to avoid overloading the LLM with too much context; see above.
- Memory can allow the agent to persist useful context within a long-running task or even across different sessions and tasks. Conceptually, this memory system becomes another aspect of the environment—it is stateful and can be accessed via tool calls by the agent.
for more details, check out my recent blog post on agents and RL!
https://cameronrwolfe.substack.com/p/agentic-rl
Similar Articles
@Yeuoly1: I'm actually curious about what everyone defines as 'an Agent' or 'Agent colleague.' It sounds pretty appealing, but LLMs are fundamentally stateless. What exactly is this entity called 'Agent colleague'? Is it an Agent-Loop with a bunch of m…
Discusses the definition of AI Agent and 'Agent colleague,' pointing out that LLMs are inherently stateless and questioning the concrete form of the Agent entity.
@HarperSCarroll: What actually turns a chatbot into an AI agent? The “harness” around the AI model (the large language model, or LLM). I…
This video explains the concept of an AI agent harness: the LLM core, memory, tools, and the loop that enables iterative decision-making toward a goal.
Beyond LLMs: Why Scalable Enterprise AI Adoption Depends on Agent Logic
IBM Research explores how agent logic—software primitives like knowledge graphs and program analysis—can guide LLM-based agents to efficiently handle complex enterprise workflows, reducing hallucinations and costs while improving outcomes.
Can someone help me buy in or understand the use case for AI Agents?
A software developer questions the practical value of AI agents, expressing concerns about control, accountability, and whether manual automation combined with LLMs is more reliable than delegating to autonomous agents.
Most “agentic AI” conversations feel too abstract. Here is how my agentic research system looks like
The author shares a practical breakdown of an agentic research system they built to identify and evaluate AI use cases within companies. The system uses six agents for discovery, evaluation, and context extraction, emphasizing human-in-the-loop decision-making over full autonomy.