The Agent Architecture Category Error

Match AI Agent Autonomy to Missing Knowledge

The Agent Architecture Category Error

Architects and lead software engineers face a category error: they treat agentic frameworks, harnesses, and bounded workflows as interchangeable agent architectures.

That mistake matters because these systems are not different names for the same thing. A bounded workflow executes known steps. An agent framework helps engineers assemble agentic behavior. A harness puts a model inside an operating environment where it can act, observe, adjust, and continue. Each architecture assumes a different amount of missing knowledge.

From a knowledge-centric perspective, the real question is simple: how much of the knowledge required to solve the task can be encoded before execution begins? If the answer is "most of it," the system should stay bounded. The steps, tools, rules, and success criteria can be designed upfront. Adding open-ended autonomy here is not sophistication; it is noise.

If the answer is "not much," the task is different. The system must discover knowledge during execution. It may need to inspect files, search unfamiliar context, choose tools, run tests, read errors, revise its plan, and try again. In that environment, a static workflow becomes a cage.

This is where teams get into trouble. They overbuild simple automations by giving agents freedom where rules would work better. Then they underbuild open-ended agents by using workflow glue where a real harness is needed. The result is an architecture mismatch disguised as AI ambition.

Do not start with the tool category; start with establishing the knowledge gap.

Brittle Systems Hide in Smart-Looking Designs

Architecture becomes brittle when agent autonomy is not matched to the amount of knowledge missing about the task.

In stable workflows, the team already knows most of what the system needs to do. The steps are known. The tools are known. The decision rules, edge cases, and success criteria are either already documented or can be made explicit. In that setting, broad agent autonomy creates unnecessary variety.

That variety has a cost. The system starts making decisions that should have been encoded beforehand. It may search when it should route, deliberate when it should execute, or improvise when it should follow a rule. What looks like creativity and intelligence becomes operational risk: harder testing, weaker repeatability, more rework, and more expensive maintenance.

The opposite failure happens in discovery-heavy work. In open-ended engineering tasks, the team often cannot encode the path upfront because the path is the thing to be discovered. The agent may need to inspect the repository, identify relevant files, understand local conventions, run tests, interpret failures, adjust the plan, and continue. A bounded workflow cannot carry that burden.

This is the knowledge-centric failure mode. Too much autonomy in low-uncertainty work creates chaos. Too little autonomy in high-uncertainty work creates dead ends. In both cases, the architecture is not wrong because the model is weak; it is wrong because the system gives the model the wrong role.

The business and engineering consequences are material. Teams waste time debugging agent behavior that should never have been agentic. They also waste time forcing rigid workflows to solve problems that require adaptive knowledge discovery. The result is slower delivery, fragile systems, unclear responsibility, and growing skepticism toward AI engineering.

The wrong autonomy level turns useful AI into accidental complexity.

Route Architecture by Missing Knowledge

Architects should choose agent architecture using a decision tree that starts with one question: how much of the required knowledge to solve the problem can be encoded upfront?

If most of the knowledge can be encoded before execution, use a bounded workflow. This is the right architecture when the steps, tools, rules, exceptions, and success criteria are already known. The system does not need to "think" its way through the task. It needs to execute a designed process reliably.

A bounded workflow fits stable business and engineering processes. Invoice routing, bill payment, standard report generation, compliance checks, and simple support triage are good examples. The goal is not maximum autonomy. The goal is repeatability, auditability, low cost, and predictable behavior. In these cases, the best agent is often the most obedient agent possible.

If some knowledge can be encoded upfront but judgment is still needed during execution, use an agentic system built with a framework. This is the middle ground. The team knows the shape of the work, but the model helps classify, compare, summarize, select, or route inside defined boundaries. The architecture should expose only the freedom the model actually needs.

This is where frameworks are useful. They let architects design state, memory, tools, routing, and control flow for a specific problem. Examples include structured research, controlled remediation workflows, document comparison, code review assistance, and internal analysis pipelines. The model has room to reason, but it does not own the whole task environment.

If most of the knowledge must be discovered during execution, use a harness. This is the right architecture when the system cannot know the path upfront. The agent must search, inspect, act, observe, adjust, and continue. Coding agents, debugging, refactoring, unfamiliar repository analysis, incident investigation, and open-ended technical work belong in this category.

A harness gives the model an operating environment, not just a prompt or graph. It provides feedback loops, context management, tool access, permission boundaries, memory handling, and often mechanisms for skill extension or sub-agent delegation. The harness does not remove architecture. It moves the architecture up one level: from scripting steps to shaping the environment in which adaptive knowledge discovery can happen.

The practical rule is simple. Encode what is known. Bound what is partly known. Harness what must be discovered.

Agentic autonomy should increase only when the missing knowledge cannot be encoded upfront.

Match AI Agent Autonomy to the Task

The consequence is simple: teams either match agentic autonomy to missing knowledge, or they keep building brittle AI agent systems.

Act now, and deterministic work stays deterministic. Stable workflows remain bounded, testable, auditable, and cheap to operate. Architects stop adding agent freedom where the process is already known. They design for repeatability first and use model judgment only where it adds value.

At the same time, discovery-heavy work gets the architecture it deserves. Harnesses are reserved for tasks where the path cannot be fully encoded upfront. The model can inspect the environment, gather context, use tools, observe feedback, adjust its plan, and keep going. That is where autonomy earns its cost.

This gives teams a cleaner engineering discipline. Frameworks stop being treated as magic agent factories. Harnesses stop being confused with random code wrapped around a model. Bounded workflows stop being dismissed as "not agentic enough" when they are exactly the right architecture for stable work.

Do nothing, and the pattern continues. Teams will overbuild stable workflows with unnecessary autonomy, making simple systems harder to test and operate. They will also underbuild uncertain work with thin orchestration, leaving agents unable to discover the knowledge needed to finish the job.

The long-term cost is not just technical debt. It is architectural confusion. Teams lose trust in AI systems because the wrong architecture was chosen for the task. Leaders then blame the model, the framework, or the prompt, when the real failure was mismatched autonomy.

Keep workflows deterministic where knowledge is known; use harnesses where knowledge must be discovered.

Next Step

Before selecting an agent framework, workflow engine, or harness, architects should first classify the task by how much knowledge can be encoded upfront versus how much must be discovered during execution.

Dimitar Bakardzhiev

Getting started