Design Patterns for
Modern Engineering
High-performance, production-ready implementations of Agentic and Classic patterns. TypeScript, Python, C++, C# — verified and ready to ship.
Featured Patterns
6 verified patterns across 5 categories
Evaluator-Optimizer Agent
An iterative refinement loop where an 'Evaluator' provides granular feedback on an 'Optimizer’s' output until quality thresholds are met.
ReAct Agent
Interleaves chain-of-thought Reasoning with Action execution, enabling LLMs to dynamically plan, act, and observe in a loop.
Singleton
Ensures a class has only one instance and provides a global point of access to it.
Factory Method
Defines an interface for creating an object but lets subclasses decide which class to instantiate. Defers instantiation to subclasses.
Abstract Factory
Provides an interface for creating families of related objects without specifying their concrete classes.
Builder
Separates the construction of a complex object from its representation, allowing the same construction process to produce different results.