CEOInterviews.AI
Start App
Get an email when Harrison Chase gives a new interview
One email per new interview. Unsubscribe in one click.
Harrison Chase
Co-founder & CEO, LangChain

Building agents that improve over time | Harrison Chase CEO at LangChain, Runtime 2026

📅 Nov 02, 2026 Modal 19 MIN 1784 VIEWS 29 SEGMENTS · 1 SPEAKERS
How do you build AI agents that keep getting better after you ship them? At Runtime, LangChain co-founder and CEO Harrison Chase breaks an agent into three layers (the model, the harness, and the context) and walks through how each one can improve over time. He covers when to use SFT vs. RL to update model weights, how to improve harness logic by mining traces for failures, and why context is the easiest layer to update. He also explains why traces and evals sit underneath all of it, and why “evals are the new PRD.” Along the way he demos LangSmith Engine, SmithDB, and automated red teaming f...

What Harrison Chase said

Written from the verified transcript and checked against it. Every figure links to the moment it was said.

Harrison Chase, CEO of LangChain, presented a framework for building agents that improve over time, structured around three core layers: the model, the harness, and context. He argued that agents improve through manual iteration, semi-automated processes, and eventually fully automated continual learning loops. Chase discussed techniques like SFT and RL for model updates, highlighted LangSmith Engine for automating harness improvements, and cited Hex and Profound as examples of context-level updates. He emphasized the importance of traces and evals as foundational to all improvement methods, introduced LangSmith's trajectory format and SmithDB for storing trace data, and previewed upcoming AI-based filtering using decision models. He also discussed red teaming as a method for identifying agent failures, noting its reliance on simulated environments.

Key takeaways

  1. Agents are composed of three layers: model, harness, and context, each improvable over time.
  2. SFT is best for simpler tasks like classification and summarization, while RL is more powerful for core agent loops.
  3. LangSmith Engine automates harness engineering by analyzing traces and suggesting fixes, still with human oversight.
  4. Context updates are easiest and can be done at user, org, or global levels, often automated.
  5. Traces and evals are the core of improving agents, with traces being a new type of data requiring specialized storage and querying.

Chapters

  1. 0:00Definition of an agent
  2. 2:52Improving the model layer
  3. 5:21Improving the harness layer
  4. 6:44Improving context layer
  5. 10:06Traces as new data type
  6. 15:38Evals and red teaming
