# AutoHarness — Autonomous Agent Eval & Self-Healing Hub

> Connects any AI coding agent to the AutoHarness 9-tool MCP server, write-locked code self-healer, and 8-component Harness² engine.

AutoHarness — Autonomous Agent Eval & Self-Healing Hub is a free AI agent skill on Agensi by Pritam Kumar Panda, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Pritam Kumar Panda](https://www.agensi.io/creators/pritam-kumar-panda)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.1
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/autoharness-autonomous-agent-eval-self-healing-hub
- Tags: agents-orchestration, testing-debugging, llm-ops, prompt-skill-engineering

## About this skill

AutoHarness turns any AI coding assistant, local open-source model, or flat-rate subscription into a **closed-loop, anti-gaming self-healing engineer**.

When AutoHarness MCP (`autoharness_mcp`) or CLI is available, drive repairs directly with your host model session:

1. **Snapshot Test Locks First (`autoharness_snapshot_test_locks`)**:
   Capture SHA-256 digests of all `test_*.py` files before touching source code.
2. **Scan AST, Imports & Tests (`autoharness_scan_code`)**:
   Identify syntax errors, standalone vs. package `ImportError` bugs, and failing `pytest` assertions, while syncing `harnesses/harness2/memory.md`.
3. **Repair Source Code Only (Never Edit Locked Tests)**:
   Fix the root cause in the failing module with a minimal change.
4. **Verify Against Anti-Gaming Locks (`autoharness_verify_repair`)**:
   Pass the `locked_test_hashes` captured in step 1 to prove byte-for-byte test immutability, clean AST/imports, and green `pytest`.
5. **Run 3-Layer Suite & Contrastive Harness² Tuning (`autoharness_run_eval`, `autoharness_harness_component`, `autoharness_lessons`)**:
   Execute deterministic + trace checks (`$0`), inspect or refine the 8 modular Harness² files (`system.md`, `guardrails.md`, `memory.md`, `skills.md`, `tool_guidance.md`, `scripts/`, `subagents.md`, `plugins.json`), and persist `DO` / `AVOID` priors into `lessons/lessons.json`.

- `autoharness studio` — Launch the Apple Liquid Glass visual workbench + 1-click `Auto-Fix`
- `autoharness heal --with-harness` — Scan & heal broken modules + run contrastive harness fixing
- `autoharness models --use subscription-pool` — Switch across Flat-Rate Subscriptions (`Claude Pro/Max`, `ChatGPT Plus/Codex`, `Google AI Pro/Gemini`, `Copilot`) and Open-Source (`Ollama`, `vLLM`, `LM Studio`)
- `autoharness plugin install --target all` — Install MCP + skills across Antigravity, Claude Code, Cursor, VS Code Copilot, Gemini CLI, and Codex CLI

## Requires

- Python 3.10+
- Optional: Ollama or Claude/Codex/Gemini CLI

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the AutoHarness — Autonomous Agent Eval & Self-Healing Hub skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does AutoHarness — Autonomous Agent Eval & Self-Healing Hub do?

Connects any AI coding agent to the AutoHarness 9-tool MCP server, write-locked code self-healer, and 8-component Harness² engine.

### Which AI agents support AutoHarness — Autonomous Agent Eval & Self-Healing Hub?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use AutoHarness — Autonomous Agent Eval & Self-Healing Hub?

Connect your AI agent to Agensi through MCP, then ask it to use AutoHarness — Autonomous Agent Eval & Self-Healing Hub on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
