Sitemap
Maruti Sivakumar V

Maruti Sivakumar V

Harness Engineering

Engineering the System Around AI Intelligence

11 min readSep 15, 2026

--

Your AI Agent Doesn’t Need a Better Brain. It Needs a Better Harness.

A perspective on the engineering discipline required to transform increasingly capable AI models into reliable, secure and operational enterprise agents.

Enterprise AI has reached an interesting contradiction. It has never been easier to build an impressive AI demonstration. A small team can combine a capable Large Language Model, Retrieval-Augmented Generation, an agent framework, enterprise APIs and a polished user experience — and within days create something that appears remarkably intelligent.

The POC works. Executives are impressed!!

Then someone asks: “Can we deploy this into production?” That is when the conversation changes.
· What happens if the agent loses context halfway through a workflow?
· What should it remember tomorrow?
· What happens if an API fails after another system has already been updated?
· Can it execute the same transaction twice?
· Who determines which tools it may invoke?
· Can it access information the user initiating the request cannot access?
· How do we know whether an action actually succeeded?
· What happens when the underlying model changes?
· When should the agent stop retrying and ask a human?
· How can an auditor reconstruct what happened six months later?

These are no longer primary questions about model intelligence. They are questions about the engineering environment surrounding the model. And increasingly, that environment is what determines whether an AI POC becomes a production system.

We Are Getting Better at Building AI POCs. We Are Not Getting Equally Better at Putting Them Into Production.

Press enter or click to view image in full size

The next frontier of enterprise AI isn’t simply about engineering more intelligence into the model. It’s about engineering a better system around the intelligence.

THE INTELLIGENCE-TO-OPERATIONS GAP

AI Intelligence Is Scaling Faster Than Our Ability to Operationalize It

The evidence is revealing.

50% of GenAI projects had been abandoned after proof of concept by the end of 2025, according to Gartner, citing poor data quality, inadequate risk controls, escalating costs, and unclear business value.

>40% of agentic AI projects are predicted by Gartner to be cancelled by the end of 2027.

Nearly 2/3 of respondents in McKinsey’s 2025 State of AI survey said their organizations had not yet begun scaling AI across the enterprise.

The interesting part is that these challenges are not primarily about insufficient model intelligence. The problems increasingly concern: Context • Data • Memory • State • Integration • Security • Reliability • Verification • Cost • Observability • Governance

Most of these capabilities exist outside the model or live primarily around the model. This creates what I call: The Intelligence-to-Operations Gap

Enterprises have learned how to experiment with intelligence faster than they have learned how to operationalize intelligence. So, the challenge is shifting from creating intelligence to operationalizing intelligence.

THE MODEL IS NOT THE SYSTEM

The Continuity We Experience Is Engineered Around the Model

An LLM is extraordinarily capable, but fundamentally it remains a probabilistic inference engine. At its simplest: Input Tokens → Model → Output Tokens

· It does not inherently maintain durable workflow state.
· It does not inherently possess enterprise memory.
· It does not inherently know whether an API transaction succeeded.
· It does not inherently enforce authorization.
· It does not inherently recover safely from failures.

experience is engineered around it. It restores state, retrieves memory, assembles context, exposes tools, enforces permissions, executes actions, verifies results and records what happened.

Hence: Agent = Model + Harness

Press enter or click to view image in full size

MODEL — Intelligence
Understand • Reason • Plan • Generate

HARNESS — Operational Discipline
Context • Memory • State • Tools • Policy • Verification • Recovery • Observability

The runtime cycle becomes:
Retrieve → Assemble → Reason → Act → Verify → Persist → Continue

This leads to our working definition:
Harness Engineering is the discipline of designing, building and continuously improving the operational environment surrounding an AI model — controlling how it receives context, maintains memory and state, uses tools, exercises authority, verifies actions, recovers from failures and learns from operational feedback.

The model provides intelligence. The harness turns intelligence into an operational system.

FROM PROMPT ENGINEERING TO HARNESS ENGINEERING

Five Generations of AI Engineering

Harness Engineering did not suddenly appear. It is the natural evolution of how we have been engineering applications around increasingly capable models.

Press enter or click to view image in full size
Press enter or click to view image in full size

THE ENTERPRISE AGENT HARNESS REFERENCE ARCHITECTURE

Press enter or click to view image in full size

Twelve Capabilities Surrounding the Intelligence

A production Agent Harness is not a single framework or product.

It is a collection of engineering responsibilities surrounding the model.

