0:14Justin: I'm here today with Jacob Dedel. Jacob, thanks so much for doing this. And I was saying to you, uh, when we chatted earlier, you know, you, uh, have just been popping up in my LinkedIn feed for the past, uh, probably the past few years, and I really love how, um, you, it feels like you take a very methodical, very experimental approach to this topic, uh, really trying to understand it from first principles and figure it out, so I'm really glad we can have this time together and just kinda dig into your knowledge in this area, which is, uh, context engineering. Jacob Dietle: Yep
0:44Justin: I just wanna get everybody onto the same place right now around, like, what is this? This term, you know, what do you interpret this to actually mean? Jacob Dietle: Yeah, I mean, well, number one, thanks for having me. I'm, uh, I'm excited to dive in. I think the big thing is stepping back. Like context mattered before AI or anything else like that. It's really like, does someone have the context, right? Do they know what's going on? Do they know why it's happening? Almost, right, the background information of a certain problem or scenario matters more, just as much, if not more than the actual specific question. And then context engineering, I think of it as the explicit kind of
1:16information architecture design of doing that over and over and over again. Um, so I can give you more spec-specific examples, but I think kind of reframing that and using stories of like, you know, does Justin have the context on this, is, is big. And then turning that into like, almost like a machine-readable explicit format. 'Cause we use our intuition a lot for context, but AI doesn't have intuition, right? You can't assume that it'll go figure it out. So you have to give it, "Well, this is how you would go figure it out." Uh, a good example is like think of if you had to drop somebody with
1:47no context into your business, and tell them to go solve a problem. They'd probably fumble around a lot, right? That's even a very intelligent human being with intuition to go figure out, "Oh, I should probably go look in the CRM or do this or do that." AI has no intuition. It has no way to like, kinda like self-solve or help. You have to give it explicit machine-readable context Justin: You know, it's funny that you compare it to just like the human version of context, 'cause I hadn't actually even really thought about it that way Jacob Dietle: Yeah. Justin: explicitly. But that makes complete sense, 'cause an LLM, it's like stateless, right?
2:18It's just waking up like out of a slumber with all this brain power but no knowledge of what's going on, only knows what you Jacob Dietle: Exactly Justin: How much of, how much of the engineering part is actual engineering or is that just like a, term that we, put on it? Like is there a, an engineering component to context Jacob Dietle: Yeah. I mean, I, I treat it as an engineering discipline. Uh, I think of it as… So there's a long story. The long story of, like, computing is you start with, like, one medium of, like, punch cards, and people are like, "Man, punch cards w- were really bottlenecked. We're having to, like, manually arrange these punch cards, these zero and ones.
2:51It'd be really nice if we had a system that sat on top of it, and I could like s- you know, put into that system, uh, that was worth 35 punch cards, like one line or one line of code or whatever," right? So the long li- long history of computing is, like, we keep on adding these new layers that, like, you and I never write C, right? We never write in C++ or all these lower level languages. now it's people aren't even writing explicit like TypeScript or Python or Rust or whatever. They're writing in plain English. But you still have to think through these problems structurally and with an engineering mindset -- and instead of it being, you know, TypeScript service, it's
3:25the plain English specification, right? But you still have to think of it as an engineering problem Justin: to make it concrete, to make it real for everybody, uh, is there an example that you've either encountered or can think of, of like good context, bad context? Or like what, what is the difference that context actually makes like to emphasize why this is so important? Jacob Dietle: Yeah. I think an easy one is like, let's say you're taking a sales transcript and you're just be like, "Hey, let's pull out," um, a super, super question is like, "All right. Let's turn this into a, a next step or scope of work, or what are the
3:57sales objections in this thing?" If you're going into like a, a base ChatGPT or whatever language model you're using, and it knows nothing about your business, it's gonna give you the most generic answer possible. And really that's what this, the whole context thing about is about, especially in knowledge work like go-to-market, it's so you're not starting from generic and so having to re-explain yourself over and over and over again to the AI. 'Cause let's say your business has a very specific way of… like every single business, right? You have a very specific way of processing, um, you know, doing
4:29customer success or delivering a service or anything else like that. And the more you can like define the explicit way you want things done, just like if you were talking to a human being of like, "This is how we do scopes of work," or, "This is how we do, um, you know, our master service agreement," right? That formatting is context. That explicit way of how we do things and why we do things is context. And the-- that's then that gets into a skill, and that's why people create skills to make sure the language model always knows or the agent always knows, okay, um, these are our code, you know, style guidelines, or this
5:02is our content scout style guidelines or whatever that end process is. Think, think, thinking through that process and like kind of breaking it up into its atomic parts is, um, a large portion of context and sharing Justin: In a lot of ways, like, feels familiar to me from, like, a, a systems and an operations perspective, Jacob Dietle: Exactly Justin: lot of the thing that we're concerned about is, like, maintainability problem, it's a scalability problem, it's a knowledge capture problem. Jacob Dietle: Yep. Justin: that most people start this… I'm sure we've all done this. Like you, all right, you create a ChatGPT project or a Claude project,
5:35and you, like, upload some stuff there, and you're like: "Oh, no, this is-- I can't share it very easily. It's getting stale." And maybe you, like, start building out your local little universe. But then at a certain point, you're like: "I need this to scale across the company." And this is where this idea of, like, I think you call it a context OS, right? You see on, on X, like, people talking about company brains, and it's really hard, I find, to, uh, differentiate, like, there's something really real here or no, this is just the latest sort Jacob Dietle: The whole thing. Justin: that Jacob Dietle: yeah, yeah Justin: about.
6:06Like, maybe just talk about it at, like, when do you graduate into that thing? What is that thing? And, um, and why does it really matter? Jacob Dietle: Yeah, I think before we get into that, just to give people like all the buzzwords I see of it so they can identify like, okay, that's kind of what we're talking about. First principles. It's like AI company ran context layer, LM wiki. I think those are the big ones, right? My version is a context OS is what I happened to create. But I really, what I think is gonna happen is you have all of this, Information that is, was previously like tribal knowledge or was trapped in sales call transcripts.
6:39Even if like before, like people didn't have sales transcripts, so it was even more trapped in like this intuitive understanding. and really what it is, is because AI can just 10X whatever you give it. If you give it a super, super clear, well-thought-out process, it can do that perfectly amazing 10 million times faster than you. But you really have to think of it. I think we underestimate how well-defined the context you give it is. And we're doing that just for one process, it's hard. But then doing that across all of the processes of your company, and it's a moving target, right?
7:10You don't-- Your, your assumptions around who your ICP is and how you write messages to them changes all the time. Your company's a living, breathing thing, the people in it. And then on top of that, the systems in between them are always changing. So I think going back to your original question is like, when do, when do you graduate? what's gonna happen is, is you're gonna see there's gonna be a few people in your company that are like super gung ho about experimentating, AI. And generally, unless you have like a top-down, you know, AI transformation initiative, which some, some companies do, some people, some don't.
7:42Those are the people that are actually gonna do the most advanced cutting-edge stuff. And they'll be like, "Hey, I'm using Cloud Code or Codex or whatever. You should try it because I can get far more done." And the reason you get far more done, the big breakthrough between, between like a regular ChatGPT or not, is all it is, is these tools where these, they have local agents, they can move information outside of the context window. The context window is just like the memory the AI, the AI has. So instead of being trapped with like, you know, a million tokens is the max, like, uh, it's kinda like RAM.
8:13That's a good analogy for people who aren't familiar. Um, it can move stuff out and then reference it back later. So that's how it kinda compounds on itself. and as you get this compounding, you get more and more things that you wanna do with it. And then you're like, "All right, Justin, you should use my go-to-market engineering dataset building skill." It's like, well, how do I get that skill to you? Do I send it to you in Slack? Yeah, maybe. But then it's then stuck. Then it's like, well, like, okay, there's kind of this ephemeral thing that's dangling, versus this is like software has been doing decentralized
8:45collaboration on code, using Git and GitHub and this whole software development lifecycle process of approvals, but effectively, it's like the better you govern your context and the more explicit you have a chain of like, "All right, this is why I made this decision, and this is how we used this skill to write this campaign," or ideate these ad sets or whatever, the better you can go back and say, "Okay, Justin, Jacob created these types of campaigns using these skills in their cloud sessions, and we got these results." And that it's really just about making it easier to run that scientific
9:18process of A/B testing or learning, Justin: What you, what you said to me, I'm like, all right, it, it addresses like shareability, it addresses, like how do we have a consistent way of doing things across multiple people where Jacob Dietle: Yep Justin: learning compounds. So it's like one important aspect of it. What I often see is, you know, if you, again, if you read on X, uh, these things, which are perilous waters to, to swim in, cause there's a lot of Jacob Dietle: There's a lot of noise, yeah Justin: A lot of noise. you see people making these massive things in, in GitHub that
9:48look like, you know, huge either relational databases or a series Jacob Dietle: I know what you're talking about. Yeah Justin: linking to each other. And I, I've, I've been going through this thought process myself recently because, we're, doing some work on our own, where I work at our own internal, AI stack. We have a very comprehensive, confluence and, and like Jacob Dietle: Yeah, I remember you telling me about it. Yeah Justin: you know, it's, it's well-structured, it's not perfect, but there's a lot there. And it's like, do I need to like take all this knowledge that we've already created and built in one place and like convert it into another format, into another place?
10:20Like, does it need to live in GitHub, or is that just sort of an artifice of like, it's a lot of engineers who are doing this in the first Jacob Dietle: Yeah. Justin: and, and so that's why it's there, but it doesn't really need to be there. Jacob Dietle: I would think of it as, so everyone's figuring this out, you know, this is a brand new thing. It's really, it's like what are your end business use cases you wanna solve for? And like testing, all right, well, what happens if I have the agent working out of Confluence instead of with local files, do I get the same or better results or worse? Like what is the thing? So much of it is like designing t- what's your end outcome?
10:51How do we test getting there? And then working backwards, like inverting instead of starting with this, we wanna build this whole thing. Start with outcome and work backwards from that. 'Cause really like, uh, most of these knowledge graphs are like kinda what I'm, what I work with clients on. It is this Markdown-based system, but fundamentally it's just a medium of collaboration. I've seen people do it in Google Docs. I've seen people do it in Notion. Um, there are now these emergent context layers for every, like for verticals. like there's going to be a lot of different ways to do this,
11:22The tools are always gonna be important, the specific tool chain. Really it's about the principles, and thinking about, all right, how can we apply these principles to the tool stack that we do have or can we, but that we can support to then solve for these outcomes? 'Cause there are some companies that are like, "Yeah, we built this insane, custom embeddings and retrieval and this whole really, really like beautiful, elegant engineering thing." But that's because they're like a team of, like I don't know, making it… They're 100 people and 99 people are engineers. Like of course they're gonna build something like that. But if your, if your org isn't gonna be able to support that, it's not
11:55worth the, the, the effort basically. - Justin: It's reminding me of like the whole debate around like a composable CDP versus a non-composable. Like ' cus- customer data platform, Jacob Dietle: it Justin: sometimes you would buy this whole thing, you would copy your data over into it, and then you would have this whole activation layer sitting on top of it there, versus a lot of companies started rolling out this idea of a composable CDP, which would sit on top of your warehouse. So essentially your data could stay where it is, Jacob Dietle: I see Justin: then they would roll this activation on top of it. Jacob Dietle: you Justin: And wondering like, all right, if you were coming in to advise us today,
12:26I'm like, "Look, I have all my docs already organized in, in Confluence. Is there a benefit in essentially copying them over into another system and like organizing them differently? Or would you, would you be more inclined to work with my docs like where they are and say, 'Yeah, let's just like kinda access this and just more like point it in the right direction?'" Jacob Dietle: I think the big thing I start with is like, it's usually never either/or. A lot of times it's, it's both and all of the above or some combination, especially for different people in the org. Like, I think of it as, um, like concentric circles of like who
12:59needs to be really working on the system and who needs to be s- maybe getting the benefit of the system. You know, at the very center, it is probably going to be you have your cloud code or Codex or whatever in the Confluence, and maybe be, you do need to be governing the org skills. So those are gonna be marked down because that's how those agents acc- access those. You wanna version control those using Git, and that often will mean GitHub. but maybe you do, you know, each scale is grounded or has a, you know, unique, unique identifier back to Confluence or something like
13:29that you can, like, a- associate across your s- different systems. and that's why I focus so much on the principles and thinking about like what is the most effective way to use these engineering principles to get value for the business? 'Cause you can spend… Like the, another big buzzword I, I fret speaking of the big ideas of, of, um, on, on Twitter and X is like you hear the word ontology a lot. Ontology is just, it's like a s- it's a school of philosophy where it's like, what are our, our entities in the world? In the philosophical sense, it's like, well, how do we ha-- What is the,
14:01what is reality structured of and like what are the entities in that? Right. Palantir made it very popular for their like ontology system for, you know, government military tracking. But the point I'm trying to make here is like people have been thinking about classification systems for like thousands of years, and there's no perfect one. So like find, just find a system that works for your given constraints, unless you wanna go be an ontologist and like that's your thing. Justin: That's a healthy, that's a healthy perspective. So I mean, like thinking about your concentric circles, if, if a company
14:32brings you in for a project, are you typically starting and saying like, "Let's just create your, context layer for like, outbound sales or for go-to-market," or like a, a, a narrow slice of the business? Or is it more a holistic project of like, "No, we're gonna build it company-wide," or, or can it be either/or? Jacob Dietle: It, this is something I, I go back and forth on. 'Cause usually what, what I've found is st- you start with a, a, a s- s- simple vertical, and you kinda use that to build out either to, like,
15:02other parts of the go-to-market motion or maybe other, other adjacent teams. The way I think of it is, like, all these context systems are very much… A good way to think about them is, um, like recipes. So, like, if you have 10 ingredients, right, you can make dozens of unique recipes reusing those ingredients. And you're gonna oftentimes in your kitchen, you keep the stuff that you reuse the most, right? So your eggs and your butter and your stuff like that. You can make bread and all these cakes and pasta and whatever, right, from scratch if you really need to.
15:33So if you think about context like that, it's like what is the stuff that our, all of our teams are going to need, or all of the go-to-market team is gonna need? It's like maybe if you have a super complex product, um, you probably wanna represent that very clearly in, in context because everyone can reference that in if they're doing product marketing or if they're doing, content writing The, the reason I like this system is 'cause it makes it easy to reuse and find the next thing. Like once you sit down and like do this for like an hour, you're like, "Oh, I've mapped like 80% of our like core business for maybe one team,"
16:04or something like that into, like, it compounds itself very quickly Justin: Do you like to start there? Like sort of like, all right, let's just get something out that is like maximally valuable and takes the least time and then build on there? Or is there a certain threshold of, of completeness that you need to reach? Jacob Dietle: Like any engineering problem, you get diminishing returns at a certain point. So I might-- I'd rather find like, "Hey, what like top three things we're gonna get value out of?" And that also helps me understand like, well, how does the business actually work? 'Cause all of these nuances and context is very, very good when you capture those nuances and can get those into, get them into the prompts.
16:38Like one thing, like I remember when I got like, uh, one of the systems I first got into their hands, they were able to find so many things about weird little niche like things customers were asking for that they didn't realize was a huge competitive advantage to like a different platform. just because they can sit with it and like you keep on pulling on the thread and the, the easier it is to pull on that thread and then capture that, oh, they like our platform more because we don't force them to sign up before starting to use it or whatever the example is, right? all those things when you capture them and then turn those into explicit context,
17:10it starts building on itself very quickly Justin: One that you just mentioned is interesting 'cause that's like… it's, uh, an insight, a s- a synthetic insight that you would gain from like let's say listening to multiple calls over Jacob Dietle: Yeah Justin: patterns. did that become part of their context layer? Like did you just provide all the calls and then through working with it people got that? Or was there some kind of like before it entered the context layer? Jacob Dietle: a, I have a process for ingesting like raw context, so to speak,
17:40and then turning it into that graph. the big thing there is like the first graph is never going to be like 100% right. And I tell, I tell my clients like, "This is work in progress. There's gonna be things that are wrong in there, and there's things you're gon- you're not gonna like. But in the process of building the thing, we're gonna, we're gonna iterate, on it a bunch and we're gonna learn a ton." And through that, it's like instead of having to listen to 10 hours of, of sales calls, right? And like to gather all these insights, it- we can do it in 30 minutes basically of… You know, it's, it's almost like a time compression.
18:11And the better you can compress without losing that information, the better. And that's what these systems are very, very good at. Justin: Graph sounds very cool. Like, what does it mean in this context? A graph of, of like that kind of Jacob Dietle: Yeah. The big thing is the graph is, is a means to creating a, chain that can ground the language model. So the example here, and like we're using the sales transcript one, is like if we have an insight that is customers like the-- our platform more because we don't force them to make an account before they start using it, anywa- that has to be
18:42grounded in some sort of claim somewhere. And that's where you get these relationships of this insight is from these specific lines in these transcripts that are also in the system. You don't really use those transcripts a lot. going back to like the RAM analogy, those are almost like your hard drive. It's like you have all the old, old stuff in there that you don't really need often, but you still need to be able to reference them. In RAM, you're like reading and writing from all the time. So you-- that's the full chain all the way back from, all right, all these transcripts, you know, let's say you started by asking the
19:13agent, " Here's the exact process I would use to go look for insights across our, our sales transcripts." And you can transcribe your exact process, think it through out loud, then turn that into a scale, and you have a bunch of sub-agents. And the sub-agents then will, though, connect those dots for you, generate that like intermediary graph layer, and then okay, then you go, "Perfect." This is the like grounded, verified, kind of like structure going from, "Hey, we wanted the, we wanted novel insights that we didn't have before," all the way
19:43through to the agents running across the whole thing with then verified claims in a grounded like provenance chain. Justin: what you're saying is shifting my perspective a little bit around what it is. Because to, to my earlier question that I was poking on around like, is it just taking my Confluence knowledge and moving it to someone else? So you, you may have in Confluence like, "This is our ICP, - here's our current messaging, here's our positioning." it-- And that may be based on that sort of analysis that you just described. But what you're talking about is actually coming in and producing new knowledge
20:15that didn't exist before for the company, and then representing that in a structured way, which is very different than just, "I'll take your existing stuff and make it agent accessible." Jacob Dietle: Yeah, that's actually good to think about it. I'm gonna steal that. I love the, I love the knowledge. You like just perfectly like compressed and made it so much more simpler. I love that idea. Yeah, I think that's really what it is, is like, it's like how do you quantify the value of knowledge or an idea? It's like everyone knows the right idea could be like worth everything, but it's very hard, um, until you see it in front of you.
20:46That's why what, what I find is like most people will-- like it'll click for them once they like pull it inside out themselves and they're like, "Oh, I can do th- I can use this to do what?" Or, "I can use this to go…" Like all of our, every single piece of our marketing can be, should be, and can be grounded in a real customer insight or something like that. Plus our, you know, unique taste and perspective, about what we do and why. that's why I really love the recipe analogy, 'cause once you think of it that way, it becomes this composable way to like almost manufacture new insight.
21:18And not, not, not to manufacture new insights, but like what is the way we can like set up a machine to do this for us on a regular basis? Justin: that analogy really landed with me as well. And then so is the context OS primarily composed of you know, synthesized insights? Or is insights just one type of knowledge, and then there would also be our processes, our business rules, even maybe our raw data? What is the-- what is it composed of, the Jacob Dietle: Yeah. I Justin: knowledge? Jacob Dietle: this, is where it gets into the system conforms very
21:49much to like each, almost like it conforms to each business, but also the people who drive it the most. I really like the, Processes and like work streams based approach of like, this is really for creating these types of outcomes. But like I know other people like really like to model the whole business of like one way of doing it, like subject object predicate of like this object has this relationship to this thing. and you can get more, you know, maybe semantic like information density with that. But like I said, it's like really this trade-off of how much do
22:21we need to model in the system to make it usable for our goals? and that's why you can go get Palantir's four deployed engineers to model literally every single entity in the universe basically, 'cause they need an entity for, I don't know, a tank. But like for you go to Mark of Motion, you don't need to have an entity for tanks because you're not dealing with tanks or something like that, right? Justin: I hope, I hope Jacob Dietle: Yeah, right. It'd be a bad day. Justin: What you just described, I think is extremely intellectually appealing, uh, to me and presumably to a certain class of, of people
22:53who would just love to feel like the whole business is mapped, everything. It's like, I would be at real danger, and I'm, you know, old Jacob Dietle: But Justin: now that I kind of recognize this in myself. Jacob Dietle: yeah, Justin: of just like focusing on that. Jacob Dietle: you go down the rabbit hole. Yeah Justin: go, I'll go down the route like three years later, "Hey everybody, I mapped the whole Jacob Dietle: I have the perfect business. Yeah, yeah Justin: it's the pre-- now the business has changed maybe. Jacob Dietle: Yeah Justin: like when I look at what actually drives value in the, uh, agentic work that I'm, uh, that I'm doing day to day, um, it can be very domain specific.
23:24Jacob Dietle: Exactly. Justin: a great example for me was like, um, in our, uh, in our Salesforce org, our, our Salesforce, architect, created a bunch of rules and skills for Claude that mapped out exactly how to work within our Salesforce org, what the development life cycle looks like, Jacob Dietle: Nice. Yeah Justin: can go ahead, can't, whether we prefer Apex or Flow, permission sets, that whole thing, so that Claude, you could just drop in a task and it's like, "All right, you know, checking my, uh, prerequisites. Great, I have them. I'm Jacob Dietle: Exactly.
23:54Justin: build. I Jacob Dietle: Yep Justin: build." I'm like, "Wow." But that was like such a narrow domain. It didn't need the whole business. It wasn't graphed per se. It was just like the right process. And so I'm wondering, in other words, like how, much is it really important to have that like crystalline entity of everything relating versus like, let's just find some high leverage use cases and like document those really well and make them easily accessible? Jacob Dietle: I think, Justin: should we be, Jacob Dietle: think, I think you should be very pragmatic. Um, like that's my point of view is like, don't-- you don't need to model
24:25every single entity in the business. It's-- But it's really like you-- like the marginal cost to take that skill and then be like, "Well, what does this actually connect to?" Right? After we finish this process, what does it connect to? And like, what's the contract between that skill, um, the one you're talking about, and the next step in the business? That's really where it's valuable. And like if you start at these individual atomic chains, then suddenly you'll find yourself using the recipe system, mapping a, a good portion of the business in a very pragmatic way. It's not gonna be perfect, but like it's gonna be valuable, and that's what matters.
24:55Justin: If I, if I take a real example there, we did build the development part and then we linked it to the request part so that we could see how the request came in, and we then also linked it to the QA part. So that's what you're saying is holding true. But then I'm like, all right, what's the next jump outside of that? Would it-- Like, 'cause it's a big leap from there to like, well, I guess what are our OKRs? So in order to evaluate the request, you would need to know the business context of like are our actual objectives right now? What are we trying to achieve? Is that the right way to think about it? Jacob Dietle: Yeah, exactly Justin: the, how a me- a meaningful connection to the next
25:25Jacob Dietle: You know, the meaningful connection to the next layer. And then the thing that is, I think maybe the next step in this whole process is versioning, right? Let's say there's three steps in this thing, right? Versioning all of them so you can go, "Okay, this was our process three months ago. How did this process change from then and now? And like, what results did we get by changing each part of the recipe?" And like that's so you get this like-- And the whole point is to make it easier to learn and like man- make this new knowledge basically by running the scientific process in some way or another.
25:56it's just like making sure you can go back and reference things and be positive that you like have real empirical evidence that this h- this change yielded this result Justin: What you're describing is where, my mind starts to fold in on itself a little bit when I think about representing it, Jacob Dietle: Yeah. Justin: on the one hand you have almost just like stateless knowledge. Like these are, this is a set of facts that are true at this time. That's all the agent knows. And then you're now describing almost like a time series of facts that were true that, you know, things that may be true. how do you start representing that in a way that doesn't
26:26become overwhelming to maintain? Jacob Dietle: I think automating a lot of the, like, capture process. So that's what Git is… Git is very good at this, right? So Git was literally made because Linus Torvald, the creator of this, was like, "How do I collaborate with people on Linux across different time zones, across the whole world basically?" , It's actually a graph in itself. People-- Most people think Git is like-- I especially, I understand why it happens. I had to go teach myself very specifically, like, why does Git work this way?
26:56But Git is, it's called a DAG if you wanna look it up. But basically, like it's a graph that for, that has multiple connections, and you can kind of merge things into the connections. to make that concrete, like you have one version of our s- of our shared skill for the Salesforce, and I have another version. You and I basically need to be like, "All right, well, the top 100 lines of the skill and the bottom 100 lines of the skill didn't change at all. But we both made different changes in, to the middle 50." we wanna merge these together to have a semi-unified skill. You and I are both gonna submit a pull request, and like we're gonna discuss
27:29back and forth, which all it is like we're reviewing we have to chat back and forth about, "All right, well, this part does this thing, this part does this thing." I'll f- We, we'll meet each other fif- 50/50, your 25 lines, my 25 lines, and that gets merged in. And then that new, that new version has a full chain of like Justin, Jacob, you know, had this pull request conversation back and forth, and this is why they made the decision they did. That's the way to do it effectively. It's just like, look like Wikipedia has this as well. It doesn't use Git, but they have their own kind of like review process of like
28:00this article has cha- changes throughout the years and like we can go back and see what part of the article changed at what point in time and like why it changed. And that's, that's the whole process. Justin: So there's provenance and there's history, and if I'm understanding you correctly, you're not capturing that within the text of an MD itself, but just relying on Git's native ability Jacob Dietle: Exactly. Yeah Justin: to capture that and, and the agent's ability to like walk that, that Git structure Jacob Dietle: Yeah, exactly. 'Cause the alternative is then..
28:30Like I've done this as well because it's like the easiest thing, is like you get, proposal draft version one. Proposal draft version one, two, three, four, five. Proposal draft version 49 final, final. And like this… Justin: I don't even wanna work with this client anymore Jacob Dietle: Yeah, and you're like, Justin: 49. Jacob Dietle: yeah, whatever. Like, but like that, that's the stream version, but like we all kind of know the, um, like th- this back and forth, right? This is what Google Docs did so well, um, with Word doc editing, is like it kind of, it kind of, you had the living document and you could
29:02go and see the h- version history. Like you go in and see the history, and you could do comments, and it solved the huge collaboration problem, which was like emailing stuff back and forth all the time , right? This is, Git was doing that for software engineers, and now that we're like figuring out like, oh wait, we need like context to be explicit if our agents are going to be good. Now it's a big open question of like what's the best way to manage this context life cycle? Um, and Git is like kind of the natural, um, option because it has been, you
29:34know, been used for 25 year or 20 years, um, for stuff like exactly like this. Justin: And so the reason why this might be important in practice once we've solved, you know, how does it do it, is maybe like you're working on an outbound campaign, since a lot of this stuff seems to, to relate to outbound use cases, I find, Jacob Dietle: Mm-hmm. Justin: you're considering a certain message, and then the agent can be like, "Actually, we tried that message like four experiments ago, Jacob Dietle: Exactly. Justin: overwritten because the results weren't good." That's sort of Jacob Dietle: Yeah. Justin: it matters?
30:05Jacob Dietle: It's, it, it takes, like, it, it, the ideal is it takes something you've already learned and makes it your starting point. Like, without having to do any work. It takes, it takes everything the business, the org has learned at some point or another, and that's your new starting point. You don't have to go down all these other possible trails that, that have already been explored, um, that are dead ends. So it's a kind of like, like it's almost like reasoning by negation. Like instead of trying to be like, "What is the best thing we could do?" It's like we're just eliminating all the things that don't work. and that becomes this like feedback loop over time, right?
30:37Someone else can like eliminate these trails for you, and that way you can like, you know, you, you can get better outcomes for your effort and time just because you don't have to go explore all those dead ends. Justin: And then in terms of how these files then like relate to each other, everything we just talked about you could think of as just being even about one sort of domain or, Jacob Dietle: Ja. Ja. Justin: area of facts, let's say messaging. what is the m- the m- the message that we use? then that relates to other things like different personas, different segments, and there's different ways of doing this, like links or, uh, like
31:08wiki style links or does it matter? Or just the agent needs something that it can cleanly and consistently interpret? Jacob Dietle: I think, I think there's something of like, maybe you should go do a little bit of research on the different ways to represent this. like I mentioned, domain-specific, um, context layers, like Octave does this very, very well for like enterprise go-to-market. Like they have an opinionated ontology, Justin: Угу, Jacob Dietle: um, but it's worthwhile because they're the ones like really thinking about why all of this should fit together, and you're basically taking their opinionated, ontology instead of like rolling your own.
31:38like, you know, for other instances, you like really want your own version. You want to be able to read and write from it often. so there's, there's kind of like a decision framework on Is it worthwhile for our use cases? Like if we have 150 reps - and we just need them to like be able to read from the system, and it's just go-to-market specific, it works really well. Do we need to spend time like getting them all using cloud code and all that stuff like that? It's like probably not what they should be doing with their time, you know? So it's like, all right, then are we gonna build our own system or maybe do something like Octave, right? I think there's kind of like, again, like reason by negation of like what do we
32:10actually need to solve for our end result? If you're an engi- if like going back to that, that example of an engineering world building their own very custom crazy system, right? That's probably super valuable because you have so much information in the code base. And weirdly enough, like the way you represent the code base or some-- 'cause so much coding is now agentic, the way you work on the code base is kind of through these like, um, context layers, like context as code. Really thinking about that as like the machine to build the
32:42machine is super, super important. so it's all about these like kind of trade-offs I would think about. So for most stuff though, for like a, uh, like a basic like LLM wiki or context OIS, like taking, your end use case and like what would I actually need to represent in the system? And it's like probably like four or five things. I'm like, all right, great, and just test it. And just like, just do like ruthless empiricism of like, do I actually need this? No. Get rid of it, and test it that way. Justin: So I maybe just want you to help me think through, like, the agent's experience of navigating this context.
33:12So imagine, like, I'm an LLM. Jacob Dietle: Yeah Justin: I, I wake up, it's like "Severance," you know, like show-- if you've seen that show, Jacob Dietle: Yeah, yeah. Justin: on the Jacob Dietle: You know nothing. Yeah Justin: "I'm, I'm just here." Okay. And then you get certain information passed to you. You have a, a system prompt, you have a request, specific user request, How much of this context is, like, inserted automatically for it in, in an ideal world, how much of it is the agent then needs to go and, like, retrieve? So it's like, all right, I've got like a filing cabinet, and I know how to go Jacob Dietle: Mm-hmm. Justin: look up some of this information that I need.
33:44And like, and furthermore, just to make this an even harder question to answer, Jacob Dietle: Let's do it. Justin: it? Do Jacob Dietle: Yeah Justin: it, is it just like, is it grepping and searching for keywords? Is it, semantically searching for like something similar? What is, what is that experience like? Jacob Dietle: I think it's-- So the big thing with all of this is the idea of progressive disclosure, which all that means is like you give it a little bit of information that tells it how to get more information. And this is something that the CogCode team has talked about a lot, is like have a very lightweight file.md or agents.md, all it is, is like, "Hey, this is the system you're working in.
34:16This is how you go get more information. These are the rules on what you can and can't give." And like defining search strategies of like using that, call transcript example earlier. It's like, well, you don't wanna tell it exactly how to like go through every single call, um, in the first file because it's not always gonna be doing that. So let's give it a skill which it'll-- it can go call when it needs to go do transcript analysis. And it's kind of just layering on this idea of progressive disclosure on like a modular level you have, these building blocks, what's the best way to
34:48fit them together, in a way that it's flexible, adaptable, but you're not giving it everything at once, basically. Justin: And then from a retrieval strategy, Jacob Dietle: Yeah Justin: like a, uh, like a f- like a file system type b- kind of way of retrieving information? Is that better? Should it be searching semantically is it both depending on the scenario? Jacob Dietle: Uh, I mean, there's a million different ways to, to solve this. There's-- Especially de- like going back to like, I'm sure Confluence has its own extra API and Notion, uh, I think does vector embeddings of a workspace for you.
35:22But I, I do really like the lexical. So the k- the, the fancy word is the lexical agentic search. All that is, is calling code another agent using its low ability to write commands to do grep and glob and like search across it. and that's-- I like that because it's one, it's, plain English still, right? Semantic embeddings, it, it takes your documents and turns them into math and both, it's a mathematically similar, thing back. But with the lexical search, you get that real like, all right, we went from this document to this document, to this document, to this specific line in this
35:53document, and did that three times over, and that's what the chain we navigated to go get the, the new piece of knowledge about our customers, really like on our platform 'cause we don't have to sign in. And that's where you get that whole chain all the way back. You could do that with other search approaches, but because it's simple and effective, I really like that one. That's my preferred. And I think that's just like, that's what most agents and kind of stuff defaults to anyways, 'cause it's just, it's better in a lot of ways for most use cases. Justin: Is semantic search overrated?
36:24Do you think it's gonna sort fade away? Like, it sort of started out as like this is, this is how agents should search and then there was like the era of like all you need is file systems and like whatever Jacob Dietle: Yeah Justin: which, which is, it seems your position is closer to that second place. I'm not intending to parody it. I'm more just Jacob Dietle: No, you're good. Yeah, yeah, Justin: ex, the ex, echo chamber of, of how all that stuff is expressed. do you think that's where we'll stay 'cause it actually just is more effective or do you think there's room for both? Jacob Dietle: I think you're doing both, but I think for most use cases, like semantic search is like if you have like, do you have like 10 million documents?
36:56You should probably go vectorize those, right? For what we're talking about for these types of systems, you don't get above, I don't know, a thousand. And then you have to start thinking about like, then there's like, well, this, is this context that should live in this kind of knowledge graph type of thing, whether your context or your markdown, or should it live in a data warehouse? And then you oftentimes you need both the context graph and the data warehouse or CRM or, or something like that. Justin: One of my, um, favorite things to do sometimes is to just, like, talk to, uh, existing chat products and, like, try to reverse engineer them a
37:29little bit when they're willing to do Jacob Dietle: Yeah. Justin: And I found that, ChatGPT work, so for anyone that uses the ChatGPT mobile app, they have, like, a chat mode and a work mode, and the work mode is, like, kind of similar to Codex but in a cloud, uh, environment. and it's, it's more open about how it works. I remember asking it, like, 'cause it referred to something that I said in another chat, and I'm like: Oh, I'm really curious, like, how are you-- how do you know that? And it kind of was able to unpack a little bit of, of, like, how its context engineering was working. It's like: Well, I, I see your latest question, and then I see, like, a summary
38:01of, like, hot topics from across all your chats, and then I see, like, the, some of the most recent things we talked about, and then a much more compressed summary of, like, even older things. So it gave a little bit of a bird's eye view for whatever, if we can trust the accuracy of that. So that is more in, like, a user fa- almost like a, a productized chatbot environment Jacob Dietle: Exactly Justin: almost a lot more the context for the user versus what you're talking about where it's a lot more like, like a trusted co-pilot to a skilled user who's gonna… Do you see those as being two separate situations that
38:33Jacob Dietle: Yeah. Justin: have two different strategies? Jacob Dietle: I think of it as this way, is like, because you're letting the, you're letting the system do the context engineering for you, you don't actually n- you, you have less insight into as to why it's producing the results it's going to. And if you're using the systems to, like, make business critical decisions, not having that sort of insight can be maybe not dangerous, but you're like, you just don't have insights. You don't understand what's going on. It's like anything that's like sometimes, yeah, you just want the answer to work well, and for most consumer products, like it's gonna be the,
39:06the man- the managed context system. But it's like, how much effort are you gonna put in to, to get the result you want? And more and more, I think context is not going to, is not just going to become like a, a important way to, you know, maybe drive better go-to-market results or campaign or whatever is the metric you wanna pull, but like a, a huge competitive differentiator on like how fast can we iterate on our core product, and go from a hypothesis to, a product feature change to the campaign around it, to shipping everything and like making a real impact in the re- real world.
39:37And that is like very much explicit information system engineering problem that is mostly context shaped Justin: So if we think about like like, you know, Jacob maintaining his local context OS on his computer is one type of problem, a company maintaining this and updating it and governing it across 400 or 4,000-person Jacob Dietle: It's a very different problem. Yeah. Justin: of problem. And like how do you, how do you think about that? Jacob Dietle: So you, you have all these problems at one person, and then two people, and then a team, and then multiple teams.
40:09Each step in that is like almost like this, like kind of exponential, of you have all of the problems of the f- other layer, the, the preceding layers, and then the new problems. So each one builds on itself, and you have to solve layers one, two, three, uh, all combined to then even get access to four. And then four is like as complex as all the one, other ones combined, plus its own problems. and the way I think of this is like you don't want to… Like any-- The, it becomes both a, like engineering problem and like a, a people process problem. And the way I think about the, my current thing I'm, I'm working on with, with
40:42clients and my current hypothesis is you don't want to like really have this like super top-down structured, rigid, way of like this is how things are done because that kinda limits what people can do. Instead, you really wanna think about like, "Hey, people are already doing really cool stuff with AI," or they should be, or there's like some way to train them or, or whatever the state your business is in. It's like how can we create five core rules that allows for d- all this decentralized collaboration or five core systems or whatever the unit of, control is?
41:12In engineering, this is called, a constraint. Like what are the things that we're gonna make that have to be true about our system that allows everything else to work? and like this is like kinda how United States works. Like it's a federal public. There's a federal government like who has its own system, but the states then govern themselves. And there's an agreement between like the states can do this stuff and the federal government can do this stuff. And that's how like you get this like decentralized collaboration where the federal government is not always telling each state what to do all the time. That's just not, it doesn't make any sense, doesn't work. Justin: if we think about these sorts of updates, a, a metaphor that I see
41:46used sometimes more often in memory, but memory is just another type of context, I guess, of like dreaming. So almost like an agent that comes in Jacob Dietle: Like self-learning? Yeah. Justin: self-learning, uh, Jacob Dietle: Yeah Justin: reviews traces, and then it suggests… I could envision a world, let's say you've got your context OS in GitHub, this agent runs on a cron every night, reviews sessions, like learns some stuff, and is like, puts up a PR that says, "I would propose an addition or a modification." Is that something that you've seen in practice, or is that a good idea? Jacob Dietle: Yeah, I think it's a good idea. It's very hard to get right.
42:17It's like way-- It's very, very hard to get right. So that, I think that's why it's always like you have that pull request process. So the whole thing, right, fitting it all together, like you have that federated system of the go-to-market team has their skills, but there's a core company context, and the sales team has their other skills, and like there's that federated system. and there's an explicit rule process of this person owns this context, and there's this version of this context, and the owner has to review a pull request to create a new version of that context, right? Then that enables that self-loading process, because then you can have,
42:49instead of a person having to make a p- a PR request, you can have an agent fit into that established decentralized system. and that's what enables that to happen. But then you have a whole new process of like, well, how do we engineer the agent to get the right information? And like, what's our process for reviewing this thing, you know? generally what I find is like, do it a few times manually, and then you can get set up on a, on a recurring basis, to really create like end value. Justin: Everybody wants to start with like automated self-learning, Jacob Dietle: it, exactly.
43:20But like you, yeah, you, you don't know what you actually want until you go do it yourself at least once or tw- or two times. Yeah Justin: Jacob, this was super interesting. quick shout out for you, like what types of companies do you ideally like to work with? Where can they find you if someone's like, "I need help with Jacob Dietle: Yeah. So I mean, LinkedIn is the best place to s- to find me. I think I'm posting on there probably too much and too little at the same time. I generally work with seed Series A companies where there's like some sort of like AI direction for, go to market, but they really wanna take it to the next level. it's a really fun process for me to kinda jump in, find those use cases.
43:52All right, this is the context system we're gonna build out. This is the people we're gonna train, and this is the end value we're gonna, we're gonna create for this system Justin: Love it. We'll include a link, to your LinkedIn and your website in the show notes. Thank you so much for doing Jacob Dietle: Yeah. Thank you, Justin.