Skip to content

kenchikuliu/harness-engineering-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Harness Engineering Awesome

A curated, bilingual (English/Chinese) collection of resources, tools, templates, and implementations for Harness Engineering — the practice of shaping the environment around AI agents so they work reliably.

中文版 →

Harness Engineering sits at the intersection of context management, mechanical enforcement, evaluation, orchestration, and safe autonomy. This repo goes beyond link aggregation: it includes ready-to-use templates, deep concept guides, and a complete map of the emerging ecosystem.

Contents


Foundational Articles


Concepts & Principles

Six core principles distilled from the OpenAI field report:

# Principle One-line Summary
1 Repo as Source of Truth Anything not in the repo doesn't exist for agents
2 Map, Not Manual AGENTS.md is ~100 lines pointing to deeper docs
3 Mechanical Enforcement Lint rules > documentation — rules don't rot
4 Agent Readability Prefer "boring" tech; optimize for agent reasoning
5 Throughput Changes Merge Philosophy Short PR lifecycle; correction cost is low
6 Entropy Management Technical debt compounds — agents replicate bad patterns

Deep dives in concepts/:


Implementations & Loops

The Ralph Series — Progressive Evolution

The "Ralph Wiggum Loop" is the canonical Harness Engineering execution pattern: agents run in a loop with fresh context each iteration until the task completes.

Project Stars Description
snarktank/ralph 13.6k Original Ralph: bash script that restarts AI on each iteration, clears context, runs until PRD is done. 6 core tenets.
ralph-orchestrator 2.3k Rust evolution: Hat role system, event-driven coordination, multi-backend (Claude/Kiro/Gemini/Codex), backpressure gating, persistent memory.
qianxiaofeng/bmad-ralph BMAD methodology + Ralph: parallel Claude Code worktrees, 3-layer self-healing (retry→restart→diagnose), SQLite state machine.

Ralph's 6 Tenets mapped to Harness Engineering:

Ralph Tenet HE Concept
Fresh Context Is Reliability Agent Readability — re-read state each iteration
Backpressure Over Prescription Mechanical Enforcement — gate bad results, don't prescribe how
The Plan Is Disposable Entropy Management — regenerating is cheap
Disk Is State, Git Is Memory Repo as Source of Truth
Steer With Signals, Not Scripts Human steers — add waypoints, not scripts
Let Ralph Ralph Agent Execution — sit on the loop, not in it

Platforms & Tools

Platforms

Project Stars Description
ModelEngine-Group/nexent 4.4k Zero-code platform for auto-generating production-grade AI agents using HE principles — unified tools, skills, memory, orchestration, constraints, feedback loops.
nightshiftco/nightshift 26 Open Source Harness Engineering Platform.
Stanshy/AgentHub 40 Electron app managing 47 AI agents with Skills + Hooks + FileWatchers for disciplined, traceable AI workflows.
andrew-yangy/gru-ai Autonomous agent team for one-man companies — context + harness engineering drive brainstorm→build→review→ship.

Enforcement & Guardrails

Project Stars Description
phodal/entrix 31 Turns quality rules, architecture constraints, and validation steps into executable guardrails.
markmishaev76/ai-harness-scorecard Grade repos on AI engineering safeguards. Based on DORA 2025, OpenAI HE, and SlopCodeBench research.

Terminal & Orchestration

Project Stars Description
OndrejDrapalik/gmux Terminal primitive designed for agentic/harness engineering workflows.

Templates & Starters

Project Stars Description
jrenaldi79/harness-engineering 50 CLAUDE.md templates, mechanical enforcement, field guide to 20+ best practices. Bootstrap with one command.
toy-crane/harness-engineering-template Template repository for starting a harness-engineered project.
charlesanim/harness-engineering Skill to set up OpenAI's HE methodology in any repo. Works with Copilot, Codex, Claude, Cursor.

Ready-to-use templates in this repo: templates/


Skills & Plugins

Project Stars Description
revfactory/harness 572 Claude Code meta-skill: say "build a harness" and it auto-generates .claude/agents/ and .claude/skills/. 6 architectural patterns.
lipingtababa/agents-zone-skillset Claude Code agents/skills implementing HE Playbook — TDD, adversarial QC, CI/CD self-healing.
Phlegonlabs/Harness-Engineering-skills AI-native engineering workflow skills — repo-backed PRD-to-code orchestration, milestone delivery, validation.

revfactory/harness: 6 Architectural Patterns

Pattern Use Case
Pipeline Sequential processing
Fan-out/Fan-in Parallel distribution + aggregation
Expert Pool Dynamic routing to specialists
Producer-Reviewer Generation + quality review
Supervisor Central agent with dynamic task distribution
Hierarchical Delegation Top-down recursive delegation

Community & Discussion

Project Stars Description
walkinglabs/awesome-harness-engineering 376 Original awesome list — articles, playbooks, benchmarks, specs, open-source projects.
Jiaaqiliu/Awesome-Harness-Engineering Community-curated collection focused on production reliability.
lipingtababa/harness-engineering-playbook 43 Practical framework for shipping quality software with AI agents in team environments.
zhoushaw/Context-Engineering-to-Harness-Engineering Evolution path from Context Engineering to Harness Engineering.
alchemiststudiosDOTai/harness-engineering Shortcuts, automation, hacks and productivity with Claude Code, Codex, and other harness tools.

Chinese Resources

Resource Description
deusyu/harness-engineering 🇨🇳 深度学习档案 — 从 OpenAI 原文出发,拆解六大核心概念,含 Ralph 系列映射,中文最佳入门
README_ZH.md 本 repo 的完整中文版
concepts/ (中文) 每篇概念文档均含中文版

Contributing

See CONTRIBUTING.md. Prefer resources that are:

  • Specific about constraints, evaluation, context management, orchestration, or observability
  • Original implementations or primary-source articles
  • Useful to practitioners building real harnesses

License

CC0 1.0

About

🛠️ Bilingual (EN/ZH) Harness Engineering resource hub — Awesome List + deep concept guides + ready-to-use templates

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors