CEOInterviews.AI
Start App
Harrison Chase
Co-founder & CEO, LangChain

Context Engineering Our Way to Long-Horizon Agents: LangChain’s Harrison Chase

📅 Jan 21, 2026 Sequoia Capital 39 MIN 117903 VIEWS 47 SEGMENTS · 2 SPEAKERS
Harrison Chase, cofounder of LangChain and pioneer of AI agent frameworks, discusses the emergence of long-horizon agents that can work autonomously for extended periods. Harrison breaks down the evolution from early scaffolding approaches to today's harness-based architectures, explaining why context engineering - not just better models - has become fundamental to agent development. He shares insights on why coding agents are leading the way, the role of file systems in agent workflows, and how building agents differs from traditional software development - from the importance of traces as th...

Questions asked in this interview

12
  1. 2:01What do you agree with? What do you disagree with?
  2. 2:59What are your favorite examples of long horizon agents and I guess what shapes you see them taking?
  3. 4:56And then how much of the why now do you think is the models themselves are just so good versus people are doing really smart things on the harness side?
  4. 7:09Is that the right way to think about what the harness is?
  5. 8:08And do you think individual companies can actually excel at the harness engineering side of things? Who do you admire there?
  6. 10:20Like what do you think that the guys at the top of the leaderboard are doing exceptionally well?
  7. 15:08And what's next on this arc?
  8. 16:55I was going to ask you are coding agents is that a subcategory or are coding agents just agents?
  9. 23:49Like do you think people can make the leap?
  10. 27:25What other core artifacts do you think are there?
  11. 32:46What are you most excited about?
  12. 34:32How do you think the UI around working with long horizon agents will evolve?
