ELC
Sign in or Join the community to continue

How to map, measure, and close the context gap between your AI spend and throughput

Posted Oct 29, 2026 | Views 11
Share

Speaker

user's Avatar
Brandon Waselnuk
Developer Relations @ Unblocked

Brandon Waselnuk is a Developer Advocate at Unblocked, the context layer for agentic software development. He previously led product at Mintlify and co-founded Squire AI, an AI code review platform. A Y Combinator alum (S21) and Venture Partner at Pioneer Fund, Brandon also led product initiatives at IBM, helping create Design Thinking @ IBM and managing portfolio planning for IBM's $1B+ Business Analytics division. He's passionate about building tools that make engineering teams more productive.

+ View details

SUMMARY

AI is in your engineering workflow. The token spend shows it, but the throughput doesn't. The human is still very much in the loop. Most software teams can't prove whether AI is actually helping, because the metrics they watch reward motion over delivery.

This is a context problem. The gains disappear between the feature branch and main because your agent doesn't fully understand how your system works. It pushes code that breaks in production, and you spend the next sprint dealing with the thrash instead of working the review backlog or shipping the next feature.

In this workshop, we build the plan to move your org from scattered adoption to an AI development lifecycle, the ADLC, where AI is a dependable part of how your team ships.

First, we place your team on a map of eight AI context maturity levels, and you compare where you landed with the people around you. You'll see the three walls that stop teams at each level, and which one is in front of you. Second, you measure. We give you four delivery metrics that show where AI's gains leak out before production, and you run them to set a baseline for one team already leaning in. Real numbers, on your own work, so you can tell whether a team has actually moved up a level or just spent more tokens. Third, we map the path forward. We walk through what it takes to clear each bottleneck in order: good Q&A first, then stronger code review as more PRs go up, then reliable background agents for parallel work. You leave knowing which one to tackle next and how you'll measure it.

The thread through all of it: none of this works without a context layer underneath. An agent with access to every source still can't tell which one is right. That's what turns tokens spent into work shipped.

You leave with your team's place on the maturity model, a baseline you measured yourself, and a clear next step with the numbers to watch.

+ View details

CONTENT & TRANSCRIPT

