// summary
This repository provides a comprehensive educational framework for building agent harnesses, which are the essential environments that allow AI models to perceive and act. It argues that true agency is learned by models during training, while the developer's role is to construct the tools, knowledge, and context management systems that enable these models to function. Through twelve progressive sessions, users learn to build robust, scalable agent architectures by reverse-engineering the principles behind Claude Code.
// technical analysis
This project promotes a 'harness-first' design philosophy, arguing that true agency is derived from trained models rather than complex procedural code orchestration. It addresses the common industry pitfall of 'prompt plumbing' by providing a structured framework for building the environment—or harness—that allows intelligent models to perceive, reason, and act effectively. By separating the intelligence (the model) from the infrastructure (the harness), the project provides a modular, scalable approach to building agents that can be applied across diverse domains beyond software engineering.
// key highlights
// use cases
// getting started
To begin, clone the repository and install the necessary dependencies using 'pip install -r requirements.txt'. Configure your environment by copying the example file to '.env' and adding your ANTHROPIC_API_KEY. You can then explore the progression by running the scripts in the 'agents/' directory, starting with 's01_agent_loop.py' and moving toward the full implementation in 's_full.py'.