best-of-Agent-Harnesses
๐ Ranked list of 187 AI agent harnesses, plus templates, playbooks, MCP, and learning resources. Rescored weekly.
Install / Use
claude mcp add RyanAlberts -- npx -y github:RyanAlberts/best-of-Agent-HarnessesIf the server publishes to npm under a different name, use that package instead โ check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of best-of-Agent-Harnesses
best-of-Agent-Harnesses scores 80/100 on our quality scale, 754th of 966 AI & Machine Learning skills we index.
Its MCP Server is 127 KB long, well organised into 38 sections with 3 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
With 1,460 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 2 days ago, so best-of-Agent-Harnesses is actively maintained.
- Our last check on 2026-10-17 found the source still online.
- It is released under the CC-BY-SA-4.0 license; check its terms before commercial use.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk โ read a skill before letting an agent act on it.
best-of-Agent-Harnesses compared with similar skills
All 4 of these similar skills score higher than best-of-Agent-Harnesses; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| best-of-Agent-Harnesses (this skill)by RyanAlberts | 80 | 1.5k | 2d ago | MCP Server |
| claude-memby thedotmack | 100 | 113.5k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 90.9k | 10d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
Frequently asked questions
- How do I install best-of-Agent-Harnesses?
- Run
claude mcp add RyanAlberts -- npx -y github:RyanAlberts/best-of-Agent-Harnesses. The install tabs above show the steps for each supported agent. - Which AI agents does best-of-Agent-Harnesses work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is best-of-Agent-Harnesses safe to use?
- Our scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is CC-BY-SA-4.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is best-of-Agent-Harnesses still maintained?
- The repository was last updated 2 days ago, so best-of-Agent-Harnesses is actively maintained.
Skill content
View source on GitHubWhat is an agent harness?
A model answers; an agent acts. An agent harness is the runtime that turns one into the other: the model thinks, the harness decides what that thinking is allowed to touch.
Simon Willison's definition of the agent itself is the cleanest: "an LLM agent runs tools in a loop to achieve a goal." The harness is everything around that loop: which tools exist, what needs approval, what the model sees each turn, what survives a crash. Andrej Karpathy named the architecture back in 2023: the model is "the kernel process of a new Operating System", and the harness is the rest of that OS, its scheduler, permissions, and memory. The SWE-agent paper proved the stakes by coining the agent-computer interface: how tools and feedback are presented changes what a model can do, independent of the model. The field's advice has since converged on investing here rather than in framework plumbing, from Anthropic's build-simple guidance to Jerry Liu's argument that the framework era is over and the layers that matter now are skills, tools, and context quality. Those are the layers this list catalogs.
Why harnesses matter
Better models make harnesses more important: more capabilities mean more failure modes, and production needs retry logic, fallbacks, and validation. Harness quality, not just model quality, determines whether agents actually ship. This list ranks projects by relevance to harness concerns (environment, orchestration, lifecycle, guardrails) and by stars/activity.
The benchmark data now backs this up. On SWE-bench Pro, "swapping the agent harness changed pass@1 more than many model upgrades do" (AINews, Aug 8 2026, citing analysis by @joelniklaus). Same model, different harness: 23% to 52% pass@1 on GLM-5.2, and 15% to 36% on Gemma 4 26B. Harness rankings barely transfer across models (rank correlation -0.05), so a small model in the right harness can approach a much larger model in the wrong one.
The gap is widest on long-horizon work. A bare frontier model was verified at about 30% on ARC-AGI-3; Prime Agent's harness took Opus 5 to 95.5%, and the YC Paper Club talk on why the harness matters more than the model (September 2026) walks through how. The gains come from a new class of self-improving harnesses, not from piling on scaffolding: the best of them stay thin and expose only what the model cannot do for itself. And because rankings barely transfer across models, the harness choice is a pairing that must be re-asked whenever the model changes. Who says so, what they measured, and what the claim does not mean is its own page.
That is the problem the MCP server in this repo solves. Point your agent at it and it can call recommend or pick_harness to choose a harness matched to your model and task, instead of inheriting whichever harness someone else benchmarked.
The landscape at a glance
Every project in the list, plotted by adoption surface area (the simplicity โ capability axis) against GitHub stars. Colors are categories; the largest projects in each tier are labeled.
The same projects placed by how much unsupervised rope they're designed to give (autonomy) and what happens when a run dies (recovery). In the tables below, โ marks headless-ready projects and โฑ marks durable ones. Both charts regenerate from the list data on every refresh.
How to Pick a Harness
Start with the guide, then the head-to-head decision pages โ grounded in the same data as the tables below:
- Why the harness matters more than the model: the measurements (ARC-AGI-3 30% to 95.5% on the same weights), who says so, and what the claim does not mean
- How to pick a harness: six questions that turn this list into a decision, plus the chart to internalize first (the harness moves scores more than the model)
- How to test-drive a harness: the two-week trial protocol, with a fair setup, tasks from your own repos, seven measurements, and the walk-away test
- The best AI agent harnesses in 2026, ranked by category: the top three per category from this week's data, regenerated on every refresh
- OpenClaw vs Hermes โ the always-on personal-agent debate: presence vs discipline, plus what the field reports actually say
- Managed vs self-hosted always-on agents: Grok Bot, Claude Managed Agents, QM, OpenClaw, Hermes, and OpenJarvis; who owns the computer and who pays for idle time
- Terminal coding agents โ opencode vs Codex vs Gemini CLI vs crush vs goose
- Multi-agent orchestration โ OpenAI Agents SDK vs CrewAI vs AutoGen vs LangGraph
- Agent memory layers โ Mem0 vs Letta vs claude-mem
- Agent sandboxing: what it is, the key concepts, and the field (E2B vs Daytona vs Modal and more)
- Agent evals (SWE-bench vs inspect_ai vs Terminal-Bench)
- Eval and observability platforms (Langfuse vs LangSmith vs Braintrust vs Phoenix)
- Browser agents (browser-use vs Stagehand vs Playwright MCP vs chrome-devtools-mcp)
- Browser infrastructure (Browserbase vs Steel vs Hyperbrowser)
- Claude Code skill packs (superpowers vs GStack vs get-shit-done vs Anthropic Skills)
- Context files for agents (AGENTS.md vs CLAUDE.md vs skills vs MCP tool search)
Templates and Playbooks
The list tells you which harness to use. These tell you how to set it up. Templates are files you copy into your project; Playbooks walk you through one task, step by step.
Templates
- One AGENTS.md for every coding agent: One briefing file that Codex, Claude Code, Cursor, OpenCode, GitHub Copilot, Gemini CLI, and Aider all read, so you write your build commands, conventions, and hard rules once instead of once per tool.
- Safe Claude Code settings: permissions and a guard hook: Project settings that stop Claude Code from force-pushing, wiping work, reading secrets, or piping downloads into a shell, while leaving everyday commands alone. Two files, copy and commit.
- Minimal agent harness in Python: A working coding-agent harness in about 180 lines of Python: the loop, three tools, a permission gate, a context file, a turn budget, and a transcript you can resume after a crash. Copy it to learn how harnesses work, or as the start of your own.
Playbooks
- Build your own agent harness: Build a working coding agent in about an hour: a loop, three tools, permissions, a context file, a budget, and crash recovery, in one Python file you fully understand. You finish with the minimal harness template running on your own repo.
- Write one AGENTS.md for every coding agent: Write one briefing file that Codex, Claude Code, Cursor, OpenCode, Copilot, Gemini CLI, and Aider all read, test that each tool actually loaded it, and keep it short enough to help instead of hurt. You finish with the AGENTS.md template filled in for your repo.
Pick by use case
Reader's index: pick by what you want to do, not by category. Tag chips (e.g. <sup>mcp ยท memory</sup>) next to each row let you cross-filter by capability โ see TAGS.md for the full cross-reference.
- I want a turnkey coding agent today โ opencode, Cline, Codex, Gemini CLI, OpenHands, crush, Prime Agent ยท see Coding agent products (IDEs, CLIs, full suites)
- I want an always-on personal agent that lives in my chat apps โ OpenClaw, Hermes, Khoj, Agent Zero, OpenHarness (HKUDS), QM, OpenJarvis ยท see Personal agent runtimes
- I want to extend Claude Code, Codex, or OpenCode with skills and slash commands โ Anthropic Skills, wshobson/agents, superpowers, GStack, pmstack ยท see Coding harness configs and SDKs
- I want to build my own coding harness from scratch โ [Claude Agent SDK](https://github.com/anthropics/cl
Truncated for display โ read the full file on GitHub.
Related Skills
claude-mem
113.5kPersistent Context Across Sessions for Every Agent โ Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu โ one CLI, zero API fees.
Understand-Anything
90.9kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
