Transcript
Jeff Smith: I'm Jeff. This is me. I really consider myself as having like two feet planted. One foot is in open source and the other is in AI, really for most of my career across a number of different generations of technologies across a couple of decades. Some of my specific experience in AI and open source is heavily influenced by my time at Facebook Meta, leading the PyTorch team and working with that larger ecosystem. A lot of what we're going to talk about today comes from the world of open source, but I think applies more broadly and will impact you, particularly inside the enterprise. Just generally, I'm active across a number of ranges of things going on in AI in startups. I run my own early-stage startup. I also invest in other things and try to help people get new things off the ground, including open-source projects.
The Intelligence Gap
I'm going to talk today about a gap, a gap that I think almost everyone has probably seen before. I'm going to give you a really simple formulation to see if this is a talk that speaks to an experience you have. Who has used an AI coding tool to generate some code this week? Did you reject any of its suggestions, if you corrected anything, if you told it it was wrong about stuff. This gap between what you thought came out of the model, what could have been correct and what you actually had to correct it to, this is what we're going to talk about the entire time. What is the difference between what's in the model and what it needs to know to be accurate for your use case. To get us grounded, I want to make sure we all have the same view of the world. I'm going to take a somewhat open-source centric view in this beginning, and then we'll bring it deeper into the enterprise. I'm going to start with some third-party data. We're going to spend most of our time with the data I've personally driven the collection of inside my organization.
Code Without Comprehension
The first thing you need to know is that there's just a lot more code. It's not just buzz. It's true. There are so many more reviews happening. The size of that code is getting larger. The number of PRs is getting larger. The review time is getting larger. As you'd expect with a finite number of hours in the day, with a finite number of experts, quality is dropping. This is something that's not really like you have a perfect data point to pull from this stuff, but there's a number of different sources which I cite in this slide that talk about the rise in incidents, the number of issues per PR, which is what you'd expect if you roughly double your PR size overnight, and thus effectively half your depth of review most likely. We're going to dig into this a little bit more narratively, try to understand it mechanistically so we know what we're talking about so that we can start to build strategies to bring it to bear inside our organizations.
This is Jeff Geerling, another Jeff from Missouri. This guy happens to work on a lot of open source. He's a YouTuber, does some blogging. You may have seen some of his work with Raspberry Pis. He's put up some viral posts around this topic. He gives a really good general introduction to what is the problem when you are an open-source maintainer and people come with coding tools and start to hit your repo with automated contributions. Very frequently, they haven't comprehended much about your code. They don't know, it looks surface level correct, but there's oftentimes not the follow-up there. He makes various extensions to crypto bro type behavior. Dan Stenberg of curl fame is a more extreme example of this. Typically, in open source, there's very little money on the table. You're just making a contribution for your own collective improvement of the codebase. Curl is one of those organizations that puts up bug bounties.
It's seen a massive uptick in people trying to get those bug bounties with automated tools, they have to shut down PRs. This is really across the board. This is something to keep ourselves in mind. What do we mean when we say open source? Organizations like FAIR at Facebook Meta paying for the PyTorch project are really quite exceptional in terms of the fact that those are paid full-time contributors doing the core of the work. A huge portion of open source is really being done in an unpaid fashion, but it's a part of every single person's software supply chain. When their workload ticks up, there's not necessarily someone to go to, to get headcount allocated to hire more people to do this work. I think that the nub of the issue we're talking about here is that the cost of creating that new PR for that new feature has gone down to nearly zero, but the cost of review hasn't really changed if you're actually intending to apply human expertise to this.
I want to give us a little bit more flavor for how extreme this scale can get. Anyone ever heard of OpenClaw? OpenClaw is probably the biggest thing to happen in open-source software within the past three months. Came out of nowhere, blew up. You can see that the number of commits that are occurring here, it just explodes overnight. They're clicking along at like 840 PRs a day. This is an insane rate of development for something that started as just a single developer project. A lot of this is being done by OpenClaw instances themselves, writing that code, submitting it there. One of our key questions here is when the SDLC changes in this way through agentic code, are we in fact getting usable code out and why not? This is a really extreme example. Their merge rate is 13%. This is the absolute lowest project we have studied of anything at open source for their merge rate. The vast majority of what they're getting from OpenClaw instances back to OpenClaw are unmergeable PRs. They're either getting rejected or pocket vetoed.
Talk a little bit more about things that are a little bit less extreme, but are seeing really big changes here. The first example here is a product called tldraw. There's a fairly viral blog post called Stay Out of My Trash. It repeats the pattern that people have seen, which is, there's this surface level correctness. The tests typically pass, but there's this huge spike in PR burden that often really becomes problematic because the issue selection is quite poor. The problems being solved are not necessarily the ones that the project maintainer really privileges. In this case, Steve just shuts down external PR contributions to an open-source project that became really popular. A fairly really notable example in a different part of the ecosystem is Godot. Godot is an open-source video game engine. It's popular with a lot of the folks who are trying this agentic coding work.
What they found was they saw a huge explosion in submissions to the project and that really changed the way that they have to maintain their triage process and their ability to accept PRs. All those narrative examples are to get you grounded on this. There are different worlds. You may be living in one of these different worlds if you're a different open-source developer. Inside your organization, you may be matching one of these two lines. Our top of the line here, establishing our roofline, our stable rock stall at people, some of my friends over at NumPy, they are not seeing this world happen at all. That the drive-by vibe coded submissions, basically not disrupting the NumPy project. People are not trying to put up new numerical math to NumPy. Same sort of true at similar numerical computing libraries. SciPy reports a similar story. scikit-learn is a little bit closer to dropping off.
There are projects which are getting hit by this pretty hard. You can see Godot falling off there. You can also see things that are close. pandas is really similar to NumPy, but they've also seen a similar drop-off in their merge rates. Which project you're in is really going to determine how you understand how much coding AI is changing how your project evolves.
How Do We Triage Inbound Issues?
When you look at something like this, one of the things that really becomes key is how do we think about how we triage our inbound issues. In an open-source context, there is a social dimension that exists less in enterprises. I'm going to talk about it in the context of a project which I led the development of. This is an open-source project. It's called Good Egg. You can find it out there on GitHub. It's been through a couple of different scoring models. The core question we're trying to answer for ourselves in Good Egg is who is a good open-source contributor already? Who is already exhibiting the behaviors at which we should merge their code? There's a lot of different iterations on this model. I released a blog post with some updates going through the whole basket of eggs approach of diet egg, fresh egg, and a failed attempt at a bad egg.
The long and short of it is basically the best signal you have right now in open source is whether other people are merging this person's code. That merge rate alone is the most predictive property that you can find. A lot of the other sophisticated metrics are extremely gameable and not really easily classifiable if you're trying to defend against this. This gives a sense of like, ok, someone's an established contributor. They're writing good code. Jeff's contribution to NumPy is probably just as trustworthy as it was to SciPy as it was to scikit. What about these people? I get a lot of questions about these people after having released Good Egg, which is, what happens to the new contributor? How do you get past the cold start problem? AI PRs oftentimes look like newcomer PRs in the sense that there's not much social signal to derive from them.
Oftentimes, the new software developer contributing to open source is using agentic coding as they have this surface level correctness to them, but you don't have a lot of good history from it. Really the question you have to dig into, whether in open source, whether in industry, whether this person's a new rando on your repo on GitHub or a new employee in your company, is, do they in fact understand what is in your codebase? That's what we're going to spend the rest of the talk digging into is this comprehension question. How do we really assess this? We're going to get pretty computational. We're going to get a bunch of data on this one and facts to help us understand, are people submitting good code to our repos, not just based on these proxy signals, but by in fact what's in the code itself.
A Unique Codebase with Rules - Repo Fingerprinting
This is one that based on assumptions is going to underpin the rest of everything I have to tell you, which is that your codebase is unique. It has rules. I'm going assert that a lot of those rules AI has never seen, and that's why you're seeing this divergence. This is a big part of why the gap exists between what you believe is good code for your codebase and what in fact the tool can spit out with the knowledge it has. I'm going to begin with this concept of fingerprinting repos. I want to really get very specific about what is different about your repo. I'm going to establish a couple of formalisms that we used in research I have led in my organization, focusing primarily on open source, but I think mapping to many commercial codebases as well. This is this idea of what is durably true about your codebase.
I'm going to establish two categories for this middle section here. The first is what I call rules or architectural constraints. These are the things that are quite technically specific and usually durable over time. These are things like, how do we determine how our dependencies are brought in? How is our config set up? How do we register new components? These are really pretty concrete technical rules. Some of them are going to enforce in your tool chain. Many times, they're not explicitly documented. Procedures are really more of the governance of what happens in a PR itself. How do we make changes and how do we negotiate those policy things? You learn these things different ways. You can observe them in different spots. In the datasets that follow here, I'm going to show you a lot of examples of how to do this with LLMs, learning it all computationally, getting it out of the machine, proving it works.
The one thing I want to point to you here is this methodology is shown to work. We are seeing pretty high adherence rates, 83% and 72%. These are methods that will actually help you understand what's going on in your codebase. You can actually pick these things up with an LLM. You can probably do better with humans. We're going to spend the back part of the talk talking about how you do better with the humans in your organization. Let's just look at the data. This little heat map here is a bit dense. These are our rules and our procedures. Our top row is our rules. These are our tight technical constraints. Then our procedures on the bottom level are our SOPs, our change management rules. Some things I've drawn out of working through various versions of this data, one is that there's a stable territory. There are things that are like numerical computing the NumPy, SciPys of the world, pretty rock stable.
They have really established SDLCs. They have small committer groups that are stable over time. These things are not changing how they're working. The impact of coding AI is really just ticking up on their merge rates. They're actually operating in very much the same way. Now, where we see some of those darker purples there, what we're finding is more heterogeneity in how changes are managed, how the organization writes new code. Again, we're all in open source here. Some of those things that are more purple there are things like agent harnesses, fine-tuning tools, a lot of the key parts of the GenAI revolution. They operate differently.
I want to walk us through some technically concrete examples of the thing you can learn from the history of any given project. They're all going to be open-source examples. Then we'll talk about how you can find them inside your codebase if you happen to be working in closed source. First, this is one of the most common rules learned autonomously from just working across open source, which is there are these patterns of how to synchronize versions across multiple files. You might say that I want a single source of truth and set my dependencies only this way. There are very often projects that have the horizontal extensibility dimension that prevents that, where you might need to make changes in three or five files at the same time to keep version numbers in sync. This is a key part of what gets enforced within the PR review, what causes PRs to get kicked back.
It's notable that we discovered this across a wide range of related projects. Many of them look like things like coding harnesses. It's also interesting to discover where it doesn't show up. In more atomically shaped projects like Ruff, which we'll talk about more later, it doesn't have this horizontal extensibility dimension and thus does not have this rule. You don't have to update three, five files to tell it when your version dependency has changed. More about dependencies. This one I think is really interesting. This one is a single project rule, but it's actually a family of rules around how dependencies are isolated. I think there's actually six distinct rules that basically boil down to this lazy imports pattern enforced at various levels. This is in LangChain, which has a huge number of integrations. It's a big part of the power of LangChain for building out agentic applications.
It's why people use the application. Inside the repo itself, there's a need to protect against maybe not having that dependency installed. That rule is enforced at many different levels, and all of which must be honored for you to get a successful PR through, very little of which is actually documented in the repo and certainly not in one spot. It's very unlikely that an agent will know how to get all of this right on the first time. You're going to struggle a lot to get through all of these hoops because you may have not realized that you need to be lazy and then you've put in the laziness, and then you don't realize that there's a special test decorator and that there's a particular mechanic for how you inject in secrets and things like that. Really quite complex sets of rules that are being used as part of the culture of projects, but are not directly in the codebase for discoverability by tooling.
A lot of the examples I have selected in this study are based on my own personal interests and the focus of my company, which means they're very focused on AI and to a certain extent they're focused on Python codebases. Here's an example that brings us to a little bit more diversity. I'm going to explain these two projects. vLLM is an example of an inference platform. If you've ever used AWS SageMaker, that's what you're actually inferring on. It is a Python-predominant codebase. It does model serving inference. Ruff, as we alluded to before, is a linter. It's written in Rust. It's very different in its usage, in its size, and in its implementation style. In this case, it's really interesting to see that they have a rhyming rule here that was derived. This rule doesn't look the same in the code at all, at surface level syntax, but it shows up in how new components are registered.
There is a way in which you must say that this new thing is a model in my registry. It's implemented wildly different. In one case, you're using macros. Then the ways in which it gets wired up to other parts of the codebase are really quite different. This pattern must be followed for something to be merged. Again, you have to pick up this knowledge through fairly deep understanding of the codebase itself. Developers in this codebase just point in general purpose, LLM technology will not necessarily always get this stuff out. It's going to occur across every type of project, even though sometimes there may only be this rhyming property to how similar they are.
One last concrete example from one of these learned rules here. This is another one of those projects where I know the folks well, like at NumPy. In this case, this is Wing Lian's Axolotl. This is a fine-tuning framework that you may have used for fine-tuning language models. Super powerful. One of the challenges it needs to have is it's really a glue library that integrates a lot of things across the Hugging Face ecosystem. It allows you to fine-tune a huge range of models using a wide range of different fine-tuning methods. It has this extraordinary breadth to it. That also means that it has relatively little control of what some of those underlying components are. The integration of all of those things ends up being the concern of Axolotl, but not necessarily directly visible within the Axolotl codebase. The particular rule here example comes out of a particular combination of how you can use flash attention and merging LoRAs, which are a fine-tuning format, and lead to a silent corruption.
The only way that you would know this is you would find the corresponding line within this 800-line God method that does a config validation. It's very hard to intuit this yourself. It's certainly not available to the coding agent to figure that out without first breaking it. Knowledge like that is living in everyone's repo and not really being manifested in a way that's usable terribly well for humans or for agents. Thus, we get things like the 800-line function somehow failed my test. You have to really pull that knowledge back out today. We have better ways to approach this. We'll talk a little bit more about that.
I want to zoom out and get a little bit macro here. This is another color-coded map of the world here. When you try to learn what is going on within your codebase, those things which must be durably true for your codebase, some of what you're going to find are the really base-level, really basic stuff. This is our green boxes here. These are the universals. These are the things that maybe the linter is already doing for you. You just don't have a doc about it because the linter just rejects it. The highest leverage ones to go hunting for as we move into our back section are the things that are repo-specific, that are unique to the reason why you have to register new components in this fashion which uses macros. Or you need to synchronize your dependencies across three, five different repos. This data is a snapshot of a specific project, DGL.
This varies the split of how much it's universal versus repo-specific. Our purple stuff is our most valuable stuff. Those are the things that are unique to your team, to your technology, that you're really trying to get people to learn and enforce throughout their SDLC. In the middle there, that orange, are those things that are a little bit more of generic software engineering knowledge that are common to the tool chain. An interesting outlier is LangChain. We talked about LangChain a little bit before. LangChain showed an extraordinarily high rule adherence rate in our studies on that as a repo. One of the reasons for that is that a huge portion of the rules that they're enforcing really live in this green to orange range where they're really just saying good software engineering things and ensuring that good code is included. That purple layer at the top is really thin in terms of what are the project-specific constraints.
Discovering this structure and figuring out how to prioritize at the top I think is one of the best ways to go forth and put this to use inside your own codebase. I'm going to make an assertion here, which is your team knows these rules. You could ask them and you can get them to write them down. This seems like somewhat of a simple procedure. I'm going to walk it through in the backend to give us a little bit more of a concrete map to how this plays out. Everything I just showed you was learned via LLM. I don't think the LLM was doing a smarter job than a human could do. I certainly don't think it has better intuition. There are ways to take some of these tools and go back and just use it as a mental model to attack your own codebase, regardless of where you're at within agentic coding adoption.
Making the Insights Useful
Let's actually try to make these sorts of insights useful inside your codebase for your team to solve your problems. Here's my basic script for you. I want you to grab the technical experts on your team, get them in a room, ask them some basic questions. The first one is just trying to get their hot takes on what they're going to reject on sight. What are the things that are obviously wrong on their face? The second category are the things that break silently. These are often like if you have a good agile process and you do retrospectives, maybe these are the things you're recording and really trying to learn and improve your tooling and your delivery process around. Silent failures, like our example of Axolotl, can be really critical knowledge that can be extraordinarily high leverage to capture and make less silent and louder. The third question to throw out there is really to focus at your human onboarding process.
What are in your onboarding docs? What do you actually train people on? What is your judgment for how competent someone has become within your codebase? How do you enforce those things? Being able to record all that stuff, you're going to get some rules, you're going to get some procedures. I'm going to say that for a lot of this stuff, when we talk about toolifying it, you're going to probably get higher leverage out of putting them to use in a rule-based fashion. This is referring back to what we were talking about before. Just briefly, the knowledge you want is repo-specific. This is your highest priority, highest leverage type stuff. Everything that's sitting lower in the stack, your code styling, your formatting, your standard SDLC stuff, you've got great tools for that already in the way that you already ship. There are oftentimes not necessarily wildly new opportunities here.
The repo-specific insights that you are writing down for the first time have new places you can land them in. We're going to talk a little bit more about which ones of those work and how well they work and what are your strategies here. For folks who are at least already using agentic coding, you're probably already thinking of your CLAUDE.md, your AGENTS.md, your Cursor rules. You're on the right track. I'm going to talk a little bit more in a principled menu across the way. There are really two ways that you can put this knowledge to use in a generic sense. One of them is the way that traditional machine learning practitioners like me were trained decades ago on how to do this, which is in fact learning. The first way that people use these days is something that's actually fairly new. You can think of it as a form of in-context learning.
Really what we're talking about is shoving things in the context window. Sometimes called context stuffing or context injection. This is all of that stuff around writing skills files, putting things in your systems prompt, putting things in your AGENTS.md, your CLAUDE.md. The presumption here is that the model has not changed. You're working with a commercial cloud-hosted model that is completely unaware that you've made those changes. All of this is just new information being fed back into every single inference call. It has certain positives and certain negatives. The alternative is the other thing which machine learning used to be all about, which is machine learning. That is learning from trained instances to update model weights in some way. The way that most people are going to do this today, if you do not run a foundation model organization, is to do a fine-tune. A fine-tune is going to produce a much smaller artifact called something like a LoRA or other sorts of formats.
Fine-tuning is really interesting. I'm going to talk quite technically specifically about what you can get for it out of these coding models today. They have different tradeoffs. They have different economics behind them, different runtime, different technical skill sets required of your team. This isn't really an or. I just want to give you a map of the land. It's just going to be a snapshot at exactly this moment in time in March of 2026. This knowledge will absolutely move. I'll try to give you a sense of what the slope of the line looks like.
First, I'm going to give you an example of what it means to learn a skill. This is based on some work of the Hugging Face team. They call this work upskilling. It's a really interesting semi-autonomous approach. We're solidly in the context window type solution. What we're trying to do is we're going to ask a frontier grade model, an Opus 4.6 or a Codex 5.4, what have you, to solve a class of interesting problems. In this case, they're doing kernel authorship. We're going to record all of those traces. Then we're going to reduce those traces down into a textual description of how to solve problems like that, condensing the knowledge, and then recording that within the codebase as a skill. It does not update the model. The main reason you would do something like this is it allows you to use much smaller and open-source models.
That's what all our dots here are, are things which are smaller models that got improved in their intelligence by learning this new skill. It's also important to understand what is our horizontal axis there and what is our vertical axis. Our vertical axis is the thing people are thinking about. It's like, so if you learn this new skill, then you are more accurate. Correct. Some of those cases. That's your vertical axis. That's what you're shooting for. Another property that really should matter as well, though, is how much you're moving within the horizontal axis. This is how many tokens we're using. This is how much time it's taking you to solve the problem. This is a really key motivator behind what will actually make local coding, or at least on-prem coding agents possible, is the ability to move leftward on that graph and to have knowledge that is specific to a repo or to a task that allows you to prove that performance.
Skills work somewhat, provided that they are fired at the time. This is a very contrived, scoped example. The skill was learned. It's perhaps not the most general software development process. Let me show you something that's a little bit more general. This is the work of GEPA. This is from Matei Zaharia's group. You may know him as the creator of Spark and a bunch of other technologies. This is based on a technology generically known as optimize_anything. This is a more autonomous way of learning how to pick up these skills from a codebase. It really covers a wide range of circumstances. It's pretty autonomous. It really works in an eval and learn the skills and compact and compile that down. The ending result is the same thing. It's a text file as an md that can be injected as a file within your inference process for performing well at a particular task. Really helpful that this is now automated and turned into a system-type concern. I think this is the direction where a lot of this work is going. This is fairly experimental work, but really powerful in terms of pointing out how far you can take just arbitrarily improve your performance on a task of interest.
I want to move over to the part that I am more loyal to, which is machine learning, which is actually learning the task of interest. This is a data point from the team over at Together. Together did something really quite simple. They took a small open-source coding model and they improved its performance. Like the Hugging Face team, they used full execution traces of a frontier-grade model. That is, that they had a model from, I think, Opus 4.6 or something like that, solve some hard problems, record out all those traces, and then just do a very simple fine-tune process on top of that base coding model and improve its performance. The jump here is really quite startling. It's low 20s up into nearly 60% on the task of interest on what is really a quite tiny model. We'll talk a little bit more about what model size means in a minute.
This is a huge jump in performance just by fine-tuning. The cost here is not nothing, it's $130k U.S. from a cloud provider, done primarily, I would presume, as a marketing expense, but really a powerful jump on what are much smaller-grade models. In my opinion, this is one of the proofs of life. We're all eventually going to be running fine-tunes that know more about our specific codebases. Let's get cheaper. Let's get smaller. Let's get more useful today. This is the work of SERA from the group at Allen AI Institute in Seattle. They're a non-profit. Their work is some of the absolute most open, truly open-source model training recipes and datasets, in contrast to the open weights that you will see from the vast majority of other players. Really informative result here. What these folks are doing is that they're doing a level of fine-tune on a repo-level specificity.
Remember, if we go back to these guys, the whole trick here was just learn from successful execution traces. A big part of their massive jump here was they threw away the failed execution traces, the times in which the coding agent didn't do a very good job, and they just trained off of the good stuff. Massive jump, just from a little bit of data curation on some newly generated execution traces. In SERA, they're doing something quite a bit different. They're doing all of these small perturbations, what they call softly verified execution. Through doing in a method like this, they're able to get extraordinarily efficient eval infrastructure footprint. That means that you're in the territory of just a few thousand U.S. to fine-tune on a given repo, and it's going to allow you to get up to a state-of-the-art performance on a much smaller model.
I've alluded to some of these things around economics and model size. We need to put it in context so that you get a sense of like, when does this matter for me and my organization? The first question I think is important to answer is simply this, does an open-source model today compete with the thing that is on offer from vendors? That's our distance between our green and our gray bars there. In our first section there, it seems like they're at parity. This is unfortunately not true. Those are the reported numbers. It just doesn't prove out in practice. This has to do with things like benchmaxing as well as saturated benchmarks. A general truism that I would say circulates around the industry matches more of those other graphs there, where you can see roughly a one-year lag in performance. An open-source state-of-the-art model is about as good as a commercial model from about one year ago.
Those data points where you do see the outliers up here, like this guy, where you think, maybe open-source is really close. Maybe it's not completely benchmaxed, but you can't serve it inside your organization because they're extraordinarily large models that you could not economically serve for your business case. They're being fantastically subsidized. These are huge, expensive models. There's no way you could do it. Which is why you should care about our orange and our red there. These are examples there from the CoderForge, from Together AI, but then also from SERA at Allen AI. These are examples of getting closer to on-prem serving economics, because they are specialized to your repo. They're not generous. They know the specific things about your repo. These are also the things that eventually will get you to the world where, hopefully, you can do this on desktop, where your machine has local coding intelligence.
That's the world that I'm hoping to see. I want to give you a really brass-tacks, today, actionable plan for some of this stuff. This is where we stand today. You can record some of this knowledge today with human knowledge, write it down, put it in your coding tools. That's nearly free. Really high ROI. There's more that you could do in terms of actually trying to derive some of these skills. You could run frontier models and try to record their traces, compact them down. Also, not hard to do. There are good blog post guides. Pretty high return on investment. There's some gaps in terms of how durably accurate those sorts of things are going to be. They get more extreme as you get into the fine-tuning territory. I think fine-tuning is really powerful for the organizations it's right for. It's not right for enough organizations today.
The ROI is not quite there yet. In part, it's not just because of the cost of compute, but it's a fairly technically sophisticated process to get these things to happen reliably, correctly, and the serving economics of having open source on-prem models are still a little bit uncertain for a lot of folks. I don't really recommend going all the way out to fine-tuning. The last concern I would say here is your skills might drift a bit over time. Your fine-tuning almost definitely will rot. It's not 5K, one and done. You need to also then continue to maintain that and do ongoing fine-tuning. I still think we're going to be moving rightward in this chart over time.
Zooming back to that perspective we took in our open-source section as well, I want to give us one more tool that we should really be bringing back to our organizations, which is, if you wrote this stuff down, if you're documenting it for agents and you're thinking about these are how our code is written within our organization. These are the definitions of how our application is built. This is the way that we do things correctly. These are how new modules are registered. You've got that knowledge, now you can put it to use. You can imagine a way of toolifying this. I think that's an interesting thought experiment. You can do this with humans today. The more institutional knowledge that you capture, the more you can put it into your code review process and really evaluate it. This is something that I would really encourage people to think about.
If you capture it, can you actually just test for it? This is pure wisdom. You don't need to write a new line of code. You simply need to mine your own organizational knowledge, put it to bear, and test. It's a really great check for if you're seeing these explosions. I talk to folks who are in enterprises in this town, seeing people try to land 5,000, 10,000 LOC diffs on a daily basis. If you let people run at maximum speed on vibe coding inside an organization, you're going to find that people are not able to answer these questions. They're certainly not able to answer them quickly. Being able to really tease out what sort of technical acumen was understood and applied to your problem is a really critical step here if you're actually going to try and up the velocity and follow some of these things.
The agentic tooling will not get you there 100% of the way. I think actual human verification of knowledge is a really critical step if you're actually going to adopt anything like the tool I'm going to describe. We have one more pitch for capturing organizational knowledge and how it applies. I think this is fairly relevant to the folks here. Just based on broad economic statistics, I think a lot of folks here are going to be either involved in or adjacent to a regulated industry. Financial services plays a huge role within the London economy. There are a lot of laws that are relevant both here in the UK, but then also within the continent as well, that are coming online and have really huge consequences for some of the behaviors around security and your software supply chain. Some of this really impacts how you get your open-source software supply chain and who's validating that and knows whether or not it in fact is being maintained the way that it should be.
Some of this is really about your responsibilities as a technology organization, depending on how you build and sell software and deliver it to people. You could have really big impact on what this means for your organization's penalties within a regulatory environment and its ability to do business. The capture of some of those constraints and the ability to audit against them, whatever you toolify versus doing with human business processes, this is the same investment. You are investing in compliance when you invest in capturing your domain model in this highly structured manner.
Your Tools Cannot See What You Have Not Documented
The last thing I want to underpin here is we've really looked at this quite comprehensively across a lot of different codebases. It's quite clear. This is the cause of a huge range of the intelligence gap. Our numbers from our studies come back as, depending on your repo, you might be somewhere between 11% to up to 63% of the time agentic coding violated a constraint. It would have been impossible for the agentic coding tool to retrieve that knowledge from your codebase. That is, RAG cannot find what isn't in your codebase. When that knowledge is not documented, it's not possible to use agentic coding effectively and get those results out. If you're leaning into trying to do a bunch of agentic coding to produce these features, you cannot have invisible organizational knowledge being the key criterion for why a PR does or does not get merged. It will be what you spend all your time trying to detect.
Action Items
I'm going to wrap up with the tiniest bit of homework, the easy, lightweight exercise. You can go home and use this within your organization, within your team. Procedure works real simply. Let's ask those questions. Let's write down that organizational knowledge, organize it, try to figure out what our constraint catalog is. We've got a catalog of these constraints, now we can start to put them to use. We can just horse race them. We can put them in our files, and we try and see what our execution accuracy is, whether those constraints are honored when they're put into places like CLAUDE.md, Cursor rules, other locations, new skills learned, and things like that, versus not injecting it at all. If you found really valuable constraints that define what is unique about your organization, that horse race will give you a really clear understanding of what your ROI is for documenting your organizational knowledge and preparing you for all those steps as you continue to evolve your SDLC. I think, really, when you start to take this perspective of it is your opportunity to capture your business processes, capture your technical strategy, and put them into the knowledge of the repo, this gives you a lot more agency in the era of agentic coding.
Questions and Answers
Participant 1: All this is around code as well, but is it possible to extend that framework to use for data processing?
Jeff Smith: You're asking whether this same approach can be used for data processing type code and more of a data science application that's trying to calculate something?
Participant 1: Yes. I'm thinking, for example, too, when you're getting heaps of data that come from unstructured sources and trying to find entities, trying to do like NeRP, that are really complex right now, can we try to write those rules in here for context-specific industries?
Jeff Smith: Yes. I'm using software engineering quite generically in this talk. I mean all forms of writing code to solve a problem. I think data processing pipelines are the same as some things which look more like infrastructure and DevOps. These are all the ways in which people are adapting to workflows. I think you'll find pretty meaningfully different rules applied. For example, within a lot of data processing systems, you have different rules for deterministic constraint enforcement beyond what we would call, say, a linter. You may have the ability to do things like put triggers into your databases and enforce constraints and things like that. Your ways in which you take that knowledge and then slap it into something that enforces at your deterministic layer without risking having to expose it to an LLM may be different, but it can be a great way to mine your vast past historical knowledge. A lot of data science workloads and similar analytic things, I tend to think are good examples of stuff where you're going to see more of a need to lean on the deterministic tooling, discover the source of the problems, but then propagate them back to something that gives you a more predictable result. That's my pulse.
Participant 2: Have you actively applied this to a repo of your own? If so, was there one thing that you did you went, that made a really significant difference? One rule, one procedure?
Jeff Smith: Yes, so do this all the time. This is a very active area. It really depends on what sort of workload you're in. For example, my team does a lot of experimentation. Some of the key things you need to know are how to register experiments, where your data source is, how it's time handled and temporal separations of a training set versus a test set. Anytime that you're able to backpropagate that knowledge into something that is at least accessible within the codebase, allows it to be picked up by a planner, for example. Some of that is just like what is the shape of the common feature within your organization? The more that you can capture that, all those tend to be really high leverage, particularly if you've made a choice that you can verify that is perhaps divergent from a common tech choice. As an experimental server, we use MLflow, a fairly common choice.
That said, I would say that most models have a slight preference for Weights & Biases. I don't ever want to use Weights & Biases. We have an MLflow server. Being able to enforce just like literally this is our tech stack choice is something that can just straight up cut off your token usage and get you more quickly to calling the right backend server and things like that. This is mapping your architecture and building that, the same way you would do for human onboarding. It really does have to be in your repo and organized in a specific fashion for you to be able to capture that. Generically, I would say, what are your core tech stack choices and how is your architecture organized? Those are some of the highest leverage things, particularly in those areas where you diverge from the norm, whether it's an old version, a new version, a less common library.
Participant 3: You're mentioning all these constraints and these rules and stuff that you will codify. One of the issues that sometimes is experienced with AI is that if you add too many rules, it loses attention to other rules. Eventually you get this diminishing return or even maybe diminishing. Maybe it gets worse. How do you manage that? What's your experience? Do you have any suggestions on how to make it so it actually follows those rules as you add new ones to it?
Jeff Smith: I think that's a really accurate observation. Your context window is not a free resource. You will consume it. Attention degrades over context length. You do not get the same performance at the 200,000th token as you did at the first token. That's absolutely an accurate pulse on how this stuff works. You can't just stuff the context window with everything. There's a couple of different layers to the answer to your question of how do I manage this today? Some of this is just recognizing that that is a finite resource and having a prioritization mechanism within your organization. For example, don't put in your CLAUDE.md, use descriptive names for variables. That's generic software engineering advice. You do not need to teach the model that. What you need to elevate are those things that are repo specific and quite clearly differentiated within your codebase. That's one way to just use a finite context window budget effectively.
I think some of this is really like product work for people working on coding agents and code review tools and things like that to understand relevance and to do more proper tuning. If you're not building in the space, I would say watch this space and I bet you'll find smarter and more intelligent selection of which ones are relevant for your use case. I think that you oftentimes have really good human intuition from your tribal knowledge of the domain, which ones should be upranked. You can do a pretty good job of this in a way that I don't think AI tools do today. You can just do that through human editing as what I would do this month in time, even though I expect the technology to improve dramatically in terms of its ability to do that RAG top-K, like this disambiguation of what are the relevant constraints to apply to a given piece of code. It'll get better, but today I'd be careful.
See more presentations with transcripts