As the field of AI agents races forward, its vocabulary often lags behind, creating confusion among newcomers and even seasoned practitioners. Terms like 'harness' and 'scaffold' are frequently used without consistent definitions, leading to misunderstandings. This glossary aims to clarify these and other key concepts, providing a practical framework for discussion.
Model
The core large language model (LLM) – such as Claude, GPT, or DeepSeek – that takes text input and produces text output. On its own, a model has no memory between calls and cannot loop; it simply responds to one prompt and stops.
Scaffolding
The behavior-defining layer wrapped around the model: the system prompt, tool descriptions, output parsing rules, and context management. Scaffolding shapes how the model perceives its environment and acts within it, whether during training or inference.
Harness
The execution layer that actually runs the agent: it calls the model, processes tool calls, and decides when to halt. In some products like Claude Code or Codex, 'harness' refers to the entire non-model system. The distinction between scaffold and harness matters most in training pipelines, where they play separate roles.
Agent
Originally from reinforcement learning, an agent is a function that observes and acts, forming a loop. In the LLM context, an agent is a model plus its surrounding infrastructure – scaffolding and harness – that enables it to act iteratively, not just produce text. The common formula is Agent = Model + Harness.
Context Engineering
The art of managing what the model sees in its limited context window – deciding what to include, when to trim, and how to present information to maximize performance.
Policy
Refers to the model’s decision-making rules – which tool to call, what action to take – potentially tuned via training to optimize rewards.
Tool Use
The ability for the model to invoke external functions (e.g., APIs, code interpreters) as actions, with the harness handling execution and feedback.
Skills
Reusable bundles of tools, prompts, and heuristics that agents can be equipped with to handle specific domains or tasks.
Sub-agents
Secondary agents spawned by a primary agent to perform specific subtasks, often returning results to the parent.
Training
When agents are trained, additional terms become relevant:
- RL Environment: The simulator where the agent acts, gathering experiences.
- Trainer: The algorithm that updates the model based on collected data.
- Rollout: Running the agent in the environment to gather a batch of trajectories.
- Reward: The scalar signal indicating success, used to reinforce desired behaviors.
Many of these definitions are still evolving, and different frameworks may use the same word differently. This glossary offers a mental model to ease discussion, not a rigid standard.