Tag
A handbook explaining the Observer design pattern, its implementation in Dart, and how it integrates with event-driven architecture and Domain-Driven Design in Flutter applications.
Explains four types of agent loops—turn-based, goal-based, time-based, and proactive—and how each shifts automation from human to system, helping engineers choose the right structure for different tasks.
Discussion of two approaches to software design, as documented on the C2 wiki.
This article introduces the definition and classification of AI agent loops by the Claude Code team, including turn-based, goal-oriented, time-based, and proactive loops, and provides practical advice on controlling token consumption and ensuring code quality.
This paper proposes design patterns for MCP servers to improve LLM tool selection accuracy, finding that too many visible tools degrade performance, especially for weaker models.
A detailed guide to implementing design patterns in C, exploring how to apply object-oriented design principles in a procedural language.
The article argues that design patterns are overrated and often unnecessary workarounds for language limitations, using Java as a prime example and contrasting it with more expressive languages like Scala.
A comprehensive guide to 15 AI agent design patterns for production systems, explaining when to use each pattern and common pitfalls.
An article explaining how to build AI-driven 'loops' to automate revenue-generating business processes, citing insights from Boris Cherny (Claude Code) and Peter Steinberger (OpenClaw).
This article presents a repository that systematically gathers and benchmarks 35 AI agent architectures, helping developers choose effective control structures for production systems.
Peter Steinberger suggests moving from prompting coding agents to designing loops that prompt agents, while @dzhng advises using state machines instead of loops.
A follow-up post showcasing various examples of 'molly guards'—physical and software design elements that prevent accidental button presses or actions—ranging from IBM typewriters to Chrome's quit dialog.
An exploration of the components and design decisions behind agent memory libraries, clarifying the gap between cognitive science terminology and engineering implementation.
A comprehensive research guide from Veso detailing the universal architecture patterns that have converged across major AI agent systems (Claude Code, OpenAI Codex, Gemini CLI, etc.), presenting 8 postulates for building production-grade agentic systems.
A comprehensive cheat sheet of 12 system design patterns for technical interviews, including signals, building blocks, and deep-dives for each pattern, based on 200+ interviews across top tech companies.
A founder discusses the scaling challenges of using markdown files for AI agent memory in production, highlighting common pitfalls with permissions, multi-agent interaction, and temporal queries, and suggests that teams often end up patching around these issues without realizing they are rebuilding a more complex system.
This paper proposes a two-dimensional classification framework for AI agent design patterns that combines cognitive function and execution topology axes, identifying 27 named patterns and deriving empirical laws from cross-domain analysis.
The article explains Emacs's architectural patterns, focusing on the universal buffer data model and incremental completing read (ICR), comparing them to a rose's roots and petals. It highlights how Emacs unifies interfaces and allows extensibility via Elisp.
Discusses how AI amplifies code quality, emphasizing that software fundamentals matter more than ever, and recommends five design patterns for building reliable AI agents.
Google’s Agent Design Patterns—now in Chinese. Stop aimlessly scrolling papers, piecing together tutorials, and falling into every Agent pitfall. This book distills the core methodology, design patterns, and production-grade frameworks for AI Agents in one shot.