[0:00:05] Well, all right. This is going to be fun. I designed this as a workshop and then I'm in the room and I see there are no tables. So, if you do have a laptop and you're okay with chilling on your lap, you can literally come along with us. And what you'll leave with is an actual analysis of basically how your org's set up to work with AI. It's an AI maturity model as well as the ability to look at measurements across your I'm going to say the SDLC. I'm sure someone's already in A DLC, but it'll show you basically what the a bunch of telemetry is around your agents being able to pick up open pull requests. So, what's the percentage of a rework of PRs? How quickly are PRs getting picked up? Do you have an ability to assess the riskiness of PRs, etc. So, you actually leave with real data. My colleague Jeff is in the room in case people need help. He's sitting there. He's waving. He's great. He's cute. So anyway, we can support you if you need it, but otherwise I will deliver this kind of as a talk as well. So, if you want to go do it later, no problem. It's an open source repository.
[0:01:08] It has all the tools and you'll see in a moment that you can just point an agent at it and it will do everything for you and kind of get that running. So, you don't have to follow on. If you want to follow along, please do. I intend for this to be interactive cuz we have an hour. So, if you do have questions as we move through, let's do it and there'll be moments for you to chat with your I'm going to say colleagues around you, but your your peers just to you know, chat through a few things and and all that's good stuff. So, now that I've set the table, I'm Brandon. I'm a YC alumni. I'm now DevRel at Unblocked and we're building really cool stuff that makes agents do good things. So, this is the workshop flow. At the very top, all you really need to do is give that URL to your agent. So, folks are following along with their agents on their laptops, we'll hang out for a second. You can literally just say set this up and run it and it's going to give you a big analysis. What it is going to do is basically run these things. So, you you do need UV. Obviously, this is based on GitHub. So, hopefully you have GitHub. If you don't, change it for GitLab.
[0:02:19] And then you're going to get a ton of data and return to a real plan. I'm going to hesitate just briefly. I see some laptops. I'll show you examples on my laptop, too, for those who cannot follow along. Beautiful. I'm going to click next unless Oh, you want me to Oh, yeah, yeah. Latency over 30 seconds. All right. Well, hopefully they implemented retries in the Anthropic API, but maybe. I see so many folks on it, so I am going to move through if that's all right. Cool. If I mean, we'll you'll definitely have time. The biggest thing is once you run these jobs, it does a deterministic run. I actually think that's in my slide, so Yeah. So, you're going to be running these. You're going to get two things that come out. First is your assessment of the agentic delivery life cycles or the AI DLC as people are kind of calling it, but essentially the software delivery life cycle when there are agents as a part of it.
[0:03:39] That analysis is going to show you your delivery metrics. The way it does this is it walks the Git blame tree and all the PRs, looks at metadata associated with those PRs in order to assess how your team is performing against industry benchmarks. What's useful is you should do this for your own internal benchmarks. Don't worry too much about industry cuz nobody knows exactly what good looks like yet. Their businesses are different. There's a lot of reasons why they might gatekeep, why they might not, why they have PII, so they can't do that technique. Like so just worry about your own, which is why you want to run this cuz you get your benchmark and then track against your own benchmark for a time until the industry starts to settle. It's a little too wild out there. Then you get a social graph, which I'll show, but what that does is it deterministically creates a graph that shows you which engineers commit the most source code to certain areas in your code base, as well as review that source code in order to show you who the experts are inside of your code base.
[0:04:41] This is a tool that is used in agentic retrieval because when you do retrieval and multiple conflicting pieces of information come up that say, "Hey, you wanted me to do this task, but I found this doc, this Slack thread, this Jira issue, and this Confluence page, and they all disagree. Which one is right?" You should have that agent be able to search over an expert graph to determine the person who generated the source of the most correct information. And I will show you I'll show you a version of this this as well. But this is what you're going to run. It's going to, you know, run these three tasks, and it's going to build those things. Typically to walk that thousand PR list just takes like couple minutes. So hopefully those of you who are following along, you run it. This is what we see in market though is the short of it is motion is up. So don't worry, I got data for you when you bring these business cases back to work. But a lot of people are saying good things like 84% of developers say AI made them more productive. Hooray, I wrote more lines of code. That's a bad metric, but let's not talk about it.
[0:05:44] We're 3x faster. Sure, 6 and 1/2 hours, like whatever. You get all this data, but there's another side of the story. This is the fun side of the story. 95% of AI usage is like through the roof, but only PR throughput is up 8%. So PR's actually getting to main, running real code, 8% lift. But we've increased our AI spend to I don't know what the market cap is like a trillion or something. But the other one, the second bullet point there, 19%. There was a study done by meter and it was on expert engineers defined by 5 plus years experience on their code base and they asked them, do you feel more productive? And they thought they were 20% more productive. When analyzed, they were 19% slower. So it's like pretty hilarious. They're self-reporting, yeah, I'm a killer and then it's like, well, actually you're moving slower. And then you just see more of this. So the data continues by 58% of engineering time on new features is unchanged, but PR job titles extended, yeah.
[0:06:46] Yeah, if you read into So this one is the meter RTC study in 2025. You can read the exact controls of how they did it, but it was essentially the actual PR getting to main. So it's measured by the the Exactly. So it's like actually released. So they're like, oh, I feel faster. Look at all these PRs and they, for example, bigger PRs, more files changed, but they're not actually getting the product to the customer. Is essentially where they drew that line. And it's mostly, if you look at your tool chain from the vendors providing things to you, it's because their dashboards are basically reporting the motion. It's a lot of activity metrics like you burned this many tokens, you've opened this many PRs. Like it's a lot of these motion metrics. Not actual delivery metrics, which is what your business needs. What we care about, like as just mentioned, is cycle time. The review time, how much rework is happening and what's our defect escape rate. If you're unfamiliar with that, that is the number of bugs that your customers catch instead of you.
[0:07:58] In the industry, it is going up drastically because we are ripping PRs to cloud agents who don't have the context to do it right, they get into main cuz it looks good to me. And then the customer is like, "Hey man, I can't check out." You're like, "Oh, darn, we should fix that." So, rework for those as well if you have not run the tool, which you will see this analysis again is done for you on your code base, all locally from those tools we gave. But, rework is this idea of the number of lines of codes that you're rebuilding or touching again and changing, editing, deleting within a time period of them freshly entering the code base. The easiest way to think about it is how many lines of code do we rework in the in a 30-day cycle or a 14-day cycle? You can constrain it based on the speed of your org. But, it's like if I ship 100 lines of code and then immediately 20% of those lines of code I'm reworking, that means that there's thrash. There's thrash in the org. AI is probably shipping some kind of slop, and so the next PR has to change it, fix it, alter it, whatever. That rework is a huge cost to the business, not on literal token waste, but also on human time because your senior engineers are probably reviewing these PRs again and again, and this code keeps thrashing and changing.
[0:09:19] It's just not a good use of time. So, that rework number is like really critical for a good AI DLC. This is what we see across businesses. So, this is the AI maturity model. There's a little more data in here, so let me pop this out for you. Boom. So, this model is just helpful for thinking about how ready the company is to leverage context with its agents at the company. The far side, so your left, it's I said tab complete, but we all remember that. You're thinking intellisense, but smarter. You're writing in cursor, and it's like, "Here's the function." In that case, the underlying thing we say you are the context cuz you're using your brain. You see it, and you go, "That's bad." So, you hit escape. Or you go, "Yep." And you hit tab. That is simple. That is the easiest form of working with AI. It's essentially really nice autocomplete. As you move forward, you need another capability. So, the first the next one is that curated context. So, that's where you build rules files. You maybe curate a static repo where there's like context that the agents can, you know, grep over.
[0:10:30] What you're doing there is you're providing a key point of leverage to all this tool chain like an agents MD to give it some instructions that are not easily discoverable by source code itself so that they can operate better across the actual business and like when they're working on code. Helpful. Curated context will give you a lift in your agent capabilities. The problem is anything curated is static, which means it starts to suffer the context rot problem of like all other documentation of all time. The other issue is at orgs of size, we work with some like 12,000 engineers. Nobody knows everything about a company. Like it there's just no one human who's like, "Yeah, yeah, I'll write the agents MD. I know it all." So, unfortunately, they will make their own MD or another one or it'll fork in the mono repo or you got one in a micro that's wrong. And so, these things will drift from where the business is going and then ultimately that curated context becomes rotted, which means it starts to tell the agents the wrong thing. Finally, you move into a context layer.
[0:11:33] You This is kind of the market term for this, but you might have heard like company brain, there's all sorts of other language, but that's when you're getting into something that's got not only static, but it's also got some real-time context and you want to be able to leverage that and as you move through these sort of again stages of maturity, you want to get here. Having background agents run for you that do the right thing and you wake up to good PRs is frankly a magical moment. It's very hard to get there. So, the way you do it is by building one of these layers with an engine like Unblocked that sits on top of that cuz it can process, understand, reason, and ultimately give answers to the agents as they ask questions in the process of implementing the actual task that you've given it. This, as again, part of the thing I gave up front, we also have a readiness tool that will map you. Oh, see? I can predict my own slides. If you go through this, it's just a quick 5-minute basically QA with an LLM agent where you just tell it the situation that's going on your company, and it will map you to exactly where you are in the the eight levels.
[0:12:41] And then it will tell you which techniques you should pick up next to move to the next level. A note on that maturity model, it is not about skipping to like level eight where you have agent swarms hacking hugging face. That is not the goal. You actually want to level up because you build foundation at every stage. All that foundation is useful in order to operate efficiently unless you, you know, grab a great vendor like us. You're going to want to do this yourself. Cuz I want to make sure you leave with the tools you need to do this without having to buy anything. But, if you want to, you can also talk to me. This is where teams actually are observed. So, on that maturity, by the way, most are still living in the agent IDE. They're curating. There you go. They're curating context files. They're like hooking stuff up, and they're basically trying to build some form of internal memory so that the things and the gaps that happen in the, you know, getting production code out. They're able to basically rework those things or compound from there. That's compounding engineering is learning from the mistakes of the last agent trace in order to not make that same mistake in the future.
[0:13:52] Most of that, though, again, is suffering the curated problem cuz you're writing that to a file somewhere. And making it accessible is tricky. Yeah, so if you score lower than expected, you're in good company, don't worry. It's the short story. We are all as an industry figuring this out. Here's some examples of how to go up. So, it's each stage, all eight stages mapped out with a couple callouts. I'm just going to talk to a few of them, but in this stage, in that like tab complete mode, it's very clear to engineers like if if the suggestions thing in the tab is like right or wrong. So, it's a bad function, that sucks. But, what you're looking at are things like the engineer should be able to ship something. So, these are indicators that your team is operating at this level is like that's a capability they should be able to deliver by each of the checkpoints. There's a ton of data on this. These This all this stuff can be made available to you afterwards. Again, when you run through it with the tool in the workshop format, it will also help direct you in your own codebase. Which is why it is such a useful thing.
[0:14:58] Workshops, I promise. As you move through the agent IDE, you can see more about like the linters and tests are easily discoverable by agents, so they can actually run the tests. As crazy as it sounds, they need to run the tests. We move into context engineering, so this is where you get into like multi-step worker, longer running agents. You should be in the top like the realm of like minutes is usually where people are getting there. They're not yet into like some kind of multi-hour mission overnight, but they actually have an agent that can go run on the It's usually called auto mode, but it has the classifier that approves tool calls up autonomously, but it should be able to get through like a like a real task, not like update the header. As you move into the compounding engineering, that's where you will actually update the rules files you write, like the agents.md based on how the session just went. So, that what most people are doing is deploying hooks. If you I'm going to use the Sorry, I'm mostly a Claude maxi here. So, in Claude, you can define hooks in the session. So, when the session is complete, a hook runs that looks at the whole session transcript and looks at the trace of the agent to say, "Okay, well, where could we have improved that agent.md so that not the problems that happened in this session don't happen again?" That's kind of like I'm going to call it {quote} self-healing your agent stock, but that's usually what people are starting to do at the compound engineering moment because they're compounding on hey, I just went through this whole session. I had some problems.
[0:16:23] Now I'm going to fix them. Yes. Oh, sorry. You're going to get a mic. >> Right. Do you Is it still Claude that's running the hook and and checking what went wrong in that because I've I've encountered like doom loops with that where it fixes itself and then actually makes it worse and then fixes itself again and then it's just going down a rabbit hole where you actually have to tell it to stop and go back to the beginning cuz it just immediately went left instead of right? >> This is So personally I've turned off Claude's memories. I'm like don't ever remember about me cuz you are so wrong. Yes, so at this stage in like level four of the maturity model people are doing that. The The The issue you're you're pointing it out nicely is the agent only knows what it knows. It's kind of scary, but like when you type Claude and a session starts like an intern just spawned in your office and is like yeah, what do you need, boss? You're like can you do this? And they're like yeah, I'll get coffee. And then you're like dude, I don't drink it black. And he's like you didn't put it in the agent's file.
[0:17:25] You're like okay, I drink it with one cream, one sugar, whatever. And then like yeah, but the problem is is it will the next human who runs a task will be like no, why'd you give me one cream, one sugar? I drink it black. And then it's going to update that file again. And then you see where we're going. So this loop happens especially at a team scale cuz each people want things differently. So in this case, yes, they are just telling Claude to fix itself in the hook. If you want to do this properly at scale, that's why you want to move to a context layer and have an engine like Unblocked because it's able to understand the signals of who is asking me a question. Where is this data coming from? It looks at the problems that happened and actually determines through dreaming if it should make a memory and like write that to file and be like actually update it or if it's right or wrong. And the way you get right or wrong is through conflict resolution. I know you happen to be at another session so you know about that, but I'll chat it out for everybody else. But the conflict resolution piece is that moment where if you find if you look across your corpus and your company knowledge, for sure, there is an architecture diagram that says do A, and then a Slack conversation where the CTO said do B.
[0:18:34] Which one is right? You're all really smart, so I'm sure you would figure out what is right, but how's your agent know? It's like, "Oh, I got this architecture diagram, but then I found the Slack thread last night that said don't do that." And then it just picks, or maybe it didn't even find the other one cuz they suffer from a thing known as satisfaction of search. Whenever you tell them to do a task, if they find data they think answers the question, they're like, "That's it." And then they go forward. They don't actually keep looking, like the intern. You're like, "Hey, buddy." So, you got to make sure that they exhaustively search, and then that conflict resolution moment, a proper context engine will remember that, that it found conflicts, and it solves it by checking against other signal data. Usually, that is an expert's graph. So, as mentioned before, you get that that free tool we gave, but the graph is who is the expert in this area of the code that we're trying to solve this conflict about? Go look at their data and what they've done and what they know, and then see, for example, "Oh, that thread where the CTO said it? Well, the other person in the thread is the founding engineer who is the expert on this part of the code. That means it's the thread. The thread is correct. Like, don't use this architecture diagram.
[0:19:45] We're we're going to go in there. So, you need this type of signal data freshness, obviously recency, these things matter, too. But, domain expertise is a critical very critical point. Because that like in engineering, right? We we need correctness over like someone's feelings. So, often we actually find that leadership is not correct, which is super funny. But, you know, they're cool and we like them. Moving forward, here's the next eight. I won't spend too much time here in case you want to take a quick picture. But, in this case, all of these are part of what we would call a context layer now. You have a real layer in the system where agents can go and query and get data out. You're just advancing the techniques and compounding basically by building on top of those techniques. So, the first one for MCP and skills, I'm sure we're all familiar with this. It's told of us all the time, but like as your team writes a skill down for a standard operating procedure or some task, that's great in there. And then of course providing MCPs give access so the agent can then go and just access that data and grab it if it needs it.
[0:20:54] Moving into harness engineering, this is where you start building your own domain harnesses. Some people may have already done this internally. Sometimes you just call it an agent, but like you probably put a harness around that agent that's doing things to actually get a job done. The ones I've seen the most often are actually AI code review. Almost every enterprise customer we work with builds their own AI code review agent, and then they also buy vendor AI code review agents, and then they have them like fight each other in the PR. It's kind of hilarious. But it's how you determine, you know, am I missing something? Should we do an adversarial review? There's a lot of technique there as to what's right for you and what cost, frankly, your company can stomach around that. But if you have something like a context engine, you can build one of these on top that harnesses like how you design it to get the job done. Then we move into background agents. I mean, pick your vendor where you can deploy a remote VM to run an agent. I think there's like 7,000 now. But basically this is that dream of like I want these background agents running, and I want them to do the right thing when I'm not in the room in order to ship code for me.
[0:22:02] And what that looks like is, you know, several agents can like work on a problem. It can run overnight. It's happening in remote. Like these are the indicators that you're ready for that. All of these things again, like you need a good context basis or that it's just a more expensive mistake if you run at scale, and you're like, "Yeah, just go build this overnight." It has shitty context, you're going to get a shitty PR. Like it's just how it works. And then agent teams is like frankly it feels like mythical at this point. It is very hard to rally a proper swarm of agents to accomplish useful code output in like actual businesses like so not green field projects. It's like sure it can scaffold me the first like hello world or rebuild WordPress, but like nobody wants that. So if I'm actually running real revenue at my business it's pretty tough to make a swarm of agents appear that produces everything correctly. What you're probably going to do by accident is just really piss off your senior engineers who's like reviewing a wild PR stack that's coming from a bunch of agents. So getting there is tricky.
[0:23:06] The best way to do it again is to get these context layers or an engine in place that can actually validate against it and like make sure that as each agent accomplishes its task as part of the swarm they're like chunked appropriately. So you probably want validators in there. You're going to want some constraints and guardrails around the size of the PR, how many files. This is probably what would live in a rules file, but as you can see these these techniques stack. These are the approaches that just don't work that people take as I said before. They're false summits is the easiest way to put it. I'll show you all three cuz we sort of talked about them. I've just naturally brought them up as we went. But if you go in your org and say I want to solve this, I want to get to level eight, I want to have background agents running that are successful someone on your team will suggest one of these three things likely. The first is as mentioned we'll curate the context. We'll write a repo. We'll call it context repo. We'll make a folder for every service we run and in each folder it will say read this first.md and this md and this md. And then the agent will grep that first and then it will make the right choices by calling the right MCP.
[0:24:14] You will get a bit of a smarter agent cuz you'll now have this context that it will serve from and it won't waste as much time in the search space when that agent first spawns. But it is going to get things wrong quickly as the business moves forward and the source code moves forward and no one updates the actual static repo, like that is a problem. One thing people do is they build again hooks or CI that automatically updates the repo as source comes in. I wouldn't leave the knowledge of your business to an agent arbitrarily making a call in a CI pipeline run cuz it's going to just pick what it thinks it should write and that drift is going to get more significant over time. And then if you start to stack your background agents on top of that sort of falsey lossful situation, you're going to compound it into a bigger problem. So you want humans to help with that curation. Then the MCP plateau, this this one's kind of common as mentioned there's satisfaction of search, but if you just give one thinking agent access to all of I'm sorry, let me clarify. Often people have one agent in one chat.
[0:25:21] They think with it cuz they ask it questions, they think about what they're going to do, then they tell it to do it. So that agent becomes the implementer as well as the thought partner, which causes the agent to drift in its own session cuz it it's now got the issue of implementation details and the thoughts on the intent of us trying to figure out what we were going to do here if you're like a product engineer, which causes it to not make the right choices. So what you want to do with something like this in this plateau stage is likely have a thinking agent, it's called the advisor model, Anthropic wrote a really nice post about this, but like have Fable or Astra, whatever your top model is you can use, talk to it about your thoughts, like thinking through the problem, have it be able to access stuff, but then when it's going to do work, tell it to delegate down to like Opus 5.5 for example as the actual implementer and when it's done implementing to write a note back up to the Fable model that's the thinker. This this sort of method of approach allows it to not get distracted by implementation details in its job. It's only thinking and orchestrating the actual workers, which are the sub agents.
[0:26:28] When you do this, you're going to get a lot more performance out of MCP cuz each sub agent gets a more finely scoped task to execute against, so it makes better choices about which MCP to call. But ultimately, they will run into issues around that conflict problem. They won't search exhaustively, so they'll miss the like incident report that if I do a migration this way, it's going to actually like take down prod. So, all that stuff comes back into play, which is why again, you want to have a context layer. And then finally, the cloud agent, well, it's fairly obvious, but if you've built on pretty shaky context foundations, and now you're just running a background agent in the cloud to write code, you're just waking up to bad PRs, and you're going to be like, "Oh, it's not working. This rollout strategy isn't successful." And it's going to slow down your ability to get the budget you need to move faster with probably the limited hiring head count you have right now cuz market's a little tricky. So, you you want to build a good good context engine. These are the actual grids. So, when you run that tool, this is you're going to get a report on how you perform based on the It's It's arbitrary, but we did the last 1,000 PRs.
[0:27:40] And it's going to show you across all these what's your throughput. So, I'm I'm still going to read them for you. It's easier for me to do it here. It's going to be your throughput of merged author per week. So, how many PRs does the average engineer merge each week? The open to merge, so how often does a PR open and actually get merged? So, you look at how many you're closing or just dropping and not actually getting done. The pickup time, so how quickly did the first human review? Specifically, it filters out bot review. It's useful, but like you still need a human likely in the loop. The first human review to merge time. The number of changed lines, obviously, you should look at that. You You still don't really want to just let 10,000 line of code change PRs like come into your code base. It's just not a good idea. I'm sorry. I know we have machines. Maybe someday, they're not there yet. They cannot reason about that much data. Well, they can't do it well. They'll tell you they can do it well. They cannot. And then rework. So, lines of code underneath, in this case it's under 21 days old. Like how often am I opening a PR and then reworking a healthy percentage of that new code I just put in the man.
[0:28:51] That is thrash. That is not a good look and it is a huge waste of tokens and time. Yes. >> The ask per week? Is it still kind of true after the AI's and then It's It felt like a couple of years ago. Where where you used to like, "Oh, okay. Maybe one PR a day is probably good." >> That super valid. We we we took this from an analysis that LinearB did in 2026. And it's a huge data set that they reported on in order to not be biasing. So, their indication is that two PR's per week is like you're in a pretty good place. That This is where we get into weird things like let's call them feature PR's is probably the right way to think about it. But from the data set, this is what is across hundreds of companies. I think it was Yeah, 4,800 companies. 8.1 million PR's is at the bottom there, all the data. So, like that that's where we pulled it from to be fair.
[0:29:53] Personally, I mean, Jeff, you're like doing 35 PR's a week. Maybe more. Different things for different people. So, yeah, definitely assess yourself on these things that are right, but this gives you a sense of where the industry is at. So, remember earlier I showed you that maturity curve and then I showed you most people are actually like way over the side. They're still there. Can't get code out. So, if numbers aren't good, these are the places to start. So, when you get that analysis back, it's going to give you a report. Again, I highly encourage you do it with an agent. It'll It'll just print out a table for you. But if you're seeing tons of rework, like you really should look into like what's going on. Basically, what decisions has the team made that are missed? Like why are we reworking these things? Slow pick up, fairly clear, you probably all solved this before. And then slow time to merge, same same types of problems. Yep. >> So the loss of rework You can imagine we live through a number of situations where we make a tactical fix on a patch really quickly to do the strategic fix in a fast follow, but that would be picked up in maybe Slack conversations and Jira tickets. Is that something the system can figure out from the context?
[0:31:02] >> Yes. So yes, it can figure out from context, but the right engine in place, like like what we do at Unblocked, it'll it'll know that those things are going on. Your rework metric, there's still like a healthy amount of rework. I think we put it at 8% cuz like yeah, you got to patch the we got to P0. Yeah. Yeah, you got it. So you want to you want to filter a little bit if you can, like like understand there will be rework in your code base, like there better be. If you got a P0, like unblock the customer, fix it proper later. Like these are normal things, but yes, to your point. And if you have a system like this, it can pull in near real time, just usually just limited by if the API offers webhooks or not. Sometimes you have to pull Slack. But anyway, you'll get the data and then basically it'll update, so the next agent will pull from the context engine and then it'll know the correctness. Like it'll already have all that data, so it won't make those same mistakes. This is the engineering social graph. We do have a QR code cuz it takes you to just this open source tool. I can show you it again, but this short thing is this is actually our team. So Rasheen is a machine, he ships like crazy, and that's why his node is huge, but it shows you who's working with who, who reviews whose code, and then it will also give you a rendering of I'll just show you the live one actually.
[0:32:20] Let's take a really risky bet here. What? All right. That looks pretty bad. Can you guys see this? Oh my god. Well, if the plus goes in, it's pretty tough, but here's next expert stable. So actually I'll zoom this back out. In an expert's stable, you can see who's an expert on like which area of your code base. You actually get a bus factor analysis as well. So you can see Vincent ships for infra etc. This data is extremely useful in a context layer cuz as again as mentioned it settles those conflicts. So if something shows up and it's a slack thread where let's say it's in something more fun. Like core. There's Rasheen. So if something happens in our core infra and Rasheen is in the slack thread saying do not do that you will cause like this type of outage. We're going to treat that as gospel. Like that is the truth cuz Rasheen is like literally out shipped. Yeah, anyway a lot. He's out shipped a lot in that area. So you want to be able to settle a debate and this experts graph will help you do it. The this is all literally the free open source tool that gives you the output. And then shows you all the different graphs.
[0:33:29] And like you can see on the side who's there. You get a few other things like it naturally tries to figure out who your teams are based on good commit data. Rather than HRIS data. Which is really fun. We've had a lot of DevSec teams enjoy this product cuz they start to realize that certain people just review each others PR's. They're like hey wait a minute. But highly highly recommend playing with that. So this is what we're talking about. We do not want mo- just motion. You want progress. So what we want to see is if you just deploy an agent without context what you will run into are these types of issues cuz just source code cannot answer broadly most of your business logic. Like you can find the literal logic in the source code. But like where are we going as a company? Source code is the truth of what is running today. It may not be the truth of where your company is trying to go. So if an agent can only grep that source it's it's going to look at that and then it's going to have to just figure out from probably the beautiful prompt you wrote it which was perfect what it needs to do next and that's usually not enough.
[0:34:41] So what you need to do is things like why did we make a decision? Like why is there a back off on this? Like why are we having retries here? What was the point of that? The agent might think in its training data, this is a dumb and very inefficient run, but there's a reason it's in the source code. So, being able for it to access and ask questions to understand what that is is what makes it actually output useful code for your organization. Like it's a it's a it's a nuance, but it's worth a lot. The conflict that we've talked about a million times, who owns an area? That's the expert stuff. What broke before? You know, and then what did we change after it? That's a lot of your incident reports, your APM, understanding run books. Like why do these exist? If agents have that, they will know what a bad roll out looked like. And then they will not mis- make mistakes in the PR they're opening because they understand how it went wrong before. Like that data is wildly valuable for code generation. And then what's half finished? I don't know how many times in my career I have picked up a ticket that said in to do started working on it and then find out that John already released a service I could have just connected to because I just didn't know.
[0:35:51] A context engine is actually sick cuz you're like, I'm going to work on eng 12 ticket. And then it's like, "Hey man, Machine already did it. Here it is." You're like, "Oh, okay, cool. I'll just connect to that." So, there's just one of these moments where it's like it's an omnipotent sort of thing, but it's like I'm not going to make a Mordor joke, but Lord of the Rings, there's an eye and it sees all and it knows what's going on. And when it understands that, it can route information. It can tell you, "Hey, like actually someone's working on this. There's two closed PRs, there's three open. Like this is being worked on, don't work on it." Or like, "Oh, you didn't know this service existed cuz this is like a 10,000 person company." Well, it's there. There's a service. You can just use it. And like reach out to your colleague, exactly. Yeah. Hey, my dog's named Pippin for a reason. I have to get it in. So, the context at each stage of the SDLC is just this next to like help you kind of try to start putting this together now that we've gone through each of the steps. But one of the first is like planning step. I do a lot of thinking with my agent now. So, I talked about that whole advisor model, but I'll actually talk with Fable about like product things, how I want to approach a problem, the issues I'm seeing from customers. So, Unblock can bring in all that data, like all the customer data stories, like what's going on, and like what raw customers are actually saying. I connect my call logs to it as well, and like literally think with this model. And I plan my approach.
[0:37:17] And as I plan that approach, I make good strategic decisions based on real context in the business. And then I have a real plan to go implement, which makes it easier to do fan outs and have agent swarms because the plan is structured. You get your thinking model, like I said, to structure the sub agents. Like give them tasks. Do it properly. You know the constraints of my code base, so make sure you get enough agents going to like 100 line of code change, keep it under three files. If for some reason you can't, you got to write me a report as to why you couldn't obey my constraints, and then I will approve it or not. But you basically move them through the planning. When you get to the coding stage as it moves through implementation, having Unblock for example in the MCP CLR API, the agent typically as it approaches implementation will run into blockers. So, it can just query Unblock or your context engine you've built in order to unblock itself. Cuz like all of us are at least me, I'm going to speak to myself, I think in questions. That's almost always how I'm approaching something, like why is that? Like should I do this?
[0:38:19] So, it's like I'm asking questions out loud and I need to resolve that in order to build up my first principles up up up to then make a decision. Agents sort of operate the same way. So, when you have a place that they can just ask questions infinitely to unblock themselves, it's incredible. Otherwise, they're asking you. And then you're in the seat again, and you can't run a background agent, you can't run parallel agent sessions. Like you're stuck in this loop with this one agent, which for really hard stuff, that's a good modality. But there's probably a whole list of things that you got to get done and it'd be nice to be able to get agents working on it. There's obviously code reviews next. We're all pretty familiar with this. I can talk a lot about AI code review. But the things that help you the most in code review is understanding your risk profile. So, how risky is this change coming in? If it is a high risk, I should be making the experts of this source code, aka code owners if you have one of those files, otherwise use the experts graph, the experts to come review this. If it's low risk, you're actually in a pretty safe place.
[0:39:23] A lot of our best performing customers in terms of just agent deliverability, they now have it so that if something is low risk, it gets auto approved and merged. So, spending time on your policy file is super important. Brandon, I actually had a question for that. For that, is it worth evaluating risk during the planning phase so that way it's identified and predetermined before you get to the review stage? So, yeah, there I mean risk is one of the it's a foundational principle to think about. So, in the planning stage, yes, thinking about risk makes a ton of sense when you're talking to your agent or just yourself in a room, whatever you're designing things. Like, of course, assess how risky this is going to be and then bring in experts on your team as you need to. What I'm talking about in code review is there is usually policies that your team could all agree on that would make something risky. So, one of those is like it touches like the billing service or an auth service that makes a PR go from like not looking risky to risk through the roof. It's like it's changing our authorization mechanics. Like, this is the riskiest of changes. Like, make sure it's not a problem.
[0:40:28] What we do is we actually generate a risk policy YAML and then customers can basically iterate that over time and dial it into exactly what it should be. The most common thing we find because we have context, we also have a context of the entire repo map. So, some people call these like wikis, but like there's a bunch of ways to actually look at your entire code system. When you understand your code system, you can look at a file and see that it has like over a hundred other callers calling into that file. If a file has hundreds of callers calling into it and you are changing that file, that is a high-risk change. Just by default, like if I mess that up, it's going to be a big problem. So, you look at stuff like that in order to define the policies. And also, in theory, if you saw some file with a hundred callers, you should probably split that out and not have one file have hundreds of callers. So, these are ways to like solve the problem over time. And again, as you bring it into code review. And then finally, observability. So, this is like what an agent needs is it should be able to see live logs, metrics, infra, deploy history, runbooks, like all of that data is incredibly valuable in order for it to make sure that as it moves to roll out so, actually getting this PR fully up, it's not going to run into the issues that it's run into before.
[0:41:45] This is what I said before, but just to set that stage, like for years it was you. You were just the context engine. Everything I think I talked about here, you've all thought through and done it in your work. You now need to somehow shove that into the brain of your little agent intern that spawned cuz you typed Claude. And what you need to do is this. Like on the right, this is how we got our first PRs at a company into production. Like I wrote something, I read a ticket, I shipped it, a senior staff said, "Man, what are you doing?" in a Slack thread, and like Anyway, all these lovely things happen. So, giving that data, that context your agent just makes it not run into the same mistakes, makes it do the right thing, and makes it move quickly. A big note is again, access to information is not understanding. This is just an example of how we settle a debate. So, if we get this type of stuff, an agent may randomly pick data if it just has a bunch of MCPs. You want to make sure that it actually reasons about the data it finds before it serves the data back to the actual agent in order for the agent to move forward in its task.
[0:42:48] These are a bunch of different ways that people try to solve this problem with the modern tool chain today. Again, as mentioned, I talked through it at length earlier. They are false summits. They're useful techniques to get a little bit of a gain, but they're not going to give you the leverage you're looking for like in terms of multiples, like 10x productivity. They're just, you know, you think it's going to solve this context problem, but time and again, it does not. And then the cost of that wrong answer at different scale. So, as you move up that AI maturity curve, again, bad context in the top complete is simple. You hit escape. You're like, "No. Bye." Background agent that ran for 2 hours cuz you tried to make it stand up a service and it did it wrong, very expensive. To the point where most engineers won't even review the code, they're just like, "Forget it." They delete the whole branch and they could try to do it again. So, that whole thing is just waste. We should experiment as a community. Experiment, for sure. Run stuff. Some tokens are going to burn. It's fine. But at the same time, if you're trying to do this at scale and get your teams productive, like you can't keep having that happen again and again. So, you should worry about things like context.
[0:44:01] And then these are the four key points that you should actually back it up. No, let's just do it. The four key points, like you'll go into market and you'll see a bunch of people say they like do context. That's great. What they probably mean is they have a static file somewhere. You want them to have these core competencies. So, like actually have the notion of personal memory and organization level memory. There's two layers there that matter. How does org run? How do I want to work with my models? You got to have personalization. So, who am I? Where do I work in the org? What do I care about? If I say the off service is down, what does that mean? Don't make me have to tell my agent that. I don't want to have to copy-paste docs in. Just understand who I am. Take that from Usually it's Octa or some SSO. Reasoning, that has to be able to happen server-side outside of the actual working agent's window so that I can reason about stuff over here and send only the useful data back. And then resolution, that is that conflict problem, which one is right? Cuz correctness is all we need to make sure we ship good code and like deliver things of value into this world. So, make sure it has these four core competencies. As well as of course, underlying all of this, by the way, is just off.
[0:45:11] So, it should know who you are, what data you're allowed to see, what data you cannot see, cuz at scale these things do matter, unfortunately. So, our biggest customer has like 12,000 engineers and each one is finally scoped. We know what they can use, we know what they can't use, we know they're supposed to see. These are some of the outcomes of getting a good context layer in place that we've seen from various places. So, Stripe famously has built their own one of these and they've got over 1,000 PRs a week going. Tons of different, you know, 56% faster, 47% less tokens. We have tons of customer case studies on our website, you can read through a bunch of these for more of this data, if you'd like. But, the outcomes are fairly dramatic. You can drop your token bill dramatically while increasing your actual PR throughput. It's kind of like a magic moment in our industry of like how much gain you can get from a single purchase. But, at the same time, just getting your team thinking differently about working with these models to unblock them is is the real hard part. It's change management, frankly. This is what we've seen in like closed bench tests.
[0:46:15] So, I ran a very ambitious feature with and without unblocked. So, with it took 25 minutes. Without it was 2 and 1/2 hours. The big reason there is the doom loop problem. The agent kept producing an outcome and I would read it and go, "You're wrong. Like, what have you done? You forgot this." And then I had to correct it again. So, the wall clock expands because like I was doing something else and then I look back at the task. I'm like, "Ah, you idiot." You like unblock it. So, the time to get that PR in the man is like drastically increasing. And then of course, with context, it doesn't waste time on the search space. So, it's not just grepping the whole code base. It gets the data it needs and then it moves along. So, it moves significantly faster. This is how you actually drive change at your org. I'll let you all probably take a picture. Typically I would do this in that workshop format again, so apologies. I hopefully this has been helpful. But usually I get teams to sit around and like talk about assigning who's a DRI, a directly responsible individual is what that stands for. You need one person to like take control. How can they own getting these things done across the org? So they have to be able to own SSO, security, get the approvals they need.
[0:47:22] You want to start with a fast team who's hungry. I'm sure you can identify them in your org. The team that's like using this. At minimum, pull up the claw dashboard and see who's burning the most tokens and maybe start there. And also say, "Why are you burning so many tokens?" But depending on the number, depending on the number. Automate in public. So this is why I can show probably the fastest of demos, but our product works entirely in Slack. In a public Slack channel, having someone think with an agent in a thread and then have other engineers come in and be like, "No, I wouldn't do that." Or I would do this. It's like multiplayer programming. It's actually incredible as a place for other team members to observe how you prompt your agent like in a public Slack thread to teach the whole team how we should be like thinking about this. It's a really useful technique. So having something like in chat that you can like all collab on. So we do that with Unblocked, of course, and you you can do with Unblocked, too, if you'd like. But it's a really useful way to see these automations in public so the team can see it. The other is obviously get a get a good AI code review that appears on their PR.
[0:48:26] That's in public, they'll see it, too. I say good cuz if it nitpicks, your team will be unhappy with you and not want to adopt. And then put a put a score up. Figure out the metrics that matter to you. Again, that tool gives you some ideas. And then normally we would do this. I will skip this today. But I will let you take a picture if you'd like to run this at your org or something like that. Highly recommend you just like figure out where you are as a team, understand what you want to attack first, and then figure out a plan to move forward. And then these are some ways to measure that actual context layer. So, once you start putting something in place, you should look at things that like what is it retrieving at first? That's like kind of what you're doing every at the beginning. Then sampling how the agents are performing after you gave them access to this. You can either do it in an AI gateway, in the tool call behind if you need, or just give it to tools locally. Just depends on how you want to execute the task with your team. Just all agree to it. Make sure you follow the same formats. And then ultimately see its actual like what is it shipping.
[0:49:34] And we also have another open-source tool that we give away here. This basically takes you beyond rag. And it shows you how rag is a basis for top K retrieval. Super useful to get related documents, but then you want to create a system so that an agent could dynamically discover in a schema-less architecture how to query against data sets. So, this is a open-source workshop we delivered at AI world fair. That lets you build that up on DB. So, you can get the agent to query after it pulls data from a rag implementation. It can then discover the data that matters. Very useful for building a context layer. You just need to do it for every tool that's in your system or your org. The gap is not intelligence anymore. It's context. I think we're all here. Leave headroom for the intelligence. These models are going to get better and better and better. But when you have a good context engine they can serve from, they can just go so much further than you've imagined. It's truly remarkable once you get that stuff running. I'm Brandon. We're probably almost out of time. I can handle questions as long as you want, but thank you. Sorry it wasn't as workshop as we wanted, but I hope this has been valuable.
+ View details
Sign in or Join the community
Exclusive to engineering leaders
ELC
Create an account
Exclusive to engineering leaders
Comments (0)
Popular
avatar


Watch More

When Your Team Breaks: The Messy Growth Stage of a Startup and How to Navigate It
Posted Oct 09, 2023 | Views 687
# ELC Annual 2023
# Start-ups
# Scaling
# Hypergrowth
# Change Management
# Leadership
Audacity In Leadership - When to Break the Rules, Trust Your Gut and Crash the Boundaries
Posted Jun 02, 2020 | Views 932
# Change Management
# Decision Making
# Leadership
# Strategy