Level 2 · Building with coding agents

Agents & Sub-Agents

Level 2, intermediate. Your first weeks with Claude Code or Codex: how an agent uses tools and files, when to split work across sub-agents, and how to keep it on the rails.

This guide is for individuals who are moving beyond simple AI chat to using autonomous agents that can edit files and run terminal commands. You will learn how to orchestrate multi-step workflows, manage agent memory, and use specialized protocols to connect AI to your local development tools.

Who this is for: You are trying Claude Code or Codex for the first time and want your agent to use tools, edit files, and delegate to sub-agents well.

In this guide

Adopting the Manager Mindset

Transition from writing code line-by-line to orchestrating autonomous loops that research, plan, and execute complex technical tasks.

Read the deep dive

Connecting Tools with the Model Context Protocol

Build reliable AI infrastructure by using a standardized protocol to link your coding agent with local files, external APIs, and modular skill sets.

Read the deep dive

Building a Hierarchical Memory System

Learn to manage agent context by structuring architectural decisions in markdown files to ensure your AI assistant remains consistent across complex projects.

Read the deep dive

Routing Tasks to Specialized Sub-Agents

Learn how to optimize your coding agent by using fast decision models to delegate tasks to specialized sub-agents, reducing latency and cost while improving accuracy.

Read the deep dive

Verifying Actions with the Sentinel Pattern

Protect your system from unauthorized agent behavior by deploying monitoring layers and isolated execution environments.

Read the deep dive