shareAI-lab /learn-claude-code
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
★ 80,443⑂ 12,862👁 307⑃ 364● 231▤ 0
+36
Daily
+334
Weekly
80,443
stars
12,862
forks
307
watchers
364
prs
231
issues
0
releases
README
English | 中文 | 日本語 Learn Claude Code -- Harness Engineering for Real Agents Agency Comes from the Model. An Agent Product = Model + Harness. Before we write any code, one thing needs to be clear. Agency -- the capacity to perceive, reason, and act -- comes from model training, not from external code orchestration. But a working agent product needs both the model and the harness. The model is the driver. The harness is the vehicle. This repository teaches you how to build the vehicle. Where Agency Comes From At the core of every agent is a neural network -- a Transformer, an RNN, a trained function -- shaped by billions of gradient updates on sequences of perception, reasoning, and action. Agency was never bestowed by the surrounding code. It was learned during training. Humans are the original proof. A biological neural network, refined by millions of years of evolutionary pressure, perceives the world through senses, reasons through a brain, and acts through a body. When DeepMind, OpenAI, or Anthropic say "agent," they all mean the same core thing: a model that learned to act through training, plus the infrastructure that lets it operate in a specific environment. The historical record is unambiguous: - 2013 -- DeepMind DQN plays Atari. A single neural network, receiving only raw pixels and game scores, learned 7 Atari 2600 games -- surpassing prior algorithms and beating human experts in 3 of them. By 2015, scaled to 49 games at professional tester level, published in Nature. No game-specific rules. One model, learning from experience. - 2019 -- OpenAI Five conquers Dota 2. Five neural networks played 45,000 years of Dota 2 against themselves over 10 months, then defeated OG -- the TI8 world champions -- 2-0 in a live match. In the public arena, the AI won 99.4% of 42,729 games. No scripted strategies. Models learned teamwork through self-play. - 2019 -- DeepMind AlphaStar masters StarCraft II. AlphaStar beat a professional player 10-1 in closed matches, then reached Grandmaster rank on the European server -- top 0.15% of 90,000 players. An incomplete-information, real-time game with a combinatorial action space far exceeding chess or Go. - 2019 -- Tencent Jueyu dominates Honor of Kings. Tencent AI Lab's "Jueyu" system defeated KPL professional players in full 5v5 at the World Champion Cup semifinal. In 1v1 mode, pros won just 1 out of 15 matches, lasting under 8 minutes at best. Training intensity: one day equaled 440 human years. A model that learned the entire game from scratch through self-play. - 2024-2025 -- LLM agents reshape software engineering. Claude, GPT, Gemini -- large language models trained on the full breadth of human code and reasoning -- are deployed as coding agents. They read codebases, write implementations, debug failures, and coordinate as teams. The architecture is identical to every previous agent: a trained model, placed in an environment, given tools for perception and action. Every milestone point
Top issues
#290关于context offloading/compac 上下文卸载/压缩 中的问题10 comments · 2026-05-19#338感谢大佬的教程,学完后自己做了一个乐高式组装harness的项目,分享出来共同学习4 comments · 2026-06-01#234s09_agent_teams执行流程疑问4 comments · 2026-04-16#349建议每节课只展示新代码,旧代码用 import 引用3 comments · 2026-06-05#65Windows 11 support: changes needed for all agent files3 comments · 2026-03-09#457把本项目核心思想学会了,什么水平?找到多好的工作?接下来继续学什么呢?2 comments · 2026-07-09#185Please add section to learn Claude Code System Prompts2 comments · 2026-04-06#583System_prompt and Error Recovery not exist in project1 comments · 2026-09-24