Hi everyone!
Below is a combination of ideas related to the operations of software engineering that I’ve been thinking about a lot. Getting work right with AI can be difficult and I’d love to get your take.
Also, a reminder that you can get an AI for Software Engineers annual subscription for just $30 for the whole year until the end of the month. This includes all items in the AI Dev Pass (including 55% off an Educative subscription–which is one of my favorite resources for understanding system design).
A colleague of mine shared a paper with me a couple weeks ago that covers a concept called intent debt. It made me think more about the nature of work with AI and I quickly realized that understanding intent debt is the key to understanding how to successfully work with AI.
It’s inevitable that all white-collar knowledge work will primarily be accomplished with AI. It’s also inevitable that more and more of this work will be done entirely autonomously as models get more performant and cost-effective. As this happens, systems will be created to direct AI in the autonomous work it can complete, and humans will be reserved for work requiring human judgment.
In software engineering, we call these systems “software factories”. These systems include custom instructions, tools, and information an AI needs to complete an engineer’s software engineering tasks. These are critical for consistent and reliable autonomous output (i.e. not having to constantly nudge an AI to "do it this way" or "make sure you check here for info first" and so on because your factory does this for you).
If you work in a knowledge work field, you'll also have to set up a "work factory" for whatever it is you need done, whether content, data analysis, business, or more. Importantly, when setting up your factory, ensure it has a way to improve itself. I’ve found success with ‘Analyze our conversation after each run and propose fixes to our operations.’
Why software factories break down on intent debt
Intent debt is what causes these factories to break down. As tasks become long-running and swarms of agents are applied to problems, we need to be more careful about how we provide information about the work being done to all the agents contributing so they can effectively work together. Agents have no long-term memory outside of what we provide, and single sessions cause context rot, where performance degrades as the amount of information an agent processes increases.

Configuring a factory properly mitigates many of the problems related to sharing what needs to be done with multiple agents by directing the agents on how to use tools, spin up subagents, pass information, and more. What’s much more difficult to achieve with a factory is getting agents to understand and pass the information related to why a change is being made. This is where intent debt builds.
What intent debt looks like in practice
A great example to understand intent debt (even before AI) is looking for that one person who has worked at the company for over a decade when making a change to legacy code. While it's easy to read the code and understand what it does, it's much more difficult to understand what the implication of changing the code is. What relies on it? What decisions were made to build it in its current state? What were the choices behind the logic, abstractions, and organization?
When the intent for that code is lost, it makes it difficult to maintain and improve that system. Margaret-Anne Storey compares this to a missing stop sign. Locals at an unmarked intersection know who has the right of way, so everything works fine until a stranger drives through. With AI, every new session comes in without that local knowledge, and intent debt has shown us that this won't fly in an agentic work environment.

For legacy code, intent debt takes time to build. With AI, this debt builds within a single task. This means the problems that previously took up to a decade (or more) to emerge in non-agentic development can turn up within a single day when developing (or working) with AI.
Mitigating intent debt with artifact-driven development
We need to find ways to mitigate intent debt as much as possible. In a world where doing more work is easy due to AI, the why behind that work becomes more important. Doing the right work becomes much more important when doing the wrong work becomes easy. We’ve seen this as the truth as judgment (or ‘taste’) sets great engineers apart from the rest. Agents also need to understand the why to work effectively.
The good news is this is already something we’ve been doing in software engineering. The bad news is tracking intent is difficult, and I don’t know of a single engineering team that does this well.
Artifact-driven development helps capture intent for AI (and humans) to reference. Ideally, all intent should be recorded in artifacts surrounding the development such as tickets, bugs, documents, code comments, change descriptions, and more. What I’ve seen to be most effective is to pull agent development artifacts (the markdown files they like to generate) out of the ephemeral conversations into more concrete engineering artifacts. This means allowing agents to write bugs, tickets, documents, and more.
This process needs to be integrated into our software factory. The primary concern most developers will have is ‘slopifying’ engineering artifacts, which can have a serious negative impact on development velocity. It’s important our software factory instructs agents on how to write these artifacts and limits them where needed. This can be limiting how the agent writes, where it can write to, and distinguishing between AI-generated and human-generated (I like the term ‘artisanal’ for this) artifacts. It’s also important that agents are instructed on how to update these artifacts over time so they don’t end up stale.
I see this as similar to how we should consider code review with agents. The social contract of code review hasn’t changed: Developers are still responsible for the code they push through regardless of whether it was written by their agent or not. Most people don’t care when work is done with AI. They care when AI produces terrible work that is then passed on to them. When writing artifacts, this should be approached the same way. Artifacts should be written as they are in non-agentic development, but they should be written well and the user should be responsible for them.
Thus, we should integrate artifact creation and reading into our software factories just as they are (or should be) integrated into the non-agentic development process.
If you haven’t read Margaret-Anne Storey’s paper, I highly recommend it. I also highly recommend Addy Osmani’s write-up on the same subject. Understanding intent debt and integrating that understanding into your AI processes is the biggest AI productivity gain at the moment.
Let me know what you or your team has been doing to mitigate intent debt.
Thanks for reading!
Always be (machine) learning,
Logan
Further reading
If you want to go deeper on intent debt and artifact-driven work, here are a few resources worth reading.
From Technical Debt to Cognitive and Intent Debt by Margaret-Anne Storey
The Missing Stop Sign by Margaret-Anne Storey
The Intent Debt by Addy Osmani
Software Factories, Light and Dark by Addy Osmani
AI’s Biggest Cost Is Cognitive, Not Compute (Weekend Reads 2)



