← All questions
Question 2 · Choose any 2 of questions 2, 3 and 4 · Due Friday, 20 November 2026, 11:59 pm IST

What is a harness? Pi vs Hermes

Teach what an AI agent harness is and why it matters. Then explain what the open-source Pi harness does, what Hermes Agent does, and how the two differ. Start from zero and build up. Applications and examples are welcome.

New to this topic? That is completely fine. It is completely fine if you have never studied some of these topics before. We want to see how fast you can learn something new, grasp it, and teach it from first principles.

This page is a quick primer, not a script. Use it to get your bearings, then read the links below and anything else you find: other blogs, papers, videos, code. We are judging the story you build, your examples and metaphors, your first-principles thinking, and any experiments you run yourself.

A quick primer

A language model on its own can only do one thing: take text in and predict text out. It cannot read your files, run code, remember yesterday or stop itself from doing something dangerous. The harness is all the software around the model that turns it into an agent that can actually get work done.

Engine= the model+Steering wheeltools it can callDashboardcontext it can seeBrakespermissions, sandboxLogbookmemory and sessions= the harness. Engine + harness = a car you can actually drive.
One way in: the model is the engine; the harness is everything that turns it into a car you can drive.

The agent loop

Every harness, from Claude Code to Codex to Pi to Hermes, runs some version of the same loop:

THE HARNESSYou"fix the bug"Build contextsystem prompt, tools,history, memoryLLMpredicts text or a tool callbash("pytest")Run the toolread · edit · bash · searchresult…repeat until the model says "done"
The harness builds the context, the model decides what to do, the harness actually does it and feeds back the result. Repeat until the task is done.

The interesting questions are in the design choices. What goes into the system prompt? Which tools, and how many? What happens when the conversation gets too long (compaction)? Does the agent remember things across sessions? Who is allowed to approve a dangerous command?

Two very different answers: Pi and Hermes

PiHermes Agent
PhilosophyA minimal, extensible harness you make your own. Deliberately leaves out features like sub-agents and plan mode.A “self-improving” agent with a built-in learning loop.
Built byMario Zechner. TypeScript, MIT licence.Nous Research. Python, MIT licence.
Core toolsFour by default: read, write, edit, bash.40+ tools in toolsets: web, terminal, browser, media, memory, scheduling.
MemoryBranching session files with compaction, plus instruction files like AGENTS.md.Persistent memory, cross-session search, and a model of the user.
SkillsLoads skills on demand.Writes new skills from experience and improves them over time.
Where it runsTerminal UI, RPC and an SDK.Terminal plus a gateway to Telegram, Discord, Slack, WhatsApp, Signal and email, with a scheduler.
SafetyNo built-in permission system; the docs recommend a sandbox.Command approval and container isolation.

A quick orientation only, from each project's README and docs on 9 November 2026. Both projects move fast, so go to the repos and docs below for the real details.

The repositories

Read

Watch

Go beyond this list. These are starting points. The best submissions usually bring in something we did not link: an experiment, a paper, a story of their own.

Any doubts or questions?

Just email us. We read every message and are happy to help.

rajatdandekar@vizuara.com