# Owning Your Intelligence Starts With the Harness | Harrison Chase, LangChain <!-- ref: @content/youtube/sequoia/2026-08-13-owning-your-intelligence-starts-with-the-harness version: 3 updated_at: 2026-10-31T18:25:57.234Z --> Harrison Chase (Sequoia Capital (Training Data), 2026-08-13): An agent is made of three parts: a model, context, and a harness that orchestrates the two. Owning your intelligence means owning all three. **[Watch on YouTube](https://www.youtube.com/watch?v=HI2q3ci3Iuc)** *Synthesized from Harrison Chase on Sequoia Capital (Training Data), 2026-08-13.* Harrison Chase is co-founder and CEO of LangChain and has been building agent tooling around LLMs since the GPT-3 era in 2022. ## Core Thesis An agent is made of three parts: a model, context, and a harness that orchestrates the two. Owning your intelligence means owning all three. The harness is the most practical place to start. Harrison Chase argues that private evals and deep observability are what turn a harness into a compounding asset. They let you run a continuous loop: run the agent, collect traces, curate them, and improve the harness, the model, or the context. ## Key Insights - **Three parts of an agent:** harness, model, and context. - **Owning the model** largely means being able to switch models. Chase compares this to the old "cloud agnostic" idea: you avoid lock-in and can adopt the best model as soon as it appears. - **Owning the context** covers memory, semantic knowledge, and previous conversations. - **What a harness does:** it brings the right context to the model at the right time. It orchestrates fixed and dynamic context into the context window, takes the model's response, and acts on it. Calls to external systems produce new context that feeds back into the loop. - **The core loop is universal.** Nearly every agent today is an LLM running in a loop calling tools: 1. A request comes in. 2. The LLM generates a response, possibly including a tool call. 3. The tool runs, and its observation goes back to the LLM. - **Two LangChain harnesses illustrate the range.** - *LangChain* is a minimal base harness. - *Deep Agents* is LangChain's model-agnostic, general-purpose take on Claude Code. It adds file systems, skills, and sub-agents, all built on the same simple loop. - **Middleware is the customization lever.** You can insert code at these points in the loop: - before the agent is invoked - before each model call - around model calls - around tool calls The hooks and plugins in coding agents are the same idea. Sandboxes, file systems, sub-agents, memory, summarization, and context offloading are all added this way. Two examples: - **Summarization** runs before the model call: check whether the context is too long, then summarize it. - **Context offloading** wraps tool calls and dumps large tool outputs out of the context window. - **Explicit cognitive architectures still matter.** In 2023–2024 models weren't reliable enough to run in a loop, so teams built bespoke flows. Examples include a deep-research graph that generates sub-questions, fans them out, and executes them, and a step-by-step code review bot. Much of that logic now lives inside the harness, but tightly prescribed flows still use these architectures. - **Off-the-shelf vs. custom harness depends on distribution.** Off-the-shelf harnesses include Claude Code and the Claude Agent SDK (Anthropic models) and Codex (OpenAI models). - The closer your task is to what the model was trained on, the better an off-the-shelf harness will work. - The further out of distribution you go, the more you'll want to tune your own harness. - **Keep in-distribution sub-tasks close to the model.** Legal AI, for example, is out of distribution as a whole. But file editing is something every lab has RL'd its models on, and each lab did it differently. OpenAI and Claude models are each best at their own lab's edit style. - Deep Agents handles this with **model profiles**, which swap the edit-file implementation depending on which model is running. - The general rule: customize the overall harness, but keep sub-tasks the model already knows as close to its native tooling as possible. - **Satya Nadella's article sets the frame.** Chase cites three points from an article Nadella posted on Twitter/X: 1. Create private evals, because evals define what "good" means inside your organization. 2. Retain ownership of your memory, traces, feedback, decisions, and institutional context. 3. Build a continuous-learning, hill-climbing machine so AI investments compound. - **Harbor is becoming the standard eval runner.** It is an open-source tool from the makers of Terminal Bench 2. It runs agents (model plus harness) against a dataset of tasks, usually in parallel sandboxes. Results can compare harnesses, models, and reasoning efforts; Frontier Bench is one example. Each Harbor task contains: - **environment:** a Dockerfile defining the sandbox the agent runs in, which matters for stateful, long-running agents - **solution:** a golden solution used to sanity-check the task - **test:** the verifier, which can run code, unit tests, an LLM-as-judge, or an agent-as-judge - **instruction.md:** the prompt given to the agent - **Track more than accuracy.** LangSmith integrates with Harbor and shows reward scores alongside latency and token cost for each experiment and task. - **Most agent failures are context failures.** When an LLM call goes wrong, either the model isn't good enough or the context it received isn't good enough. Chase thinks bad context is the more common cause. Good observability shows: - what entered the context window - how that context accumulated - which steps and tools ran Message trajectories (the human message, tool calls, and responses) are central to this but not sufficient on their own. You also need full traces that show what happened inside each model call. - **The data flywheel recipe:** build the agent, run it, collect traces, curate the trace data, then run experiments on it. - **Two sources of feedback for the flywheel:** - **Environment feedback:** almost nobody clicks thumbs up or down. Chase says UX design is underrated because a cleverly designed interface captures feedback implicitly. - **Synthetic feedback:** online evaluators judge traces. Running Opus over every trace would be very expensive. LangChain fine-tuned small language models (SLMs) as cheap judges, an experiment done with Harvey. Off-the-shelf models with custom prompts, or plain code for simple checks, also work. - **Three improvement targets:** harness engineering for the harness, fine-tuning for the model, and memory for the context. LangChain focuses most on harness engineering. - **LangSmith Engine automates the flywheel.** It is a background coding agent with access to the LangSmith CLI, which can filter traces by feedback and other criteria. It uses a large prompt plus sub-agents to explore traces and find recurring patterns. It then creates issue boards, each issue with a description, links to supporting traces, and proposed fixes to prompts, context, instructions, or harness code. - **Benchmarks let you borrow from competing harnesses.** LangChain built "issue bench," a Harbor-format benchmark for Engine, and ran Deep Agents, Codex, and Claude Code on it. Codex aggressively wrote itself small scripts to run against traces, and that behavior made it perform well. LangChain then ran a "codexification" sprint to bring that behavior into Engine's own harness. Engine also reports on itself to Slack as part of dogfooding. - **Will harnesses converge?** Chase says he doesn't know. - General-purpose harnesses are now good enough for basic tasks. File system access and sub-agents are proven patterns. - Labs are converging on coding, yet still differ in small ways such as file-editing style. - If one lab pushes hard into a domain like bio, harnesses could diverge. - That uncertainty is exactly why measurement through evals and observability matters. - **Predictability can justify a custom harness even in distribution.** Financial-services customers often find a Deep Agents-style autonomous agent too unpredictable. They prefer a custom cognitive architecture they can control. Hooks and middleware sit in the middle of this spectrum. ## Actionable Takeaways 1. **Start with a general harness** such as Deep Agents, Codex, or Claude Code for the fastest time to value. Add gates, checks, and middleware only once you've narrowed in on the use case you need to excel at. 2. **Customize through the loop's insertion points.** Use before-agent, before-model, wrap-model-call, and wrap-tool-call hooks: - Add summarization before the model call when context gets too long. - Wrap tool calls to offload large outputs. 3. **Use the model's native tools for in-distribution sub-tasks.** Keep file editing in the style each model was RL'd on, switching implementations per model the way Deep Agents' model profiles do. 4. **Choose your point on the spectrum by distribution and control needs:** - off-the-shelf for in-distribution tasks - middleware or hooks for moderate customization - a fully custom cognitive architecture for far out-of-distribution or high-predictability needs, such as financial services 5. **Build a private benchmark in Harbor format.** For each task, write a Dockerfile environment, a golden solution, a test verifier (code, unit tests, LLM-as-judge, or agent-as-judge), and an `instruction.md` prompt. Run it in sandboxes across models, harnesses, and reasoning efforts. 6. **Score accuracy, latency, and tokens/cost together** for every experiment. 7. **Instrument full traces, not just message trajectories,** so you can tell whether a failure came from the model or from bad context. 8. **Design the UX to capture implicit feedback,** and add cheap online evaluators to judge traces: fine-tuned SLMs, prompted off-the-shelf models, or code-based checks. Avoid running a frontier model like Opus on every trace. 9. **Run the flywheel:** run the agent, collect traces, curate them, find patterns, and fix the harness, the model (fine-tuning), or the context (memory). Automate the curation and issue-finding step where you can, as LangSmith Engine does with the LangSmith CLI. 10. **Benchmark competitor harnesses on your own task** and port their winning behaviors into your harness, as LangChain did by adopting Codex's self-written trace scripts. ## Notable Quotes > "The main job of a harness is to bring context to the model at the right point in time." — Harrison Chase > "The more in distribution you are of what the models are trained on, then the better the off-the-shelf harness will be." — Harrison Chase > "Observability sounds basic, but I think it's really important and really underrated for agents." — Harrison Chase > "I think it's the second one that more often than not causes issues." — Harrison Chase, on bad context vs. weak models > "I don't know is the answer to the fast moving space — that's why evals and observability are important." — Harrison Chase --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*