I propose the following 12-domain Enterprise Agent Harness Reference Architecture:

Press enter or click to view image in full size

The important architectural idea is that the LLM sits inside this environment rather than at the center of the entire enterprise architecture.

The model can change. The harness provides continuity.

INSIDE THE HARNESS

Execution & Access

1 — Agent Runtime & Orchestration
Coordinates planning, decomposition, execution loops, delegation, checkpoints, retries and termination.

Real-world example:
A claims agent determines that it must retrieve the policy, validate coverage, request supporting documentation and invoke fraud screening before recommending settlement.

The runtime ensures these steps occur in the correct sequence.

2 — Model Gateway & Routing
Abstracts models and selects intelligence based on task complexity, latency, cost, privacy and capability.

Real-world example:
Simple classification goes to a small low-cost model while complex contract reasoning is routed to a stronger model.

The harness should survive model replacement.

3 — Tool Integration & Execution
Provides controlled access to APIs, databases, browsers, MCP servers, enterprise applications and other agents.

A production execution path should resemble: Agent Intent → Tool Registry → Schema Validation → Authorization → Policy → Execution → Result Validation

Real-world example:
An HR agent may retrieve leave balance but cannot directly modify payroll without an approved tool and appropriate authorization.

The model proposes. The harness executes.

4 — Identity, Authorization & Policy
Establishes agent identity, delegated authority and least-privilege access.

Real-world example:
A manager asks an agent for employee information. The agent can only retrieve information that the manager is authorized to see — not everything the agent’s service account could technically access.

Critical controls should move from: “Please don’t” to “You can’t”

Cognition & Continuity

5 — Context Engineering
Determines what information the model needs for this reasoning step.

Real-world example:
A clinical agent may need the current symptoms, relevant medications and latest lab results — not the patient’s entire 15-year medical history.

The lifecycle becomes: Retrieve → Rank → Filter → Assemble → Use → Compress

The objective is not maximum context. It is maximum relevant context.

Press enter or click to view image in full size

6 — Memory Management
Controls what should persist across interactions.

Memory may include: Working • Episodic • Semantic • Procedural

Get Maruti Sivakumar V’s stories in your inbox

Join Medium for free to get updates from this writer.

Real-world example:
A procurement agent remembers a previously approved supplier preference without replaying every previous procurement conversation.

Memory policies must determine: Remember • Retrieve • Retain • Compress • Expire • Forget

7 — State Management
Maintains deterministic workflow progress independently of the model.

Real-world example:
Claim Submitted → Validated → Fraud Check → Human Review → Approved → Settled

The model should not infer whether payment occurred from conversational memory.

Context ≠ Memory ≠ State

Press enter or click to view image in full size

Trust, Control and Continuous Improvement

8 — Verification & Evaluation
Determines whether an output or action is actually correct.

Real-world example:
An agent says: “Payment completed successfully.”

The harness checks the payment system for the transaction ID and settlement status.

Press enter or click to view image in full size

Whenever possible: Deterministic Verification > Probabilistic Verification. Never let the agent be the sole verifier of its own consequential actions.

9 — Guardrails & Human Oversight
Defines the boundaries of autonomy.

Real-world example:
An agent may autonomously draft a refund recommendation, issue refunds below $100, require supervisor approval above $100 and be prohibited from executing certain regulatory actions entirely.

The question is not: “Is the agent autonomous?” It is: Autonomous to do what, under which identity, within which limits and under which conditions?

10 — Observability & Audit
Captures much more than application logs.

A production agent should generate an: Agent Execution Trace
Intent → Context → Decision → Tool → Policy → Action → Verification → Outcome

Real-world example:
Six months later, an auditor can determine who initiated a decision, which agent acted, which model version was used, which information was supplied, which tool executed the transaction and which policy permitted it. Because: System Up ≠ Agent Working Correctly

Press enter or click to view image in full size

11 — Feedback & Self-Correction
Allows the system to observe failures, correct execution and learn operationally.

Real-world example:
An API rejects an invalid date. Rather than blindly retrying: Detect → Diagnose → Normalize Date → Retry → Verify

Repeated failure can trigger an alternative tool or human escalation.

And critically: Failure → Root Cause → New Validator/Policy/Sensor → Harness Improvement. Every failure should make the harness stronger.

Press enter or click to view image in full size

12 — Lifecycle Governance
Treats agents as governed enterprise assets. Every production agent should have: Owner • Purpose • Risk Classification • Models • Tools • Permissions • Memory Policy • Evaluation Suite • Cost Budget • SLOs • Version • Retirement Policy

