Sitemap
Nitin Gavhane

Nitin Gavhane

Started freelancing, got obsessed with AI and security. Now sharing everything I learn with builders and founders. https://nitingavhane.com/

Member-only story

Harness Engineering: The Missing Layer for Reliable AI Agents

6 min read11 hours ago

--

Hi everyone, I am Nitin Gavhane and in this blog I will explain harness engineering in simple language. It is the part of an AI agent that most people skip, and it is the reason so many agents look great in a demo and then fall apart in real use.

Press enter or click to view image in full size

The demo worked. Then production happened.

You build an agent. In the demo it reads files, calls tools, fixes a bug, and everyone claps. A week later it deletes the wrong file, forgets what it did yesterday, or tells you the job is done when it is not.

Most people blame the model and swap it for a newer one. Often the model was fine. What was missing was everything around it.

A 2025 Cleanlab survey of 1,837 engineering and AI leaders found that only 95 had AI agents live in production, as reported by Kanerika. That is about 5%. I am quoting it secondhand, so treat it as a rough signal. It is no precise measurement. Even so, it matches what I see when people show off agents on social media and then go quiet a month later.

What harness engineering means

The short version is a one-line formula: Agent = Model + Harness.

The model is the LLM. The harness is everything else: the instructions, tools…

--

--

Nitin Gavhane
Nitin Gavhane

Written by Nitin Gavhane

Started freelancing, got obsessed with AI and security. Now sharing everything I learn with builders and founders. https://nitingavhane.com/