Step-by-step agent tutorials

Build production agents, step by step.

Clean, copy-paste tutorials for building AI agents: first-class code blocks, real eval results, and no fluff. Follow a path or jump straight to the step you need.

$ npm i && copy-paste the next step

Learning paths

Curated tutorial sequences

Each path is an ordered run of copy-paste tutorials. Start at step one or drop in wherever you are.

Featured tutorials

Single, self-contained walkthroughs you can finish in one sitting.

Intermediate13 min

Claude Code Slash Commands in 2026: Custom Commands Are Now Skills

Anthropic merged custom slash commands into skills in 2026. Your .claude/commands files still work, nothing is deprecated, and the frontmatter you gain is the reason to move. Includes the command-name rule that catches everyone and a runnable collision audit.

Beginner3 min

Publication Dates Corrected on Four Early AgentNotebook Tutorials

Four launch-week tutorials carried a stored publication timestamp that predated the registration of agentnotebook.dev. The timestamps are corrected, the tutorial text is unchanged, and the check is one you can run yourself.

Advanced14 min

Claude Code Memory: CLAUDE.md vs Auto Memory, and What Actually Loads (2026)

Claude Code has two memory systems and only one of them is capped. A precise 2026 walkthrough of CLAUDE.md load order, the auto memory directory, the 200-line-or-25KB index limit, and a runnable linter that measures your MEMORY.md the way Claude Code measures it.

Advanced14 min

Claude Code Plan Mode: How It Actually Gates Your Edits (2026)

Plan mode is not a read-only state. It is a rule at step 4 of a six-step permission evaluation, which is why allow rules stop applying while you plan and why a session with bypass permissions can edit anyway. The CLI keystrokes, the settings, the Agent SDK equivalent, and a plan-then-execute pipeline in Python and TypeScript. August 2026.

Advanced15 min

Claude Code Subagents: How to Create, Scope, and Nest Them (2026)

The /agents creation wizard was removed in Claude Code v2.1.198, so almost every guide still ranking for this topic teaches a flow that no longer exists. Here is the current way to write, scope, invoke, and cap Claude Code subagents, with a version number on every claim. August 2026.

Beginner8 min

LangGraph InvalidUpdateError: Fix "Can Receive Only One Value Per Step" (2026)

InvalidUpdateError: Can receive only one value per step means two parallel LangGraph nodes wrote the same state key with no reducer. Reproduce it in 15 lines and fix it the right way in Python and TypeScript (2026).

Pick your stack

Tell us your model provider and runtime, and we'll surface the tutorials that match.

From the notebook

The latest tutorials, fresh off the press.

Found a bug or want a topic covered?

Found a bug in a tutorial, want a topic covered, or shipping something with these patterns? Send the details. Code snippets and repro steps welcome.

Get in touch