│

Exploring Quality, Complexity, and Creation

Tag: Artificial Intelligence

  • AI Is Shifting Software from Measurement to Quality

    AI Is Shifting Software from Measurement to Quality

    For decades, software engineering has been built on a simple assumption: the same input should produce the same output.

    That assumption shaped everything. It shaped how we wrote code, how we designed systems, and especially how we tested them. If a function returned something different for the same input, we called it a bug. Determinism became the foundation of trust.

    And it made sense. Traditional software deals almost entirely in quantitative data. Numbers, booleans, exact strings. Things that can be measured, compared, and asserted.

    Then AI showed up.

    AI does not operate the same way. It does not produce purely quantitative outputs. It produces language, images, and ideas. It produces things that must be interpreted. And interpretation introduces variability.

    You can give the same prompt to an AI system multiple times and receive different responses. Not random responses, but different expressions of something that may still be correct. The output is no longer a fixed object. It is a qualitative result.

    We Are Trying to Force AI Into the Old Model

    The industry’s first instinct has been to resist this. We try to force AI back into the old model. We want it to behave like traditional software. We tweak prompts, lower temperature settings, and build layers of control in an attempt to make the output consistent. But this misses the opportunity.

    AI is not breaking software. It is exposing a limitation in how we have been thinking about it. We have spent years optimizing for consistency because consistency is easy to measure. But consistency is not the same thing as quality. It is just a proxy. And like all proxies, it eventually fails.

    That failure is now visible.

    Our Testing Model Was Built for Sameness

    What makes this shift uncomfortable is not just that the outputs are different. It is that our entire testing philosophy was built around sameness. Traditional systems allowed us to build automated tests that assert exact results. If X goes in, Y must come out. That was the definition of correctness.

    AI breaks that definition at the root.

    Two outputs can be different and still be good. They can even be better in different ways. That means correctness is no longer something we can fully capture with assertions.

    The Return of Human Judgment

    In the short term, this forces a return to human judgment.

    We are seeing this directly in how we operate. Our UX team is now far more involved in QA than they have ever been. They are not just validating that something works. They are judging the quality of what is being produced. They are asking whether the output is useful, clear, and aligned with intent.

    That is not something an automated test can fully assert. It requires a person.

    This is uncomfortable for an industry that has spent decades trying to remove humans from the testing process. But it reveals something important. We were not actually testing quality before. We were testing consistency.

    Can AI Test AI?

    At the same time, we are exploring how to bring AI into the testing process itself. If the system produces qualitative output, then the testing layer may also need to operate qualitatively. That means using AI to evaluate AI.

    But this introduces a real constraint. Automated testing depends on speed. AI-based evaluation is slower. It requires context, processing, and judgment. We are still working through how to balance that tradeoff.

    What is emerging is a layered approach. Fast, deterministic tests still exist where they make sense. But above them, we are introducing qualitative validation, both from humans and eventually from AI systems that can judge quality at scale.

    It is less precise, but it is more aligned with reality.

    This Is What Striving for Quality Was Pointing To

    In Striving for Quality, I argue that quality cannot be measured directly. It can only be judged. Metrics can point toward quality, but they can never fully capture it. When we rely too heavily on what can be measured, we begin optimizing for the metric instead of the thing the metric was supposed to represent.

    That is exactly what happened in software.

    We optimized for determinism because it was measurable. We built systems that could prove they were correct through repetition. But in doing so, we quietly reduced our ability to recognize actual quality.

    AI is forcing that back into the system.

    From Measurement Back to Quality

    AI is reintroducing the need for judgment. It is forcing us to evaluate outputs based on usefulness, clarity, and alignment instead of exact matches. It is moving us away from the object as the primary focus and back toward quality itself.

    This is not a step backward.

    It is a correction.

    AI did not create this problem. It exposed it.

  • Why Narrow Responsibilities Make Better AI Agents

    Why Narrow Responsibilities Make Better AI Agents

    My team has been doing a lot of agentic development at work lately. AI is an incredibly powerful tool, and when it is used well, it can significantly advance a software system. Over the past several months, we have been working to better understand agentic development and what actually makes these systems effective.

    What we have uncovered is not new. It is something that has been around for a very long time. All complex systems are built as a hierarchy of responsibilities, and AI systems are no exception.

    The Consumer–Provider Paradigm

    To understand why this matters, it helps to look at how responsibility is structured in any complex system.

    I call this the Consumer–Provider Paradigm. It is the idea that every part of a system depends on something beneath it and is responsible for providing something to what comes above it. Nothing exists on its own. Each part both receives and contributes, and the system holds together through that flow.

    As I wrote in Striving for Quality:

    “It is the idea that every part of a structure depends on certain levels beneath it and contributes something to the levels above it. Each part in a complex system is both a consumer and a provider. The levels beneath it are its dependencies, and the part itself must become a dependency for the levels above it. It consumes what it needs from lower levels, and it provides something of value to the levels that rely on it. Nothing operates on its own. This upward flow of value is what keeps the structure intact.”

    Responsibility is what defines that relationship. It determines what a module is expected to provide and sets the boundary for what it should consume. When that responsibility is clear, the module has a place in the system. When it is not, the module begins to drift.

    What Agentic Development Actually Is

    Agentic software development makes this structure visible in a way that traditional software does not.

    Instead of writing fixed sequences of logic, we create agents that are given roles and allowed to act. Each agent is defined by a system prompt, consumes context, depends on tools, and produces outputs that other parts of the system rely on. These agents are then composed together into larger systems.

    As these systems grow, they naturally form layers. Agents call tools, tools invoke other agents, and those agents depend on additional tools. What begins as a simple interaction becomes a structure of interdependent parts.

    At a technical level, this can look complex. But the underlying pattern is simple. Each agent is a module that consumes and provides.

    Why Agentic Systems Must Follow This Structure

    Because of this, agentic systems must follow the Consumer–Provider Paradigm if they are going to work well.

    An agent must depend on lower-level modules to provide what it needs, and it must provide something clear and reliable to the layers above it. Its responsibility defines both sides of that relationship. It defines what it consumes and what it produces.

    When this structure is respected, the system begins to integrate. Each agent has a defined role. Each layer contributes something specific. The system becomes easier to reason about because responsibility is distributed in a way that aligns with the structure.

    When it is not respected, the system begins to lose clarity. Agents overreach into responsibilities that belong to higher layers, or fail to carry the responsibilities that belong to them. Either way, the structure weakens, and the quality of the system declines.

    What We Are Seeing in Practice

    This is why we keep seeing the same pattern in practice.

    When an agent is given too much responsibility, the quality of its work declines. The outputs become less precise. The reasoning becomes less reliable. The system becomes harder to build on. But when the responsibility is narrowed, something changes. The outputs become clearer. The behavior stabilizes. The system begins to take on structure.

    As I wrote in Striving for Quality:

    “When responsibility is taken seriously, systems grow in strength, resilience, and clarity. When responsibility is neglected, they slide into disorder or stagnation.” 

    That is exactly what we are seeing in these systems.

    Narrow, Generic, and Free

    There is a natural instinct to solve this by expanding the agent. We give it more context, more tools, broader instructions, hoping that increased capability will produce better results. In practice, the opposite happens. The agent becomes less predictable because its responsibility is no longer defined with enough clarity to guide its behavior.

    We see this even in the practical limits of these systems. As the number of tools available to an agent grows, its effectiveness tends to decline. It has more options, but less clarity. The additional capability does not improve the outcome. It introduces confusion.

    What also works is more discipline.

    The agent must be given a responsibility that is narrow enough to be clear, but still generic enough to apply across many situations. If it is too narrow, it becomes brittle and cannot adapt. If it is too broad, it becomes unfocused and loses coherence. The quality of the system depends on holding that line.

    This is where freedom becomes necessary. An agent with a well-defined responsibility must be allowed to fulfill it. If it is overly constrained, it cannot adapt. If it is given freedom without a clear boundary, it becomes chaotic. The system stabilizes only when both are present.

    What This Reveals

    What becomes clear through this work is something that is easy to overlook when building software. Quality does not come from expanding what a module can do. It comes from defining what it is responsible for and allowing it to fulfill that responsibility well. Agentic systems do not introduce a new way of building. They reveal the structure we were always depending on.

    I am very proud of the work my team has done to get to this point. They have been working hard over the past several months, not just building these systems, but learning through them. The challenges have been real, and so has the effort. But through that work, we have gained a much clearer understanding of what makes agentic systems effective.

    What we have learned did not come from theory alone. It came from building, from struggling, and from paying attention to what actually works. And in that process, we have not just built better systems. We have come to better understand the structure that makes them possible.