Agentic Design Patterns
A catalog of agentic programming patterns in the spirit of the "Gang of Four". The patterns describe recurring problems in working with an AI agent and ways to solve them. They help you choose an approach to setting the task, preparing context, verifying the result, and organizing the project. The section on anti-patterns covers common mistakes when interacting with an agent.
Patterns are grouped by area of work. The table of contents sets the order of the chapters and serves as the book's navigation.
Start with the preface and How to read this book.
The book was created by Kirill Mokevnin with the support of Hexlet and Praxor.
Hexlet is an online programming school. Its learning is built around practice: students solve problems, build projects, and get feedback from mentors. The courses help master the fundamentals of development and grow engineering skills.
Praxor helps engineering teams bring AI agents into the whole development cycle, from setting the task to shipping changes. The team sets up workflows, context for agents, and quality checks on a real codebase, and measures the result by its impact on development speed and quality.