Python agent systems that can be tested, observed, recovered, and operated beyond a prototype.
Who this course is for
Prepare by reading and writing ordinary Python and recognizing requests, state, and failures in a software service.
Curriculum and format
44 lessons or readings. Tool contracts and permissions. Retrieval, memory, and durable execution. Observability and evaluation. Judge a run by its state changes and evidence as well as its final answer. Try failures and restarts in a small environment before applying the design to a system with real side effects.
Try the reasoning
Suppose an agent sends a message and then its process restarts. A durable record and a stable operation identifier help the runtime determine whether the message was already sent before repeating an effect.
Before enrolling
Check the current curriculum, access terms, and any free sample on Payhip. Compare the language, assumed knowledge, pace, and practice format with your own goals.
View the course and available samples on Payhip
Fifteen companion articles
Use these worked explanations and reading exercises to explore the subject before choosing a course. Some technical articles also accompany the related book.
- Choosing the Building Production-Grade AI Agents course
- From LLM Calls to Stateful Agents
- Workflows vs. Agents: Setting Autonomy Boundaries
- Token Budget Allocation: Treating Context as a Runtime Resource
- Working, Episodic, Semantic, and Procedural Memory in Agents
- Idempotent Tool Calls: Making Retries Safe
- Retries, Timeouts, and Circuit Breakers for Agents
- Sagas and Compensating Actions: Undoing Multi-Step Agent Work
- Prompt Injection: Direct and Indirect
- Capability-Based Tool Access: Least Privilege for Agents
- Evaluating Trajectories, Not Just Outcomes
- Designing a durable event record for an AI agent
- Managing context as a bounded runtime resource
- Representing time and identity in agent memory
- Checking permissions before retrieved evidence reaches an agent
