ruvnet/agent-harness-generator — 🛠️ The meta-harness for AI agents — scaffold your own focused, branded agent harness with its own n…
Description and use
**Brief Summary**
The **agent‑harness‑generator** by ruvnet is a TypeScript‑based meta‑framework that lets you spin up a fully‑featured AI‑agent harness with a single npx command. It bundles a custom CLI, MCP server, persistent memory, learning loops, and cryptographically signed releases, and it works out‑of‑the‑box with Claude Code, Codex, pi.dev, Hermes, OpenClaw and RVM sandboxed runtimes.
**Value**
- **From ad‑hoc prompts to repeatable services** – the generator converts isolated prompts and tool wrappers into a standardized, version‑controlled agent micro‑service, making it easy to reuse, test, and share.
- **End‑to‑end orchestration** – built‑in MCP (Message‑Control‑Protocol) server, memory store, and learning‑loop hooks let you coordinate multi‑agent pipelines, add tool‑use stages, and keep state across invocations without writing boilerplate.
- **Security & provenance** – releases are signed by a witness key, giving you tamper‑evidence and auditability for production deployments.
**Practical Adoption Path**
- **Prototype** – Run
npx @ruvnet/agent-harness-generator init <my‑agent>to scaffold a new harness. The generated repo includes a ready‑to‑run CLI, Dockerfile, and TypeScript SDK. - **Plug in your model** – Replace the placeholder driver with the desired backend (Claude, Codex, pi.dev, etc.) using the provided adapter interfaces.
- **Add memory & tools** – Configure the built‑in memory layer (Redis, PostgreSQL, or in‑process) and register any external tools (APIs, code execution sandboxes) through the simple
registerToolAPI. - **Test locally** – Use the built‑in test harness (
npm test) and the MCP mock server to simulate multi‑agent interactions. - **Deploy** – Build a Docker image (
docker build .) and push to your registry; the harness can run as a standalone service or be embedded in a larger orchestration platform (Kubernetes, Nomad, etc.). - **Iterate & release** – Increment version numbers and sign the release with the provided CLI (
npx harness sign) to enable downstream verification.
**Production Readiness**
- **Activity & community** – 285 ★, 29 forks, recent commits (last updated 2026‑06‑22) and a growing TypeScript ecosystem indicate active maintenance.
- **Architecture** – The separation of CLI, MCP server, memory, and learning loop follows proven micro‑service patterns, making scaling and fault isolation straightforward.
- **Security posture** – Witness‑signed releases provide integrity checks; however, a final review of the license (MIT‑compatible) and any third‑party dependencies is still recommended.
- **Integration ease** – Clear API/SDK surface, language metadata, and support for multiple AI backends reduce integration effort, positioning the project as a solid OSS candidate for a pilot or full production rollout.
Problem
ruvnet/agent-harness-generator helps turn isolated prompts and tools into repeatable agent workflows.
Outcome
High for an OSS candidate: recent activity, adoption, and ecosystem signals are strong enough for a serious pilot.
Workflow
- coordinate multi-agent workflows
- add tool-use pipelines
- standardize agent memory
Evidence
🛠️ The meta-harness for AI agents — scaffold your own focused, branded agent harness with its own npx CLI, MCP server, memory, learning loop, and witness-signed releases. Works with Claude Code, Codex, pi.dev, Hermes, OpenClaw, and RVM (hardware-isolated sandbox).
- Record date: 2026-09-10T12:27:45.682Z