2026-11-26 15:47 UTC

Infini-AI-Lab releases Hermit for training external agent-harness adapters

state: significantheat: lowuncertainty: mediumrelevance: highagent-harnesses harness-evolution reinforcement-learningInfini-AI-Lab

What is this?

Infini-AI-Lab announced Hermit, an open-source Apache-2.0 framework for training, evaluating, and deploying “harness adapters”: external, trainable layers that can add or refine instructions, skills, memory, tools, or coordination logic while leaving an agent’s underlying model and harness unchanged. The project page documents several supported evolution methods, examples, and deployment targets; its launch post frames harness evolution as relevant to continual learning and recursive self-improvement (RSI). The announcement is dated October 26, 2026; the GitHub project is available, though the supplied sources do not establish independent uptake or broad real-agent performance. A later Hacker News item, dated November 7, points to a Hugging Face post titled “Harness adapters: Safe RL for efficient agentic development,” but the post itself is not included, so its claims cannot be confirmed here.

Why it matters

Hermit explores a different lever for improving agents: learning in the surrounding software and workflow rather than changing model weights. If adapters can be reliably trained and transferred, teams could refine agents for new tasks without modifying a closed or carefully engineered harness, and share learned capabilities across compatible setups. That could broaden who can adapt agents, while making evaluation, update safety, and compatibility important open questions.

Current assessment

Infini-AI-Lab released Hermit as an open-source framework for training, evaluating, and deploying external harness adapters while leaving an agent’s model and existing harness unchanged. The project describes adapters that can add or refine agent capabilities and supports multiple evolution methods and deployment targets, but compatibility, transferability, safety, and practical benefits in real deployments are not independently established. The supplied quick-start is not a real-model performance result, and there is no evidence here of adoption or benchmark gains. Three later Hacker News listings point to an article titled “Harness adapters: Safe RL for efficient agentic development,” but its contents are unavailable, so its claims remain unverified. Hermit is significant as an available framework for experimenting with agent improvement outside model training, especially when models or harnesses are fixed; effectiveness and safety remain open questions.

Measured heat

now 0 pts/hpeak 3 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 770h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-25 13:00⭐ origin echo-reconstructedThe lab’s launch post says: “We are excited to introduce Hermit: an open-source framework for training, evaluating, and deploying harness ad
Infini-AI-Lab on x (echo) · attributed from hn.story.50280241
—
10-28 20:15first on hacker news · published · +79.2hHermit: A uniform framework for harness and agent evolution
hzzheng42
—
10-28 20:15amplified on hacker newshn.story.50280241
hzzheng42
peak 1 · 0 comments · 17% of case engagement
11-06 15:37amplified on hacker news 👑hn.story.50393640
victormustar
peak 3 · 0 comments · 49% of case engagement
11-08 01:31amplified on hacker newshn.story.50409722
fourfire
peak 1 · 0 comments · 17% of case engagement
11-18 10:02amplified on hacker newshn.story.50544264
musha68k
peak 1 · 0 comments · 17% of case engagement
10-28 20:27our radar first saw it · +79.5hdiscovery anchor: hn.story.50280241—
pace: p36 vs 879 stories at the 720h mark (now 770h old) — ahead of agentblackbox-policy-gate-audit-log-launch (1.2x), behind amex-ai-preparation-workforce-cuts (0.8x)

Evidence (5) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnHermit: A uniform framework for harness and agent evolution
Retrieved article excerpt

Open article · Retrieved 2026-10-28T20:28:49.920587+00:00

Hermit

### A Framework for Continual Learning and RSI through Harness Adapter Evolution