Harrison Chase 0:07 ↗
Well, thanks for that intro. So, I'm going to talk about building agents that improve over time. And so, this is a little bit more of a researchy but still kind of applied talk. And so, it's one that I'm very excited to give. So, I want to start with kind of like a basic overview of how we think about what an agent is, because if we're going to improve this over time, we should have a shared definition of what it is. And so, of course, there's the model at the center of it. And there's a bunch of different models that you can choose from, and some are open weight and some are behind APIs.
The next layer that we think exists is the harness. And so, this is the thing that takes the model, connects it to the outside world. This is a concept that's really evolved over the past year, year and a half or so, where basically coding agents started taking off, and they started in Claude Code became incredibly popular because not only of the model that was really good, but because the harness around it that was in Claude Code. And so, what was in that harness? Things for dealing with context, things for dealing with skills, ways to persist things to file systems, ways to run code. All of these are actually very general purpose things that we see people using to build agents that aren't just coding agents, that go beyond that. And so, this shape of a harness has become something that we think is very general, and we think agents in the future will all be built on top of a harness that looks similar to Claude Code, similar to Codex. Eric mentioned deep agents, that's our harness that we're building that's model agnostic and open source. And so, we think this is the second kind of like piece of what makes up an agent.
And then the third piece is context. And so, this is what the harness connects the model to. The harness provides ways to read context, write context, update context, search context. And so, these three layers are what we think make up agents. And this is a little abstract and high-level, but these are the three core layers that we think exist. And so, when we talk about how agents improve over time, there's a few different kind of like dimensions they can improve on. They can improve on any of these three different dimensions.
And they can improve in different ways as well. So, when I'm talking about agents improving over time, first they can just improve manually. Like the biggest job of an agent engineer, in my opinion, is to take the start of an agent and iterate on it until it becomes good. Basically, every first version of an agent that is launched is not good enough. And so, there's a lot of iterations to make it really good. And a lot of this is really manual right now. The next stage of this is you start to automate some parts of it. And so, you still have a human in the loop, but you use AI to speed up some parts of these. And then, of course, the holy grail is kind of like a fully automated continual learning loop. And that is definitely sci-fi and in the future, but I think a very good North Star to work to. So, let's talk about the model a little bit, because this is the first part of the agent that can improve over time. And so, models improve by updating the model weights.
And so, you know, agentic systems are not just one model either. There's usually an assortment of these different models. There might be a core model that's driving the harness. There might be a bunch of smaller models, like decision models, at various points doing guardrails. And all of these make up the harness. And any of these can be updated. This is usually a human initiated process. So, right now we see humans going in. And the reason for that is it's generally pretty time-consuming. There's different techniques, SFT versus RL. But these techniques are generally pretty time-consuming and they can go wrong. So, it's usually human initiated to do a lot of data curation and then kick off these techniques.
SFT is one of these techniques. You basically take a bunch of traces or trajectories of agent runs that have kind of worked. You filter down to the ones that are good examples. And then, honestly, these days you can use a bunch of managed SFT offerings off the shelf or do it yourself on Modal and get to a model that's tuned on top of one of the base open weight models that exist out there. This is really good for a lot of simpler tasks, like classification, summarization, and extraction. And that's primarily where we see people doing it today. So, maybe not for the core model that's driving the agent, but for some of the guardrails or sub agents or things like that. But it absolutely can also be used for the main agent itself. It's just generally a little bit better to use something like RL for that.
Speaking of kind of like this SFT style stuff, we have something that we launched — when did we launch it? A week ago — to make this as easy as possible. And so we have a product called LangSmith which stores traces. I'll talk about traces more later on, but we want to make it really easy to do this style of kind of like SFT. We think evolving agents through updating model weights is really interesting and where the future is going, and so we want to make it as easy as possible to experiment with that.
I mentioned RL, and so RL is generally a more powerful technique that we see people using when they really want to boost the performance of that core agent loop. In order to do RL you need an environment. You need this environment in which you can run the agent. You need a way of judging whether runs are good, and so you basically run the agent over a bunch of different inputs, score those runs. This is generally harder. We don't see a ton of off-the-shelf offerings, and so doing it yourself on top of something like Modal is probably the best thing that exists out there today. This is good for more complicated agents, but it's generally a lot of work. And you can combine this with SFT as well. So you can do SFT to get the model to a certain baseline and then improve after that. And so this is pretty much how we see people improving the model.
I want to talk about improving the harness next. So when you improve the harness, what are you doing? You're making core changes to the harness. This generally involves the code that is running the agent, the tools that it has to access, the base system prompt, and some things like that. When you're doing that, the general process is look at a bunch of traces, identify issues, and then make changes. And I'm being very kind of like general about it, but because there's a lot of nuance in there that would be too complicated to kind of put here, but that's the general process. Look at traces, see what the agent did, identify issues, make a bunch of changes. And this is still pretty human in the loop. Like if you're making changes to the core code of your agent, you're going to want to be reviewing that code. We don't see people making these code changes in an automated way and pushing them into production.
We've been experimenting with this a lot at LangChain. One of the things we launched that does this is LangSmith Engine. So, LangSmith Engine is basically a deep agent in a sandbox. We give it the LangSmith CLI, which is a tool for looking at traces. We give it a bunch of different sub-agents and skills and prompts, and we basically tell it to do this loop. We tell it to pull down traces, look at them, cluster them, run sub-agents over them, and then based on issues that it finds, it can actually suggest fixes, adding things to data sets, adding evals. And so, this is an example of kind of like trying to automate. It's still a human in the loop process. We surface these as suggestions to users, but this is an example of trying to automate that harness engineering in the background.
Lastly, I want to talk about context and updating context. And so, this is generally the easiest to update. This is usually just text that sits outside of the agent. And so, it's also easy to do this at different levels. So, updating model weights and updating harness code, this is generally done at the agent level. That's what we've seen to date. So, you're not going to do this at a more granular level because it's generally, again, hard, time-consuming, costly, can go wrong. You want to have really good evals. Context is more narrow scope. And so, you can do this at a more granular level. You can do this at a user level. You can do this at an org level. And you can also start to do it in kind of like a more automated way. So, this is a very similar process to how the harness is updated, but the context just applies at the context layer. So, it's a more limited kind of like blast radius, and because of that, people are a little bit more comfortable doing this in an automated way.
One of the people that I think does this the best is actually Hex. So, Hex has an agent — Hex is a platform for interacting with data. They have an agent that interacts over that data. They have something called a context studio. That context studio is a key part of their data offering. So, as you can see it down here, it's part of that unified context layer. And a key value prop of this context studio is that it improves with use. So, basically, what they do is a very similar process to what I described. They look at all the agent traces that users are running the agent to kind of see how users are interacting with it, what they're asking it, what it's doing, what it's discovering, where it's running to issues.
And then they basically surface up these suggestions for how to fix context and plug kind of like context gaps. You can see kind of like the changes that it suggests and how it will have impact. And it basically takes the work that the agent does, runs in the background, looks at traces and makes changes to context. This right now is done at the org level. So your org will have a Hex context studio. The context there will be different than LangChain's context. It's not at the user level, I don't believe. But that same type of process is something you can do. I think this is a pretty general pattern. Profound is another example. They have an AI marketer. They have very similarly named, I think, content studio. And it works very similarly. So it's constantly running in the background, synthesizing data, so these traces, but also third-party data, and synthesizing it into context, in this case brand records, that can be provided to the agent.
And so by collecting a lot of the interactions, that can actually update more kind of like preferences that individuals might need. So if you look down there at kind of like the copy there, there's a concept of kind of like personal memory and a profile. And so this is an example of doing it more at the user level.
We're thinking a lot about this as well. One of the things that we're doing to explore this is Open Wiki. What is Open Wiki? This is the idea of running an agent to create a wiki, which is a set of files. In this case, we're actually using something by Google called OKF, Open Knowledge Format, as a way to store these files, which has a lot of nice properties, including that you can visualize it as a graph and things like this. I think this general process of running the agent in the background, synthesizing either new events or agent interactions, and then updating context at either a global, an org, or a user level, will be a really really common pattern that we see.
So across these three different methods of updating the harness, I also want to talk about what is common across all of them, and I think there's two big things that jump out: traces and evals. And so, I think these are the core of improving an agent over time, whether you do it manually, whether you do it semi-automated, whether you start to fully automate it. They all rely on kind of like traces and evals in different ways. Again, whether you're doing it at the model or harness or context level.
And so, what are traces? So, traces are basically a record of what happens inside the agent. There's different kind of like scales of these. And so, for context, we have a product called LangSmith, which one part of it stores traces and visualizes traces. The different concepts around traces that we have: we have a concept of runs. These are things like single LLM calls. We have a concept of a trace, which is like a full invocation of an agent. We have a concept of threads, which basically stacks those traces, so it's a back-and-forth, a conversation. And then recently, one of the things that we launched is this concept of trajectories. So, one of the things that we noticed is that pretty much all agents follow the same pattern. They run in a loop, they call tools, they build up this list of messages. A trajectory is just — we basically take all these really complicated traces, parse them into a standard kind of like open trajectory format, and that format's very useful for then passing to downstream models, passing to downstream agents, passing to downstream post-training services. You can use it in a bunch of ways.
These traces and this observability needs to contain the exact inputs, the exact outputs, and the exact sequence of tool calls or other things that happened. And this is really useful again for whether you're post-training, so you'll want this to be the context, the data that you pass in, whether you're running an agent to debug, so you'll want the agent that's debugging to see all of the agent's interactions, or whether you're updating context as well. What tools is it pulling from? Where are pieces of context coming from? That's all really relevant.
Traces are a new type of data. And so, we think a lot about how you can store these traces, how you can ingest them efficiently, and how you can query them. And so, across those kind of like three dimensions, I'll talk about this a little bit later on, but we think a lot about how you can store them. We actually built our own in-house database to do this in a more performant way.
When we talk about ingesting traces, one unique thing about this type of agent data compared to like traditional observability is that this type of agent data — the things that you want to look for in there are oftentimes semantic in nature. You've got all this text data, all this multimodal data, and you want to look for things. And so as you ingest, you also want to have a process that extracts attributes, that does evals, that scores things as it comes in, because the failure modes of the attributes that you're looking for, they're not going to be things like error that might get tracked in like a traditional observability system. They're going to be semantic logic failures or things like that. So when we think of building a warehouse for your trace data, yes, you need kind of like a really solid database underpinning it. You also need this ingest time logic to start scoring it.
And then at query time, you're going to want to query it in really interesting ways as well. And so of course you're going to want to do like traditional things like how many tool calls are in this and stuff like that, but you're also going to want to query it in a semantic way. And so I'll touch on some more of these things later. And so again, like a lot of the difference of these traces really lies in the fact that this is a new type of data, and this new type of data is this text data that has all this logic in it, and that's what you're going to be searching and storing and querying over.
And so I mentioned SmithDB a little bit earlier. SmithDB is our database for storing this data in a really performant way. It's built for specific agent query patterns. So access on individual runs, full text search, searching on kind of like metadata paths. It's really really performant, and it's also one of the other really different things that we've seen between agent observability data and traditional observability data is that agent observability data contains a ton of sensitive information. And so you oftentimes want to have that in your environment. So SmithDB is built from the bottom up to support easily deploying in that way.
The other thing that I hinted at, and this hasn't actually been released, so this is a little bit of a preview. But you're going to want to query this data in interesting ways. You're going to want to ask basically semantic questions about the data that you get. And so if you know what those questions are going to be ahead of time, you can set up online evals or things that run over data as it comes in, and it will basically tag that with attributes, and then you can do kind of like traditional search and filtering over that. But what if you want to change what you're looking for in an ad hoc manner? So one of the things that we are going to launch soon — so hopefully this video doesn't come out before then — is basically this AI type filtering. So this leverages decision models. So decision models, you know, Gemini came out two, three weeks ago, really fast, really cheap. What we can do now is we can run a query, and then as the results are returned from the database, we can stream them back to the front end, and as they're coming back, we can run a decision model over each one, or more accurately over like the text representation of each one, and then search for specific things. So here you can see I'm just saying, show me questions about streaming, and it will filter basically in real time to questions that are about streaming, and so you can ask it other things as well. So this is a great example of how we think about building an observability platform for agents. The data that you need that you really care about is this new type of data that you want to store differently, ingest differently, and query differently.
I want to talk about evals as well. Evals are really important and are also needed for all the ways that you're going to want to improve your agent. So evals are the new PRD, they define what the agent should do. Agents can do anything. They're so general purpose, that's the beauty of them, but they shouldn't do everything. They should do what you want them to do, and so evals are a very good way to define exactly what you want the agent to do, and oftentimes there's disagreements among your team members about what you want them to do, and defining an eval that captures that behavior is a very good way to resolve that disagreement.
So this defines what good looks like as well. Good is hard to define for different domains, and so if you can capture an eval, that is a great way to kind of like gain consensus about what good looks like. But building evals is really really hard. You need to think about a lot of things. You need to think about what realistic inputs are. What would people actually ask to this agent? You can't oftentimes predict those ahead of time. You want to think about what a good answer looks like. Again, for very open-ended things, it's not obvious what that looks like. Maybe it's not even the agent's final answer that you care about most. It's actually the path of how it got there.
And then you also need to have kind of like a simulation environment to run these evals in. This is actually trickier than it seems. So we released some product that I'll talk about in a second around kind of like red teaming, probing the agent. And we went to a bunch of customers and we wanted to use it on their agent and they were like, "You can't do this because our agent is hooked up to production systems." And so having like a simulated environment that mocks out users and is able to basically run the agent against that simulated environment, very very useful, very very hard. I don't think a lot of people have this at the moment.
And overall, one of the big hard gnarly questions in evals is how do you figure out places that your agent messes up? And how do you do this? We're a tooling provider. How do we do this in a general way? We don't know all the domains that you all are building in. You all are building in very specific domains and we don't know what those are. So how can we provide a tool that basically tries to find where the agent messes up? This is an area that we're spending a lot of time on with our labs team. So we launched this last week as well. We had a conference last week. That's why we launched a lot of things last week. But it's red teaming. What does red teaming do? It takes an agent endpoint. It looks at the code definition of the agent. It looks at some traces, if provided, of how users are actually using the agent. And it tries to simulate a bunch of new queries and then identify ones that fail.
Some of these are kind of easy to tell if they fail. So a lot of agents have guardrails. You can pretty easily look at what the guardrails are, generate queries that are maybe at the edge of those guardrails, and then flag if the guardrail is not protecting against those. Others of them are much more nuanced. So we ran this against ChatLangChain, which is our chatbot over our documentation site, and it found a bunch of errors where the agent messed up, but in order to judge whether it was actually correct or not, I had to go in and get our open — and like, you know, I used to be an engineer. I like to think I know what's in our open source libraries, but even I had to go to a few members on our open source team and ask them to double-check kind of like my work to make sure that the agent actually found things. So, the red teaming is like there's a bunch of different types of red teaming. It's really — I think it's one of the most interesting things we're working on, but again, it relies on having this kind of like simulated environment.
So, in conclusion, how do you kind of build agents that improve over time? Again, like at a really really high level, it's kind of simple. You want an agent, you get feedback on those runs, you go into the traces, you see what happens, you then add that as an eval data point, and then you suggest some change to the agent, and then you basically see if that fixes the eval. Of course, there's a ton of nuance behind this. We think about that nuance all the time, and so if you're interested in talking about that nuance with us, more than happy to chat, please find me after, but that's all I've got for today. So, I'll hand it back.

Cite this transcript

APA, MLA, BibTeX
APA

Chase, H. (2026, November 2). Building agents that improve over time | Harrison Chase CEO at LangChain, Runtime 2026 [Interview transcript]. Modal. CEOInterviews.AI. https://ceointerviews.ai/interview/3190541/

MLA

Harrison Chase. "Building agents that improve over time | Harrison Chase CEO at LangChain, Runtime 2026." Modal, 2 Nov. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3190541/.

BibTeX
@misc{chase2026_3190541,
  author       = {Harrison Chase},
  title        = {Building agents that improve over time | Harrison Chase CEO at LangChain, Runtime 2026},
  howpublished = {Interview transcript, Modal. CEOInterviews.AI},
  year         = {2026},
  month        = {nov},
  url          = {https://ceointerviews.ai/interview/3190541/},
  note         = {Speaker-attributed transcript with timestamps}
}