BUILDINGCLAUDE CODE

A nano Claude Code–style agent harness, built from 0 to 1 - about 12,240 lines of Python across 20 lessons.

"Agency comes from the model. Your job is the harness, not the intelligence."

OpenLibreNet
Anonymous browsing · Together

Page blocked in your country?

OpenLibreNet opens it from six other countries, in the browser you already have. Nothing to install, no VPN app, no signup. Free, and you can share the session link so someone else browses it with you.

Six countries No VPN app No signup, share the session
Open a blocked page
Open a blocked page

The Core Pattern

Every coding agent - Claude Code included - is this one loop:

while True:
    response = model(messages, tools)
    if response.stop_reason != "tool_use":
        return response.text
    results = execute(response.tool_calls)
    messages.append(results)

The model calls tools until it is done. Memory, tasks, teams, MCP - every one of the 20 lessons is a refinement around this loop.

The Build, Stage by Stage

Key Concepts

Agency comes from the model

An agent product = model + harness. The intelligence is trained into the model; your job is the plumbing around it, not the reasoning.

One loop is the whole engine

A while-True loop that calls tools until the model stops. Every mechanism in the course hangs off this single loop.

Add capability, never rewrite the loop

Each lesson registers a new mechanism - tools, memory, tasks, teams - around the same loop instead of changing it.

Source + English + runnable code

Every chapter ships a narrative README, English/Japanese translations, and a standalone code.py you can actually run.

Related Projects

WebMCP Developers