
This course contains the use of artificial intelligence.
The hardest part of building with AI agents is no longer the prompt -- it's the loop. An agent runs in a cycle: it takes an action, sees the result, and decides what to do next, over and over until it's done. Get that loop right and you have a reliable autonomous system; get it wrong and you have infinite cycles, silent failures, and billing surprises orders of magnitude over budget. This course teaches loop engineering: the practice of designing, controlling, and operating agentic loops on purpose.
You'll start with the mental shift from prompt engineering to loop engineering, and exactly how an agentic loop works. Then you'll master the anatomy of a loop: defining verifiable goals, choosing triggers, picking the right control pattern (from ReAct to plan-then-execute to orchestrator-worker), wiring up tools and delegation, and managing agent state and memory.
The heart of the course is guardrails -- the non-negotiable safety constraints that separate a demo from production: hard iteration caps, token and cost budgets, no-progress detection, circuit breakers on tool calls, and real termination criteria based on verifiable checks rather than the agent grading its own work. You'll finish with observability and evaluation, and a capstone that engineers a production-ready loop end to end, plus a reusable checklist.
By the end you'll design agent loops that finish, stay on budget, and fail safely -- the core skill for shipping agents in 2026.