A minimal educational implementation of an agent harness built from scratch in Python.
Clear educational code with low adoption cost and high learning value.
High confidence. AI review by Gemini, 2026-11-24. No person checked it. Based on the README, activity, licence and health signals.Builds internal team knowledge for creating custom AI agent tools.
Python, lightweight, MIT licence, no complex infrastructure needed.
git clone https://github.com/shareAI-lab/learn-claude-code cd learn-claude-code pip install -r requirements.txt python s01_agent_loop/code.py # Start here -- one loop + bash python s08_context_compact/code.py # Context compaction (complex)
README · Releases · Issues · Pull requests · Commits · Security · Licence