Free · Open source · Runs in your browser

Build an AI Agent in
60 Lines of Python

No framework. No install. See what LangChain, CrewAI, and AutoGen actually do — by building it yourself.

9 interactive lessons. Write real Python, call real LLM APIs, see real traces. Everything runs in your browser.

~30 minutes total·No signup required·MIT licensed

This is the entire agent loop

while True:
    response = llm(messages, tools)

    if response.tool_call:
        result = run_tool(response.tool_call)
        messages.append(result)
    else:
        break
User
LLM
Tool
Result
LLM
Done

Watch the loop run. This is what every agent framework does.

>>

Runs in Your Browser

Python via Pyodide. Real code, real API calls, real traces. No terminal, no venv, no Docker.

{}

No Framework Required

Raw HTTP calls to the LLM API. See the actual POST request. No SDKs hiding the work.

==

See What Frameworks Do

Every lesson shows the LangChain or CrewAI equivalent — then the plain Python underneath.

9 lessons. Each one builds on the last.

Start anywhere. Every lesson runs live in your browser.

From a single function call to a complete agent framework — learn tool calling, conversation memory, state management, policy gates, and self-scheduling.

One function. One HTTP POST.

That's where it starts. The first lesson takes 2 minutes.

Start Lesson 1 →