Skip to main content

17 bilingual chapters · 15 Python labs

Claude Code Internals

Follow a prompt all the way to tool execution. Combine source walkthroughs with runnable Python labs to understand the agent loop, tools, permissions, memory, and multi-agent collaboration.

No API key needed in Mock mode · Independent learning project based on a fixed source snapshot

Understand the architecture

Follow 17 guided chapters from startup to the agent loop, tools, permissions, memory, and context management.

Build your first agent

Start with a minimal loop, then add tools and streaming chat through three hands-on tutorials.

Explore working experiments

Run 15 Python labs to see the designs in action. Start in Mock mode with no API key.

Look up and connect ideas

Find implementation clues with source maps, pattern cheatsheets, architecture diagrams, and a glossary.