beginner8 chapters

Agent Loop Foundations

From zero to your first production-ready agent loop. Set up your environment, build a loop from scratch in Python, then run it inside the major coding agents.

Module 1. Getting Started

Environment setup and project context files

  1. 1Setting Up a Local AI Loop Workflow
  2. 2CLAUDE.md Writing Best Practices

Module 2. Building Loops

Implement an agent loop from scratch in Python

  1. 1Building Custom AI Agent Loops in Python

Module 3. Tools in Practice

Run loops in Claude Code, Cursor, Codex CLI, Aider, and Cline

  1. 1Loop Engineering in Claude Code: A Practical Guide
  2. 2Loop Engineering with Cursor IDE
  3. 3Loop Engineering with OpenAI Codex CLI
  4. 4Aider Loop Engineering Guide
  5. 5Cline Loop Engineering Guide