Harrison Chase 0:00 ↗
People use traces from the start to just tell what's going on under the hood. And it's way more impactful in agents than in single LLM applications because in single LLM applications, you get some bad response from the LLM. You know exactly what your prompt is. You know exactly what the context that goes in is because that's determined by code and then you get something out. In agents, they're running and repeating and so you don't actually know what the context at step 14 will be because there's 13 steps before that that could pull arbitrary things in. So like what exactly is everything's context engineering? Context engineering is such a good term. I wish I came up with that term. Like it actually really describes like everything we've done at LangChain without knowing that that term existed. But like traces just like tell you what's in your context and that's so important.
Host 0:57 ↗
Welcome to Training Data. Harrison, you are our very first guest on Training Data and the AI space has moved so quickly in the 18 months or so since we originally interviewed you and so I'm delighted to get you on the show today. Topics of the moment. I think there's nobody better than you to talk about some of these topics. We're going to talk first about long horizon agents and agent harnesses. Pat and I had this blog post on this yesterday. I know this is something that you are deeply fluent in. And then we're going to talk about what's the difference between building long horizon agents versus building software and the role that you see LangChain playing in that ecosystem. And then finally, I just want to chat with you about the future. I think you single-handedly, you know, kind of saw the agent opportunity I think before anybody. You know, we were back in the GPT-3 days and I think you see the future for what's happening with agents and so I'm just excited to chat with you open-endedly about the future as well.
Harrison Chase 1:46 ↗
I am really excited as well. Thank you guys for having me back. It's quite an honor. I'll tell my mom again that I'm back on the line.
Host 1:53 ↗
Wonderful. Okay, let's start with long horizon agents.
Harrison Chase 1:57 ↗
Yes, that was a great term. You guys wrote a great article.
Host 1:59 ↗
Sony's good at naming things.
We're not going to get into the backstory there. What do you think? What do you agree with? What do you disagree with?
Harrison Chase 2:06 ↗
I mean, I agree that they're starting to finally work. I think like the idea of running an LLM in a loop and just having it go was always the idea of agents from the start. AutoGPT was basically this and this is why it took off and captured so many people's imagination because it was just an LLM running a loop completely deciding what to do. The issue is the models weren't really good enough and the scaffolding and harnesses around them weren't really good enough and I think the models got better. We learned more about what makes a good harness over the past few years and now they start to like really really work and you see this in coding first and I think that's the domain where they're taking off the most and that's spreading to other domains but you can give a task to an agent and you still need to communicate to it what you want it to do and it needs to have the right tools and all of that but it can actually operate for longer and longer periods of time and so that yeah the long horizons kind of like framing of it I think is really really apt and really really good.
Host 2:59 ↗
Awesome. What are your favorite examples of long horizon agents and I guess what shapes you see them taking?
Harrison Chase 3:05 ↗
So, coding is the place where there's the most. I think that's the one that I probably use. Yeah, that's the one that I use the most. Adjacent to that, I think like really good ones are AI SREs. So, Traversal I think is a Sequoia company and they have an AI SRE that operates over longer time horizons. Research in general, and I'd call like AI SRE kind of research, like they're taking an incident and they're going and digging through logs, like research in general is a really really good task because it ends up producing like a first draft of something and the issue with agents is they aren't like reliable to 99% of reliability but they can do a ton of work and more and more work over longer time horizons. So if you can find these framings where they run for a long period of time but produce like a first draft of something, those to me are like the killer applications of long horizon agents right now. So like coding, coding is an example of that. Like coding you usually put up a PR, you don't directly push to prod unless you're vibe coding which is also starting to get better and better. AI SREs usually surface it to a human who comes in and then reviews it. Report generation, you don't send it out to all of your followers right away. You look at it, you edit it. It creates like a first draft of something. So we see this in finance a bunch. This is a huge research opportunity. Customer support. We see a lot of things pivoting from kind of like the initial customer support was like first-line response, like someone messages you, you just respond really quickly and there's still that and that's going great but now there's examples, K is a great example of this, where it's like humans and AI working together. When the first line fails you escalate to a human, you don't just have the human handle it, you have this long horizon agent run in the background, produce a report of everything that happened and then hand it off to the human agent there. Agent starts to get confusing in customer support. So I think the killer use case of all of these is places where you have like this first draft type of concept.
Host 4:56 ↗
And then how much of the why now do you think is the models themselves are just so good versus people are doing really smart things on the harness side?
And maybe even before we get to that, can you say a word for our listeners on like how you frame the harness versus the model in terms of the actual composition of an agent?
Harrison Chase 5:14 ↗
Yeah. So and I'll maybe bring in like framework as well because I think early on, I mean that's how we describe LangChain as, that's what LangChain is, it's an agent framework and now we have Deep Agents which I'd call an agent harness and we get asked about what's the difference. So a model is obviously the LLM, tokens, messages in, messages out. The framework would be abstractions around that, so making it easy to switch between models, adding abstractions for other things like tools and vector stores and memory and things like that, but pretty like unopinionated about what goes in there. More values are more like batteries included. So when we talk about Deep Agents we're talking about we actually give it a planning tool by default. So it has a tool that comes built into the harness. That's pretty opinionated that like this is the right way to do things. We do compaction. So you have these long horizon agents. They're running for long periods of time. Context windows are larger but they're still not infinite. And so at some point you need to compact that. How do you do that? There's a lot of research going on there right now. One of the other sets of tools that we and a lot of people are giving to these agents are tools for interacting with the file system whether directly or via bash and this is it's kind of tough to separate from the models because the models are being trained on a lot of this data as well. And so there's this kind of evolution between like I don't know if we could have known that like these file system based harnesses are the best thing at like if we go back two years ago I don't think we could have known that because models weren't really being trained on that as much as they are now and so they're kind of evolving together. So I think it's like a combination of things. It's the models absolutely are getting better. Reasoning models are helping a lot. But it's also the fact that we're figuring out all these primitives around compaction and planning and these file system tools being really useful. And so I do think it's a combination of both.
Host 7:09 ↗
I remember in that very first episode we did together, you know, you described LangGraph I think as almost the cognitive framework of the agent. Is that the right way to think about what the harness is?
Harrison Chase 7:24 ↗
Yeah, I think that's right. Yeah, so we build Deep Agents on top of LangGraph. It's one particular kind of like LangGraph instance. It's very opinionated. It's more general purpose. And so I think early on we talked about general purpose architectures and more specific architectures. And what we've seen is that a lot of the specificity for tasks previously that might have been in LangGraph because you needed to put more structure on the models. Now that specificity is moving into the tools and the instructions. So there's still the same level of complexity. It's just in natural language. And so prompting and editing those prompts and maybe automatically updating those is becoming a part, but the harness is remaining a little bit more fixed.
Host 8:08 ↗
What's the hardest thing to get right on the harness side? And do you think individual companies can actually excel at the harness engineering side of things? Who do you admire there?
Harrison Chase 8:18 ↗
I think a lot of the companies that are doing the best harness engineering are coding companies. Honestly, I think that's the place where it's taken off a bunch. I mean you look at Claude Code. I would argue a big reason for the popularity of Claude Code is the harness itself.
Host 8:35 ↗
Does that by the way imply that harnesses are better built by foundation model companies than by third party startups?
Harrison Chase 8:43 ↗
I don't know. So the next company I was going to mention is Factory which is another coding company and I think you look at the harness they've done there. AMP is another coding company has a really good harness. I think there's pros and cons. There definitely is some aspect of the harness being tied to a model. And maybe not just a specific model but a family of models. So like all Claude models, like Anthropic fine-tunes on some specific tools. OpenAI fine-tunes on different ones. So like I think probably when we were doing this last time we maybe talked about how prompts need to be different for one model versus another. Harnesses also need to be slightly different for one family of things versus the other. But there are similarities. All of them use the file system in some sense. So I think this is I actually don't know the answer to that. It's a really interesting thing. We see that a lot of the coding companies, everyone who's building a coding company is basically building their own harness right now. Yeah. And there's all these leaderboards and you can see it's actually kind of interesting if you go to Terminal-Bench 2, which I think is probably one of the more popular coding benchmarks right now. You can actually see they have like the agent harness and then the model and so you can see the variation in performance and Claude Code is not at the top of that. So there's differences but I think it doesn't necessarily mean that the model labs are better at it. It just means that you have to understand how the models work and people who look at what makes a harness tick around the model can get some performance gains there.
Host 10:20 ↗
What do you think goes into, you know, making the harness tick? Like what do you think that the guys at the top of the leaderboard are doing exceptionally well?
Harrison Chase 10:26 ↗
I think part of it is definitely understanding like what tools the models trained on. So I think OpenAI trains really heavily on Bash. I think Anthropic has an explicit kind of like file editing tools and so I think leaning into that is part of it. Compaction is becoming more and more of a thing. So especially as you start doing longer horizon tasks like you start to fill up the context window and so what do you do there is a really big question and there's a bunch of strategies for kind of like approaching that. I'd argue that's part of a harness. I mean, so all of these harnesses also this is where like skills and MCPs and sub-agents start to come into play as well and you can use those in like different ways and I don't think a ton of like skills or sub-agents are trained into the models yet like those are still pretty new. Yeah. And so like one of the things that we see in our harness is like when you have a sub-agent the main model needs to communicate with it like well it needs to give it all the appropriate information. It needs to let the sub-agent know that it needs to like give it its final response out. So like we would see some failure modes where the sub-agent because basically what happens is you kick off the sub-agent and then only the final response is passed back to the main agent. And so we'd see some failure modes where the sub-agent would do a bunch of work and then it would be basically like look at my work above and then you know pass that back to the main agent and it can't see it and it's like what are you talking about? And so like that type of like prompting to get these pieces to work together is a big part of it. So like skills, sub-agents, MCP, there are like prompts in all of these harnesses that make them work well or don't make them work well. And they're hundreds of lines long if you look at some of the ones that are out there.
Host 12:03 ↗
Can I ask you a question on how this has evolved and since you've always been really kind of on the bleeding edge of what are people doing around the models to make them work in the real world, right? If we think about in our simplistic view on like what the big inflection points over the last five years have been, feels like there was a big inflection point around pre-training when ChatGPT came out. Feels like there was a big inflection point around reasoning when o1 came out. Feels like just recently there's been a third big inflection point around these long horizon agents with Claude Code and Opus 4.5. In your world, the world of all the stuff around the models that makes them work in the real world, would you have a different set of inflection points? Like what have the major changes been? I remember we talked about cognitive architectures a couple years ago and now we're talking about frameworks and agent harnesses. Like what have the major leaps in sort of the design around the model? Yeah. What have they been?
Harrison Chase 13:00 ↗
So I think there's maybe like three eras I would say. I'd say like early on and this is when LangChain was just started like these were still the raw like text in text out like not even chat-based models. And so they didn't have any of the tool calling. They didn't have any content blocks, any reasoning at all. They were really just like really really basic. And so the things that people were doing were mostly like single prompts or like chains. And it wasn't even possible to do anything like that complicated. Then a lot of the model labs started training in a lot of like the tool calling into the models and they got really good at kind or they tried to make them good at like thinking and planning and they still weren't they still weren't good yet. They sort of weren't good as they are today. But they were good enough to like decide what to do. And this is where like the custom cognitive architectures would come in more into play because you'd ask it explicitly like what do I do here? But it was like a very like point in time and then you go down this branch and then like what do I do here? And maybe there's a loop and there started to be some loops but it's still a little bit more kind of like scaffolding around it. And then there was an inflection point and I don't know where exactly that was. I would say I think we noticed it probably in like June July of this year where we saw Claude Code taking off, Deep Research taking off, Manus taking off and these all use the same architecture under the hood of just the LLM running in the loop but like cleverly like a lot of harness is context engineering like everything around compaction, context engineering, sub-agents, context, skills, context engineering. So we basically saw them using the same core algorithm but making just like improvements on context engineering and we're like oh that's interesting that's pretty different than before. And so that's when we started working on Deep Agents. I think for a lot of people in the coding community, I think probably like Opus 4.5 was when they started to like really feel this. It might have also just coincided with winter break when everyone went home and started using Claude Code and realized how good it was. But I think like around like November, December like I think there's has been this like at least I sense a pretty big like vibe shift in like people just like yeah you throw hard problems at these things and you get long horizon agents. And so I don't know whether it was early 2025 or late 2025, but at some point the models got good enough and that's when we moved from like scaffolds to harnesses.
Host 15:08 ↗
And what's next on this arc?

23 more exchanges in this transcript

Sign in free to read the rest of this interview. No card required.

Sign in to read the full transcript

Cite this transcript

APA, MLA, BibTeX
APA

Chase, H. (2026, January 21). Context Engineering Our Way to Long-Horizon Agents: LangChain’s Harrison Chase [Interview transcript]. Sequoia Capital. CEOInterviews.AI. https://ceointerviews.ai/interview/3085118/

MLA

Harrison Chase. "Context Engineering Our Way to Long-Horizon Agents: LangChain’s Harrison Chase." Sequoia Capital, 21 Jan. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3085118/.

BibTeX
@misc{chase2026_3085118,
  author       = {Harrison Chase},
  title        = {Context Engineering Our Way to Long-Horizon Agents: LangChain’s Harrison Chase},
  howpublished = {Interview transcript, Sequoia Capital. CEOInterviews.AI},
  year         = {2026},
  month        = {jan},
  url          = {https://ceointerviews.ai/interview/3085118/},
  note         = {Speaker-attributed transcript with timestamps}
}