Learn-Open-Harness

作者 joyehuang

🤖 Official Interactive Tutorial for OpenHarness – Zero to Hero in 12 Chapters | Learn OpenHarness like Claude Code: Agent Loop, Tools, Memory, Multi-Agent | 面向零基础的 AI Agent 交互式教程

331
Stars
63
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/joyehuang/Learn-Open-Harness

快速入门

使用 Learn-Open-Harness 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

🤖 Learn OpenHarness

The interactive companion to HKUDS/OpenHarness — built the day after OpenHarness launched.

Zero to Hero in 12 chapters. Learn the architecture behind Claude Code: Agent Loop, Tools, Memory, Permissions, Multi-Agent & more.

Live Demo →  ·  Issues  ·  Contributing  ·  中文版

Author: joyehuang.me  ·  Xiaohongshu (32k likes) →

⭐ If this tutorial helps you understand AI Agents, star the repo — Goal: 10k stars!


https://github.com/user-attachments/assets/72102803-c56d-4b37-816f-f530a7ce9dc2

Why this exists

OpenHarness dropped and immediately blew up — the first open-source implementation of the AI Agent Harness pattern that powers Claude Code, Cursor, and the next generation of AI coding tools.

But ~11,700 lines of infrastructure code is a lot to digest. Concepts like Agent Loop, tool registries, permission tiers, and MCP aren't obvious from reading source alone.

So I built this the next day: 12 interactive chapters that break down every core concept with real-world analogies, animated diagrams, hands-on simulators, and quizzes — so you can actually understand what OpenHarness does before diving into the code.

No AI or programming experience required.

Features

📖 12 ChaptersFrom "What is an AI Agent" to "Multi-Agent Collaboration"
🎮 InteractiveAgent Loop animation, Tool Explorer, Permission Sandbox, Architecture Diagram
🧠 QuizzesEmbedded in every chapter with instant feedback
📊 ProgressAuto-tracks completed chapters
🌙 Dark ModeDeep navy palette, easy on the eyes
📱 ResponsiveMobile, tablet, desktop

Curriculum

Harness = Tools + Knowledge + Observation + Action + Permissions

Phase A · Fundamentals

#ChapterKey Concepts
01What is AI AgentLLM vs Agent — from "talking" to "doing"
02What is HarnessThe Agent's equipment system
03The Harness EquationTools + Knowledge + Observation + Action + Permissions

Phase B · Core Mechanisms

#ChapterKey Concepts
04Agent LoopThink → Act → Observe, the infinite loop
05Tool System43+ built-in tools, unified interface + registry pattern
06Permission SystemThree-tier security guardrails
07Hook SystemLifecycle events, inject custom logic at critical moments

Phase C · Intelligence Layer

#ChapterKey Concepts
08SkillsOn-demand knowledge loading
09MemoryCross-session persistence, 4 memory types
10MCP IntegrationStandardized external world connection (like USB)

Phase D · Advanced

#ChapterKey Concepts
11Multi-AgentParallel sub-agents, divide and conquer
12Full FlowComplete journey from user input to Agent response

Quick Start

git clone https://github.com/joyehuang/Learn-Open-Harness.git
cd Learn-Open-Harness
npm install
npm run dev

Open http://localhost:3000 and start learning.

Tech Stack

TechPurpose
Next.js 16App Router, SSR
TypeScript 5Type safety
Tailwind CSS v4Styling
shadcn/uiUI components
next-themesDark mode

Contributing

Contributions welcome!

  • Fix content: PR to src/content/chapter-XX.ts
  • Add chapters: Follow existing format in src/content/
  • Improve interactive components: src/components/interactive/
  • Translate: Help bring this to more languages

Each chapter is a TypeScript file with section blocks (text, analogy, code, quiz, key-concept, comparison, diagram) — easy to modify, zero barrier to contribute.

License

MIT


⭐ Star this repo if it helped you — Goal: 10k! ⭐

Built by @joyehuang  ·  Xiaohongshu (32k likes) →

常见问题

What is Learn-Open-Harness?

Learn-Open-Harness is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by joyehuang. 🤖 Official Interactive Tutorial for OpenHarness – Zero to Hero in 12 Chapters | Learn OpenHarness like Claude Code: Agent Loop, Tools, Memory, Multi-Agent | 面向零基础的 AI Agent 交互式教程. It has 331 GitHub stars.

Is Learn-Open-Harness safe to use?

Learn-Open-Harness returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install Learn-Open-Harness?

Clone the repository with "git clone https://github.com/joyehuang/Learn-Open-Harness" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is Learn-Open-Harness written in?

Learn-Open-Harness is primarily written in TypeScript. It is open-source under joyehuang on GitHub, so you can review or fork the full source.

Are there alternatives to Learn-Open-Harness?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Learn-Open-Harness against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情