The Agent Glossary
On this page
Agent builders have developed a shorthand of their own, most of it picked up by osmosis rather than defined anywhere. Here's a straightforward guide to the core terms.
What's an Agent?
Agent - An autonomous software entity that figures out its own steps to reach a goal, unlike traditional software that deterministically executes code. As it works, it looks at what happened, adapts, and decides what to do next on its own. Because it can communicate in natural language, people tend to treat it less like a tool and more like a software person.
Bot - A long-running, persistent agent that keeps a consistent identity, holds an ongoing role, and acts proactively on schedules or triggers. OpenClaw (formerly ClawdBot) popularized the term, and examples now include Grok Bot, Muse, Instinct, OpenAI Dots, and Claude Duet.
Session - A short-lived, ephemeral agent spun up for a single conversation or task and discarded when done. ChatGPT popularized this pattern with its sidebar of separate chats.
Background Agent - A long-running agent that works unattended to produce a specific output. Rather than going back and forth in a conversation, you give it a task up front and review the result once it finishes.
Cloud Agent - An agent that runs on remote infrastructure rather than on your local computer. Because it is not tied to the lifecycle or resources of your laptop, it can stay always-on and run tasks in parallel. The term caught on to distinguish hosted agents like Devin, Grok Bot, Muse, from local-first ones like Claude Code and OpenClaw.
The Runtime
Large Language Model (LLM) - A neural network that takes in text and puts out text. It has no memory or state on its own, meaning every request starts with a blank slate. LLMs typically run on GPUs, and common examples include GPT, Claude, Gemini, and DeepSeek.
Harness - The program that wraps an LLM to make it act like an agent. On each step, it assembles the conversation history, instructions, and tool results into a prompt, sends it to the LLM, executes whatever tools the model calls, and repeats in a loop. Harnesses run on CPUs. Examples include Claude Code's engine, the Codex server, the OpenCode server, and Pi Durable.
Context & Memory
Tokens - The unit of information an LLM processes and generates, roughly equivalent to a piece of a word. In English, text averages about 1.3 tokens per word. Common words usually map to a single token, while longer or less common words split into multiple pieces. For example, the word "unbelievable" splits into 3 tokens: "un", "believ", and "able".
Context - All of the tokens that an LLM sees in one call. The LLM itself has no memory, so the context is the agent. In a multi-turn conversation, each call passes all previous tokens back in. LLMs have a fixed context limit, preventing it from growing indefinitely, and output quality tends to degrade as the context fills up.
System Prompt - Instructions placed at the beginning of the context on every LLM call. They set the agent's identity, rules, and behavior. They are typically hidden from the normal chat window that end users see, and it is why two agents powered by the same LLM can behave completely differently.
Compaction - The pruning and summarizing of the context when it gets too long, typically by having an LLM summarize the current context of the agent. Harnesses compact before hitting the hard context limit so the agent can keep running without abruptly dropping older information.
Memory - Information saved outside the context window so facts, preferences, and past decisions persist beyond compaction and can be shared across different agents. Simple setups are file-based, where an agent writes notes to markdown files that it or other agents can read later, while more advanced systems periodically compile summaries or structured wikis from past transcripts and use retrieval or hooks to inject relevant context automatically.
Dreaming - An offline background pass that periodically consolidates an agent's memory. It reviews past transcripts against existing memory notes, corrects stale or contradicted entries, merges duplicates, and reorganizes what matters into cleaner memory files or structured knowledge.
Tools & Extensions
Tools - Actions that an agent can take, like reading files, running terminal commands, searching the web, or calling an API. The LLM doesn't run the tool itself. It outputs structured text specifying the tool and its arguments, and the harness parses it, runs the corresponding tool, and appends the result to the context.
Code Mode - A colloquial term for programmatic tool calling, coined by Cloudflare. Instead of calling tools one by one and dumping full responses into context, the agent writes code to call tools and deterministically filter or manipulate the results before returning only what it needs. That avoids bloating the context or forcing the model to dump raw output to a file and operate on it across extra turns. Code Mode is typically implemented with a lightweight code sandbox (like JavaScript or Python).
Execution Environment - Where an agent runs code, shell commands, and file operations, like your laptop, a Docker container, or a cloud VM. It determines what files, installed packages, and network access the agent can use. Originally, agents like Claude Code ran the harness and executed code on the same machine. More recently, teams have started separating them so the harness runs on one server and delegates execution to another environment. Anthropic's post on Scaling Managed Agents has a good breakdown of why this decoupling matters.
Sandbox - An isolated execution environment that restricts what an agent can access, so that anything it runs stays safely contained. Colloquially, it refers to cloud services like E2B, Modal, or Daytona, which spin up isolated environments for agents to run code. People often use "sandbox" and "VM" interchangeably, though a sandbox usually implies something ephemeral and throwaway, while a VM implies something more persistent.
Skills - Reusable instruction sets an agent loads on demand for specific tasks. Usually a folder with a SKILL.md file and optional scripts. Rather than putting every rule into the system prompt all the time, the harness only loads a skill into context when the task needs it.
MCP - Model Context Protocol, a standard way for harnesses to connect to external tools and data sources like GitHub, Slack, or Notion. If a service wants to make its features available to agents, it can expose an MCP server (typically using OAuth), and any supporting harness can connect without custom integration code. The spec also covers resources, prompts, elicitation (asking the user for input mid-call), tasks, and inline UI apps, though in practice tool calling is the main feature most clients actually implement.
Hooks - Deterministic scripts or functions that trigger on specific harness events, like a tool call starting or finishing, a model responding, or an approval request. Unlike instructions in a system prompt, hooks are guaranteed to run every time to enforce rules, run checks, or inject context automatically.
Proactive Agents
Loops - Running agents in a repeating cycle instead of a single one-off prompt. On each pass, the agent checks the current state, does work, and evaluates the result. Some loops run until a goal is met (like Ralph loops working through a spec until tests pass), while others run indefinitely to optimize a metric (like Karpathy's Autoresearch) or keep a project maintained.
Cron - A scheduled timer that wakes an agent up automatically, like every hour or every morning at 8 AM. Normally, an agent finishes a task and sits idle until a human sends a new prompt. Instead, a cron lets it act proactively on its own, whether that is checking on ongoing work, sending reminders, or running recurring jobs. The term "cron" is borrowed from the classic Unix job scheduler.
Webhooks - Automated messages that external services like GitHub, Gmail, or Slack send to a server whenever something happens. They can wake an agent up in response to real-time events, passing along the details of the new PR, email, or message so the agent can act on it right away.
Multi-Agent
Subagents - Agents spawned by a parent agent, typically to handle a scoped subtask and return the result. Each can run on a different model or harness, with its own system prompt, tools, and independent context window, whether it starts blank or copies the parent's context. Because its context is managed separately, all of the subagent's logs and intermediate work stay out of the main agent's context.
Swarms - Multiple agents running in parallel that coordinate directly with each other instead of only reporting back to a single parent. Also called agent teams, they can share a task list, message peers, and divide up interdependent work.
Testing & Observability
Traces - The full step-by-step log of an agent run: every LLM call, prompt, tool invocation, tool result, latency, and token count. Each step is recorded in sequence, capturing the exact context the model saw at every point in the run. Traces are used to debug why an agent failed, since looking only at the final output reveals nothing about the intermediate steps that produced it.
Evals - Automated tests and benchmarks for measuring how well an agent performs across a set of tasks. Because LLMs are non-deterministic, evals are used to check whether changing a model, prompt, tool, or harness actually made the agent better. Outputs are typically graded with code-based checks for objective tasks or another agent/LLM acting as a judge for subjective ones.
Interfaces
Existing Channels (Slack, Discord, Teams, Email) - Tools that let agents talk through apps humans already use. Rather than building a separate chat UI for the agent, you give it access to Slack, Discord, Teams, email, or SMS so it works inside the same channels people are already in.
TUI - Terminal User Interface. A text-based app that runs inside your terminal instead of a browser. Claude Code and OpenCode popularized TUIs for coding agents because developers already work in the terminal.
ADE - Agentic Development Environment. A workspace made for running and reviewing multiple coding agents at once, like Conductor, T3 Code or Paseo. Unlike an IDE, which is built around typing code, an ADE is built around assigning tasks, isolating workspaces (like Git worktrees), and reviewing diffs.