Layer 1: Foundational
Core workflow patterns
Planning, orchestration, self-evaluation, and meta-rules that govern all work.
Patterns are the HOW of AI Mantras - reusable reasoning structures and thinking templates that provide consistent, traceable outputs. They work like mental frameworks that guide how AI approaches different types of problems.
AI Mantras includes 9 patterns organized into three layers based on their function:
Layer 1: Foundational
Core workflow patterns
Planning, orchestration, self-evaluation, and meta-rules that govern all work.
Layer 2: Thinking
Reasoning patterns
Chain-of-thought, rule-based reasoning, and creative guardrails for execution.
Layer 3: Evaluation
Assessment patterns
Criterion-based evaluation and threat modeling for quality and safety.
These patterns establish the core workflow and communication structure.
These patterns structure how personas reason through problems.
These patterns structure how evaluators assess outputs.
Patterns work together in powerful combinations:
| Workflow | Pattern Combination |
|---|---|
| Project kickoff | Planning Phase → Orchestration → Meta Rules |
| Domain execution | Chain of Thought + Rule-Based Reasoning |
| Creative work | Guardrail Creative + Meta Rules |
| Quality review | Criterion-Based Evaluation + Recursive Self-Eval |
| Security assessment | Threat Modeling + Rule-Based Reasoning |
| High-stakes work | Any pattern + Recursive Self-Eval |