Real-world example:
When a model is upgraded, the agent is regression-tested against its evaluation suite before the new version receives production traffic.

The agent therefore has a lifecycle: Register → Configure → Evaluate → Authorize → Deploy → Observe → Improve → Version → Retire

A HARNESS MATURITY MODEL

A simple maturity model can help organizations determine how ready their agent architecture really is.

Press enter or click to view image in full size
Press enter or click to view image in full size

Most AI POCs Are Built Around Level 1 or Level 2. The most difficult transition is not: Level 0 → Level 1 or Level 1 → Level 2. Modern frameworks make those transitions increasingly easy. The difficult boundary is: LEVEL 2 → LEVEL 3 because that is where an impressive agent must become a dependable enterprise system.

That is effectively the: POC → Production Boundary

Organizations should therefore stop asking only: “How sophisticated is our agent?” They should also ask: “How mature is the harness surrounding it?”

THE STRATEGIC IMPLICATION

The Model May Become a Commodity. The Harness Becomes Intellectual Property.

Frontier AI models will continue improving. They will support larger contexts, stronger reasoning, multimodal interaction and more sophisticated tool use. At the same time, access to capable models is becoming increasingly democratized. Two competitors can increasingly purchase access to similar intelligence.

What differentiates them? The answer may increasingly be found outside the model. One organization may have better:
· context engineering
· enterprise memory
· domain-specific tools
· business workflows
· verification mechanisms
· authorization policies
· evaluation datasets
· operational feedback
· proprietary skills
· organizational knowledge

Those capabilities accumulate in the harness. And unlike a general-purpose model, they encode how a particular enterprise actually works. That creates a strategic shift: Model Intelligence Gets the Demo.

FROM AGENT HARNESS TO ENTERPRISE AI OPERATIONS

When One Agent Becomes Hundreds

The harness solves the runtime problem around an individual agent. But enterprises will not operate one agent. They may operate hundreds. This introduces another architectural layer: Enterprise AI Control Plane

Press enter or click to view image in full size

AGENT HARNESS — Controls the execution environment of an agent. ENTERPRISE AI CONTROL PLANE — Governs the organization’s population of agents.

Press enter or click to view image in full size

This changes how AI should be delivered.

A Harness-First AI Delivery Lifecycle

Press enter or click to view image in full size

The Anti-Pattern

Traditional POC demo is successful then
· Security asks about authorization.
· Architecture asks about state.
· Operations asks about observability.
· Risk asks about controls.
· Finance asks about cost.
· Compliance asks about auditability.

And engineering discovers that many assumptions embedded in the POC architecture must be redesigned.

Productionization becomes reconstruction. That is the anti-pattern.

Harness First Architecture

The fundamental shift is: Don’t Build a POC and Then Productionize It. Prototype Inside a Production-Capable Harness.

This does not mean building every enterprise capability before experimentation. It means deliberately preserving the architectural boundaries that production will require.

The POC can use simpler implementations behind those boundaries.

For example:
POC: One model Production: Model router
POC: Three tools Production: Enterprise tool registry
POC: Simple memory store Production: Governed memory platform
POC: Basic policy rules Production: Central policy engine

The implementation evolves. The architecture survives.

CONCLUSION

Harness-First AI

The enterprise AI conversation has focused heavily on making models more capable. But increasingly, the difficult engineering challenge is addressing Harness Engineering problems. And as organizations deploy increasingly capable models, these problems become more important, not less. Harness Engineering makes that work dependable

This changes how organizations should think about AI POCs. The objective of a POC should no longer simply be: Can the AI do this?

A more valuable question is: Can we demonstrate that this capability can eventually operate inside the boundaries required by the enterprise?

That is a fundamentally different definition of success.

And it leads to five principles worth carrying forward:
1. The model is a reasoning engine — not the entire system.
2. Context, memory and state are distinct architectural responsibilities.
3. The model proposes; the harness authorizes, executes and verifies.
4. Critical controls belong outside probabilistic reasoning wherever possible.
5. Every production failure should strengthen the harness.

As frontier models become increasingly accessible, organizations may discover that their sustainable advantage is not the model itself. It is their proprietary combination of: Context + Memory + Tools + Workflows + Policies + Verification + Evaluation + Operational Feedback. That accumulated capability becomes organizational intellectual property.

The Model May Become a Commodity. The Harness Becomes Intellectual Property.

Models make agents intelligent.
Harnesses make intelligence operational.

--

--