[License](https://github.com/Infini-AI-Lab/hermit/blob/main/LICENSE)
[Python](https://github.com/Infini-AI-Lab/hermit/blob/main/pyproject.toml)
[Version](https://github.com/Infini-AI-Lab/hermit/blob/main/pyproject.toml)
[Website](https://infini-ai-lab.github.io/hermit/)
[Docs](https://infini-ai-lab.github.io/hermit/docs/)
[WeChat](https://github.com/Infini-AI-Lab/hermit/blob/main/community/wechat.md)

**[Get Started](https://github.com/Infini-AI-Lab/hermit#get-started)** · **[Harness Adapters](https://github.com/Infini-AI-Lab/hermit#what-is-a-harness-adapter)** · **[Methods](https://github.com/Infini-AI-Lab/hermit#supported-harness-evolution-methods)** · **[Examples and Recipes](https://github.com/Infini-AI-Lab/hermit#examples-and-recipes)** · **[FAQ](https://github.com/Infini-AI-Lab/hermit#faq)** · **[Docs](https://infini-ai-lab.github.io/hermit/docs/)**

---

Hermit is a framework for training, evaluating, and deploying harness adapters, with support for multiple harness evolution algorithms. It adapts your agent to new tasks by evolving an external adapter while keeping your existing model and harness unchanged.

## What Is a Harness Adapter?

A **harness adapter** is a **trainable external harness** (like a plugin with built-in training support). Just as a **model adapter** adapts a model, a harness adapter adapts an existing agent to new scenarios **without modifying its original harness or model.**

[An agent made of a model and a harness meets a new scenario and fits it poorly. The agent is frozen, a harness adapter plugs into its side, a frame closes around the two as one agent, and task feedback trains the adapter from V0 to V5 while the score curve rises.](https://github.com/Infini-AI-Lab/hermit/blob/main/assets/harness-adapter.gif)

**Why Harness Adapters?**

Many harnesses are black boxes; even open-source ones have carefully designed component interactions that direct evolution can disrupt. Harness adapters offer three practical benefits: **(1) No changes to your existing harness:** evolve an external adapter through supported extension interfaces, even when both the model and harness are black boxes; **(2) Transferable:** reuse across compatible models and harnesses; **(3) Trainable:** learn from task feedback.

## A Unified Framework for Harness Evolution

### Supported Harness Evolution Methods

| Status | Methods |
| --- | --- |
| ✅ **Supported** | [GEPA](https://infini-ai-lab.github.io/hermit/docs/methods/gepa.html) · [SkillOpt](https://infini-ai-lab.github.io/hermit/docs/methods/skillopt.html) · [MetaWorld Model](https://infini-ai-lab.github.io/hermit/docs/methods/mwm.html) · [Harness²](https://infini-ai-lab.github.io/hermit/docs/methods/harness2.html) · [Continual Harness](https://infini-ai-lab.github.io/hermit/docs/methods/continual_harness.html) |
| 🚧 **Coming Soon** | [ACE](https://github.com/ace-agent/ace) · [ReHarness](https://arxiv.org/abs/2610.12668) |

Hermit provides an RL-style training loop for evolving harness adapters:

Animated training flow: tasks run through the acting agent and harness adapter, feedback reaches the Evolver, and checked updates become the next adapter version.

### Easy to Use

#### Customize Your Training Loop:

[Training pseudocode: initialize the adapter, run and judge tasks, call evolver.step, check and commit the proposal, then finalize.](https://github.com/Infini-AI-Lab/hermit/blob/main/assets/training-loop.gif)

#### Run from the Command Line:

[An animated command overview of installing Hermit, training an adapter, deploying it, and converting it into a plugin.](https://github.com/Infini-AI-Lab/hermit/blob/main/assets/install-and-use.gif)

## Get Started

### Install

Requires Python 3.11+ and Git.

#### From Source (Recommended)

Clone the repository to run the examples, reproduce recipes, or develop your own methods.

```
git clone https://github.com/Infini-AI-Lab/hermit.git
cd hermit
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
```

#### From PyPI

To use the framework CLI and bundled adapter templates in your Python environment:

```
python -m pip install hermit-harness
hermit --help
```

The Quick Start below uses files from the source checkout. See [Installation](https://infini-ai-lab.github.io/hermit/docs/get-started/installation.html) for method-specific dependencies.

### Quick Start

The included **local training walkthrough** connects feedback, an adapter update, evaluation, and deployment. A scripted learner reads the judge's feedback and writes the learned rule.

No model account, GPU, or dataset download required.

#### Train and Evaluate

```
hermit check --config docs/_examples/first_training/run.yaml
hermit eval --config docs/_examples/first_training/run.yaml --adapter none
hermit train --config docs/_examples/first_training/run.yaml
hermit eval --config docs/_examples/first_training/run.yaml --adapter final
```

The teaching agent starts by echoing lowercase text. After a failed attempt, the learner writes `Output format: uppercase.` into `ADAPTER.md`. Later executions load the updated adapter.

**Expected in this demo:** baseline `0.0` → final `1.0`, with zero execution errors.

This deterministic example verifies the training contract. Its constructed score gain is not a real-model performance result. The example uses trusted local Python with the learner-program sandbox disabled.

#### Inspect and Deploy

```
cat .demo/first-training/first-training/checkout/ADAPTER.md
hermit deploy \
  --adapter .demo/first-training/first-training/checkout \
  --workspace .demo/first-training/workspace \
  --host codex
cat .demo/first-training/workspace/AGENTS.md
```

The generated `AGENTS.md` contains the learned rule. Start Codex in that workspace to use it.

[Full walkthrough, expected outputs, and repeat-run instructions →](https://infini-ai-lab.github.io/hermit/docs/get-started/quickstart.html)

**Ready for a real agent?** [Train with an API model](https://infini-ai-lab.github.io/hermit/docs/get-started/first-model.html) · [Run OfficeQA](https://infini-ai-lab.github.io/hermit/docs/recipes/officeqa.html) · [Bring your own task](https://infini-ai-lab.github.io/hermit/docs/tutorials/your-own-task.html)

### Examples and Recipes

#### Harness Evolution Recipes

Train and evaluate harness adapters on benchmarks using different evolution methods. Each task's README reports results; each included adapter's `CARD.md` records evaluation details.

| Method | Recipes |
| --- | --- |
| [MWM](https://infini-ai-lab.github.io/hermit/docs/methods/mwm.html) | [CL-Bench database](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/clbench_database/mwm) · [CL-Bench poker](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/clbench_poker/mwm) · [ServeLearnBench](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/servelearnbench/mwm) |
| [SkillOpt](https://infini-ai-lab.github.io/hermit/docs/methods/skillopt.html) | [OfficeQA](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/officeqa/skillopt) |
| [GEPA](https://infini-ai-lab.github.io/hermit/docs/methods/gepa.html) | [OfficeQA](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/officeqa/gepa) |
| [Harness²](https://infini-ai-lab.github.io/hermit/docs/methods/harness2.html) | [OfficeQA](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/officeqa/harness2_stream) (the paper's per-question protocol, Codex as the acting agent) |
| [Continual Harness](https://infini-ai-lab.github.io/hermit/docs/methods/continual_harness.html) | [OfficeQA](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/officeqa/continual_harness) (policy, sub-agents, skills and memory refined in place, Codex as the acting agent) |
| [Prompt-only](https://infini-ai-lab.github.io/hermit/docs/methods/prompt-only.html) | [CL-Bench database](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/clbench_database/prompt_only) · [CL-Bench poker](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/clbench_poker/prompt_only) · [ServeLearnBench](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/servelearnbench/prompt_only) |

Walkthroughs: [OfficeQA](https://infini-ai-lab.github.io/hermit/docs/recipes/officeqa.html) · [CL-Bench](https://infini-ai-lab.github.io/hermit/docs/recipes/clbench.html) · [ServeLearnBench](https://infini-ai-lab.github.io/hermit/docs/recipes/servelearnbench.html).

Smaller training demos: [Quick Start](https://infini-ai-lab.github.io/hermit/docs/get-started/quickstart.html) (offline) · [First real-model training](https://infini-ai-lab.github.io/hermit/docs/get-started/first-model.html). [Task folder layout](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/README.md).

#### Harness Adapter Examples

The finished [Lean collaboration adapter](https://github.com/Infini-AI-Lab/hermit/blob/main/examples/lean_swarm) coordinates five Codex agents through shared tools, state, and skills to prove Lean theorems together. [Walkthrough →](https://infini-ai-lab.github.io/hermit/docs/recipes/lean-collaboration.html)

#### More Starting Points

| [Use a trained adapter](https://infini-ai-lab.github.io/hermit/docs/tutorials/deploy-an-adapter.html) | [Train for your tasks](https://infini-ai-lab.github.io/hermit/docs/get-started/first-model.html) | [Build a new method](https://infini-ai-lab.github.io/hermit/docs/framework/custom-evolver.html) |
| --- | --- | --- |
| Deploy to your agent. | Use your tasks and feedback. | Implement and compare your idea. |

#### What You Need for Each Starting Point

| Your goal | What Hermit provides | What you bring |
| --- | --- | --- |
| **Use an existing adapter** [Use an adapter →](https://infini-ai-lab.github.io/hermit/docs/tutorials/deploy-an-adapter.html) | Workspace deployment and native plugin conversion for a compatible adapter. | An adapter, a supported agent host, and any dependencies the adapter needs. |
| **Adapt to your own tasks** [Train your adapter →](https://infini-ai-lab.github.io/hermit/docs/get-started/first-model.html) | Existing templates and Evolvers, with a Trainer that connects execution, feedback, checks, and versioning. | Your tasks, acting agent, evaluator, and model access. |
| **Develop a learning method or adapter design** [Build a learning method →](https://infini-ai-lab.github.io/hermit/docs/framework/custom-evolver.html) | Editable adapter specifications and an Evolver interface for implementing and comparing methods on shared task pipelines. | Your adapter design or update algorithm, plus an evaluation task. |

#### Deploy an Adapter Without Training

```
mkdir -p .demo
cp -R hermit/algorithms/templates/prompt_only .demo/adapter
hermit deploy --adapter .demo/adapter --workspace .demo/codex-workspace --host codex
cat .demo/codex-workspace/AGENTS.md
```

#### Train on OfficeQA

Prepare the dataset and model endpoint as described in the [OfficeQA recipe](https://infini-ai-lab.github.io/hermit/docs/recipes/officeqa.html). The agent uses SkillOpt's rollout, so install `requirements-skillopt.txt`; GEPA also needs `requirements-gepa.txt`. Sandboxed agent Evolvers require Linux with `bubblewrap`.

```
python -m pip install -e . -r requirements-skillopt.txt -r requirements-gepa.txt
python examples/officeqa/utils/prepare.py --csv /path/to/officeqa_full.csv --docs /path/to/treasury_bulletins_parsed
hermit check --config examples/officeqa/gepa/smoke.yaml
hermit train --config examples/officeqa/gepa/smoke.yaml
hermit eval --config examples/officeqa/gepa/smoke.yaml --adapter final
```

#### Use Your Own Model Server

Models use `<backend>/<model id>` references. See [Model backends](https://infini-ai-lab.github.io/hermit/docs/guides/model-backends.html) for endpoint configuration and requirements.

```
vllm serve Qwen/Qwen3-30B-A3B-Instruct-2507-FP8 --enable-auto-tool-choice --tool-call-parser hermes
hermit backends check vllm/Qwen/Qwen3-30B-A3B-Instruct
hzzheng4210
🟧 echo.x ⭐The lab’s launch post says: “We are excited to introduce Hermit: an open-source framework for training, evaluating, and deploying harness adInfini-AI-Lab——
🟧 hnHarness adapters: Safe RL for efficient agentic developmentvictormustar30
🟧 hnHarness adapters: Safe RL for efficient agentic developmentfourfire10
🟧 hnHarness adapters: Safe RL for efficient agentic developmentmusha68k10

Interpretation history

Decision trace