Listen @ Apple Podcasts | Spotify. Every few weeks the AI world hands us a new buzzword, and most of them fade as fast as they came. But three keep coming up in every serious conversation about AI agents, and they are harness, loop and graph. I kept seeing people use them as if they meant the same thing, so I dug into how the teams actually building these systems, like LangChain, a company that makes popular open source software developers use to build AI agents, and Anthropic, define them. It turns out they aren’t three names for one idea. They’re three different jobs, and each one fixes a different kind of failure. To see why that matters, we first have to look at how the way we use AI is quietly changing. 1. The Shift From One Prompt to Many Agents 1.1 One task, one prompt Think about how most of us use AI today. You open ChatGPT, Codex, Claude Code or Grok, type one question, get an answer, and then type the next one. It’s one task, one prompt and one answer, and then the AI sits there waiting for you. For one person asking one thing at a time, that’s all you need. There’s no harness, no loop and no graph involved, just a smart model and a chat box. 1.2 Many jobs at once Now picture something bigger. A startup asks Codex to work on five web pages at the same time and send back a short summary of what changed on each one. Or think of a personal AI assistant that looks after your calendar, your fitness plan, your doctor appointments, your marketing emails and a dozen other things, all for one person and all the time. Suddenly it isn’t one prompt anymore. It’s many prompts, many questions and many jobs, and most of them are running at the same time. So how do AI providers handle that? They create agents, where each agent is a separate worker with its own task. It’s a lot like having five employees in one office, each doing something different at the same time. But five employees can’t get much done on their first day if there’s no office. They need desks and tools, files to work from, keys to the right rooms, and someone to tell them what they’re allowed to touch. That office is the harness. 2. What a Harness Is 2.1 The office around the model LangChain sums it up in one line, saying an agent is the model plus the harness. The harness is every piece of code, configuration and logic that isn’t the model itself. We spend so much time comparing models and arguing about which one is the smartest, but think about what a model can actually do on its own. It can’t save a file or remember yesterday’s project. It can’t run a test, open a browser, ask for approval or restart a job that crashed. All of that comes from the office around it. Here’s a quick way to see it. Take your system diagram and erase the model, and whatever is left on the page is your harness. 2.2 Same model, different results This also explains something that confuses a lot of people. Two teams can use the exact same model, and one gets great results while the other gets garbage. The difference is usually in their offices. The first team gives the model clean tools, a stable workspace, clear permissions and a record of everything it does. The second team gives it a vague prompt and a shaky API connection and hopes for the best. It’s the same brain working in very different conditions. So when someone asks which model is best, that’s only half the question. The other half is what office you put it in, which brings us to what’s actually inside a good one. 3. What’s Inside a Harness A good harness comes down to three things, which are what the agent knows, what it can do, and what it’s allowed to do. 3.1 What it knows * Context is everything the model sees before it starts, like instructions, facts, past conversation, skills and the rules for the task. * Memory is what survives after the session ends, such as files, progress notes, checkpoints and git history. Without memory, every session starts from zero. Imagine an employee who walks in each morning with no notes from yesterday, and you get the idea. 3.2 What it can do * Tools let the agent act through APIs, browsers, shells, code runners, databases and MCP tools. * Sandboxes give it a safe, separate space to run code without breaking anything it shouldn’t touch. * Control sets the limits, like timeouts, retries, budgets, which model handles which job, and when to bring in a helper agent. To make this real, go back to the personal assistant. When it books your dentist appointment, it uses a calendar tool to find a free slot and an email tool to confirm it. If it needs to run a bit of code to compare three clinic options, the sandbox lets it do that without touching your real files. And control makes sure it gives up after a few failed tries instead of hammering the clinic’s website all night. 3.3 What it’s allowed to do * Permissions decide what the agent can read, change or send, and what needs a human to say yes first. * Secrets keep API keys and passwords away from places they could leak. * Tracking records every action with its inputs, outputs, cost and time, so when something goes wrong you can see exactly what happened. Now picture the same assistant drafting a marketing email to your whole customer list. Permissions decide whether it can hit send on its own or has to wait for you to approve it first. Secrets keep your email password locked away so it never ends up inside a prompt or a log. And if a customer complains about a strange email next week, tracking lets you go back and see exactly what the agent sent, when, and why. Put those three together and you have an office where agents can actually get work done. But how do you know when yours needs fixing? 4. When You Need a Better Harness 4.1 Warning signs The harness is the first place to look when you notice any of these signs in your agent. * It can’t reach the data or tool it needs, or it can reach far too much. Your assistant can’t see your calendar, so it double books you, or it can read every file on your laptop when it only needed one folder. * It forgets what it did in the last session. Yesterday it planned half your week, and today it starts planning from scratch. * It can’t recover cleanly after something breaks. The clinic’s website times out once, and the whole booking job just stops with nothing saved. * It works in one environment but not in another. Everything runs fine on your laptop, but the same agent fails on the company server because a tool is missing there. * It leaves no record you can check afterwards. An appointment gets cancelled and nobody can tell whether the agent did it or not. None of these get fixed by a smarter model or a longer prompt. They’re office problems, and they need office fixes. 4.2 A real example from Anthropic Anthropic ran into exactly this when they asked Claude to build a large web app across many sessions. Each session had a limited memory window, so every new session had to pick up where the last one left off. At first that didn’t work well. Summarizing old conversations wasn’t enough, so the agent would either try to build everything at once or announce it was finished when it wasn’t, and the next session would show up with no idea what was actually done. The fix wasn’t a better prompt. It was a better office, built from two parts. * An initializer agent runs once at the start and sets up a full feature list, a progress file, a git repository and a start up script. * A coding agent handles every session after that. It first reads the progress notes and the git log, checks that the app still works, builds one feature at a time, commits it with a clear message, and only marks a feature as done after testing it. Anthropic describes this as copying what good software engineers already do every day. The model stayed the same, and the office got better. 5. Key Takeaway and What’s Next If you remember one thing from this post, let it be that the harness is the office your AI works in, with its tools, memory, rules and records. When an agent fails, check the office before you blame the brain. But a great office doesn’t… This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit signaldrifts.substack.com