Forwarded from Khalid Mohammed (MerkatoBuilder)💀💀
What Is a “Harness” and "Agent"?
Today I’m writing about something that sounds a bit complex. A lot of experienced tech folks and junior developers have been asking me about it, and I’ve noticed that many people use these tools every day without really understanding how they work. So I put together this slightly technical post to explain it simply.
let start it :
Humans use interfaces
You don’t write code every time you want your computer to do something. You click buttons, press shortcuts, type commands.
That’s an interface: a terminal, a website, or an app.
You see the buttons, not the code underneath.
LLMs use harnesses
So we give it tools like:
read_file to read files
edit_file to change files
bash to run commands
search to find info online
The LLM “calls” a tool by writing text in a special format, for example:
<read_file name="README.md">
But that’s still just text. Nothing happens until something reads it and runs the real code.
So what is a harness?
A harness is the system that gives an LLM:
Tools that actually do things
A text format for calling those tools
A parser that detects tool calls and runs the code
A way to send the results back to the LLM
A list of available tools and how to use them
That’s the harness.
“Wait, isn’t Claude Code a harness?”
Kind of. Apps like Claude Code and Codex have two parts:
The interface: the terminal UI or desktop app you see
The harness: the engine underneath that runs the tools
Claude Code runs on the Anthropic Agent SDK. Codex runs on the Codex App Server.
The confusion comes from the fact that these apps bake the harness right in. But a harness is a separate piece, and the same one can power other apps too. Cursor’s harness, for example, powers other products besides Cursor.
Think of a harness like a kitchen
A kitchen has pots, pans, knives, and blenders, but no kitchen has every tool every chef needs.
Good harnesses let you bring your own tools.
Claude Code and Codex come with lots of built in tools, and you can add more with plugins like code checkers or computer control.
Neither you nor the LLM can see the tools directly. The harness is what exposes them, to the LLM and to the interface.
Where does MCP fit in?
MCP (Model Context Protocol) is a standard that lets harnesses reach external things.
A tool means “run this code here.”
An MCP means “send a request somewhere else.”
Want Claude to read your emails? MCP.
Want Codex to check your site analytics? MCP.
Simple analogy:
Tools are like Chrome extensions, installed and running on your machine.
MCPs are like websites. No install needed, just the URL.
In kitchen terms, MCPs are like recipes. They describe how to do something, but they aren’t the kitchen itself.
So what is an AI agent?
Here’s the simple formula:
LLM + Harness = Agent
This combination is often called the agent loop, because it really is just a loop:
The LLM decides what to do, the harness runs the tool, the tool’s result goes back to the LLM, and it repeats until the task is done.
And most “different agents” out there are really just different harness setups: different tools, instructions, and MCP servers.
Now you know more about harnesses than most people talking about AI agents.
Share this with someone who keeps saying “agent” without knowing what it means!
Today I’m writing about something that sounds a bit complex. A lot of experienced tech folks and junior developers have been asking me about it, and I’ve noticed that many people use these tools every day without really understanding how they work. So I put together this slightly technical post to explain it simply.
let start it :
Humans use interfaces
You don’t write code every time you want your computer to do something. You click buttons, press shortcuts, type commands.
That’s an interface: a terminal, a website, or an app.
You see the buttons, not the code underneath.
LLMs use harnesses
On its own, an LLM can only do one thing: generate text.
It can’t click. It can’t open files. It can’t run anything.
So we give it tools like:
read_file to read files
edit_file to change files
bash to run commands
search to find info online
The LLM “calls” a tool by writing text in a special format, for example:
<read_file name="README.md">
But that’s still just text. Nothing happens until something reads it and runs the real code.
So what is a harness?
A harness is the system that gives an LLM:
Tools that actually do things
A text format for calling those tools
A parser that detects tool calls and runs the code
A way to send the results back to the LLM
A list of available tools and how to use them
That’s the harness.
“Wait, isn’t Claude Code a harness?”
Kind of. Apps like Claude Code and Codex have two parts:
The interface: the terminal UI or desktop app you see
The harness: the engine underneath that runs the tools
Claude Code runs on the Anthropic Agent SDK. Codex runs on the Codex App Server.
The confusion comes from the fact that these apps bake the harness right in. But a harness is a separate piece, and the same one can power other apps too. Cursor’s harness, for example, powers other products besides Cursor.
Think of a harness like a kitchen
A kitchen has pots, pans, knives, and blenders, but no kitchen has every tool every chef needs.
Good harnesses let you bring your own tools.
Claude Code and Codex come with lots of built in tools, and you can add more with plugins like code checkers or computer control.
Neither you nor the LLM can see the tools directly. The harness is what exposes them, to the LLM and to the interface.
Where does MCP fit in?
MCP (Model Context Protocol) is a standard that lets harnesses reach external things.
A tool means “run this code here.”
An MCP means “send a request somewhere else.”
Want Claude to read your emails? MCP.
Want Codex to check your site analytics? MCP.
Simple analogy:
Tools are like Chrome extensions, installed and running on your machine.
MCPs are like websites. No install needed, just the URL.
In kitchen terms, MCPs are like recipes. They describe how to do something, but they aren’t the kitchen itself.
So what is an AI agent?
Here’s the simple formula:
LLM + Harness = Agent
The LLM can think but can’t act.
The harness can act but can’t think.
Together, they become an agent.
This combination is often called the agent loop, because it really is just a loop:
The LLM decides what to do, the harness runs the tool, the tool’s result goes back to the LLM, and it repeats until the task is done.
And most “different agents” out there are really just different harness setups: different tools, instructions, and MCP servers.
Now you know more about harnesses than most people talking about AI agents.
Share this with someone who keeps saying “agent” without knowing what it means!
👌1
Forwarded from AI and Machine Learning
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Immersive Ai
Google released Gemini 4 Carbon.
it's a big jump over Argon which they released just 2 weeks ago and better in benchmark than GPT-6 Astra and Claude Opus 5.5.
@ImmersiveAi
it's a big jump over Argon which they released just 2 weeks ago and better in benchmark than GPT-6 Astra and Claude Opus 5.5.
@ImmersiveAi
Forwarded from Ahbab Labs🇸🇦🇪🇹🇾🇪
Working in tech is just realizing how dumb you were 6 months ago every 6 months🌀
Never stop learning Ahbabi🫡
@ahbab_labs
Never stop learning Ahbabi
@ahbab_labs
Please open Telegram to view this post
VIEW IN TELEGRAM
😁3❤2💯1
Forwarded from Khalid Mohammed (MerkatoBuilder)💀💀
There is unlimited demand for people who can explain difficult things in simple language.
Forwarded from Pavel Durov (Pavel Durov)
Nvidia’s board was right to fire Jensen.
He was married.
Meaning he signed an exclusive contract with a 50% exit penalty for a service with no uptime guarantee.
How can you trust a guy who’d sign a deal like that to run a company?👉
They should have fired him at the altar.
He was married.
Meaning he signed an exclusive contract with a 50% exit penalty for a service with no uptime guarantee.
How can you trust a guy who’d sign a deal like that to run a company?
They should have fired him at the altar.
Please open Telegram to view this post
VIEW IN TELEGRAM
Found a cool indie project worth checking out 👀
An indie dev built Way of the Agent , a game-style course that teaches you how to build real AI agents step by step, without boring walls of text. Even cooler: the whole thing is built with Flutter from a single codebase for Android, iOS, and Web.
If you want to level up your AI engineering skills, give it a spin:
• Short lessons & quizzes: 44 modules covering tool loops, memory, RAG, and multi-agent systems
• Real mini-projects & daily tasks: Build things as you go instead of just reading theory
• 3D universe map: Fly between planets as you progress
• Free to start and works offline once lessons are opened
📲 Try it on Android: https://play.google.com/store/apps/details?id=com.appfactory.wayofagent
🌐 Web & iOS: https://wayofagent.app
If you try it out and enjoy it, drop a quick rating and review on Google Play, it helps indie devs a ton! 🙏
An indie dev built Way of the Agent , a game-style course that teaches you how to build real AI agents step by step, without boring walls of text. Even cooler: the whole thing is built with Flutter from a single codebase for Android, iOS, and Web.
If you want to level up your AI engineering skills, give it a spin:
• Short lessons & quizzes: 44 modules covering tool loops, memory, RAG, and multi-agent systems
• Real mini-projects & daily tasks: Build things as you go instead of just reading theory
• 3D universe map: Fly between planets as you progress
• Free to start and works offline once lessons are opened
📲 Try it on Android: https://play.google.com/store/apps/details?id=com.appfactory.wayofagent
🌐 Web & iOS: https://wayofagent.app
If you try it out and enjoy it, drop a quick rating and review on Google Play, it helps indie devs a ton! 🙏
Google Play
Way of the Agent - Apps on Google Play
Learn to build AI agents with 218 short lessons, quizzes and real projects
🔥2
Forwarded from AASTU SES
This media is not supported in your browser
VIEW IN TELEGRAM
AASTU student developer and beta tester community for testing early builds, catching bugs, sharing feedback, and shipping better software.
Join the group👇👇👇
https://t.me/+zcvbQ5Q0zURjNjM0
Join the group👇👇👇
https://t.me/+zcvbQ5Q0zURjNjM0