Skip to main content

Enterprise Patterns (71)

Enterprise patterns extend the free tier with advanced reasoning capabilities across specialized domains. They follow the same API as free patterns — build_context(), execute(), generic_prompt() — and integrate seamlessly with the intelligence layer.

License Required

Enterprise patterns require a valid license key. Set your key via:

export MYCONTEXT_LICENSE_KEY="your-license-key"

Or configure programmatically:

import mycontext
mycontext.configure(license_key="your-license-key")

Get a license →

Importing Enterprise Patterns

from mycontext.templates.enterprise.decision import DecisionFramework
from mycontext.templates.enterprise.systems import FeedbackLoopIdentifier
from mycontext.templates.enterprise.metacognition import MetacognitiveMonitor

# Same API as free patterns
result = DecisionFramework().execute(
provider="openai",
decision="Which cloud provider to standardize on",
options=["AWS", "GCP", "Azure"],
criteria=["cost", "reliability", "team expertise", "vendor lock-in risk"],
)

All 71 Enterprise Patterns

Specialized Intelligence (2 patterns)

Research-validated templates for RAG generation and memory compression — the two most critical challenges in production AI systems.

PatternWhat it doesKey inputsResearch
RagAnswererGrounded RAG generation with citation, abstention, and evidence extraction. Applies CRAG, Self-RAG, and Chain-of-Note principles. +15% evidence recall over plain RAG prompts.question, context, modeValidated
MemoryCompressorStructured state extraction from conversations — entities, decisions, constraints, key numbers. 2x recall over progressive summarization at scale. Plugs into any framework's memory middleware.content, intent, existing_memory, goalValidated
from mycontext.templates.enterprise.specialized import RagAnswerer, MemoryCompressor

# RAG with grounding and citation
rag = RagAnswerer()
result = rag.execute(
provider="openai",
question="What caused the outage?",
context=retrieved_chunks,
mode="answer",
)

# Memory compression for agent sessions
mc = MemoryCompressor()
result = mc.execute(
provider="openai",
content=conversation_history,
intent="session", # or "progressive" for updates
)

Advanced Analysis (4 patterns)

Deeper analytical capabilities beyond the free DataAnalyzer and QuestionAnalyzer.

PatternWhat it does
TrendIdentifierDetect and extrapolate trend lines with statistical confidence intervals
GapAnalyzerSystematic gap analysis between current state and desired state
SWOTAnalyzerFull SWOT with strategic implications and prioritized actions
AnomalyDetectorStatistical anomaly detection with severity scoring and causal hypotheses

Advanced Reasoning (2 patterns)

PatternWhat it does
CausalReasonerBuild causal models with confounders, mechanisms, and intervention analysis
AnalogicalReasonerStructured analogical transfer — map solutions from other domains

Advanced Creative (4 patterns)

PatternWhat it does
IdeaGeneratorSCAMPER + design thinking hybrid for product innovation
InnovationFrameworkJobs-to-be-Done framework for disruptive opportunity identification
DesignThinkerFull design thinking cycle: empathize → define → ideate → prototype → test
MetaphorGeneratorConstruct precise explanatory metaphors for complex concepts

Advanced Communication (5 patterns)

PatternWhat it does
SimplificationEngineMulti-level simplification with readability scoring
PersuasionFrameworkAristotle's ethos/pathos/logos persuasion architecture
NarrativeBuilderConstruct compelling narratives with arc, tension, and resolution
FeedbackComposerStructured feedback using SBI (Situation-Behavior-Impact) model
ClarityOptimizerDetect and resolve ambiguity, vagueness, and jargon systematically

Advanced Planning (3 patterns)

PatternWhat it does
ResourceAllocatorOptimal resource allocation with constraint modeling
PrioritySetterMulti-criteria prioritization with RICE, ICE, and custom frameworks
DeadlineManagerTimeline analysis with critical path identification and buffer optimization

Advanced Specialized (5 patterns)

PatternWhat it does
ContentOutlinerHierarchical content architecture with narrative flow
AmbiguityResolverSystematically identify and resolve ambiguous requirements
RiskMitigatorExtends RiskAssessor with FMEA and bowtie analysis
ImpactAssessorMulti-stakeholder impact assessment with quantified projections
ConceptExplainerLayered explanations calibrated to expertise level (Feynman technique)

Decision Patterns (5 patterns)

Comprehensive decision support frameworks.

PatternWhat it doesKey inputs
DecisionFrameworkStructured decision analysis with criteria weightingdecision, options, criteria
ComparativeAnalyzerHead-to-head comparison with normalized scoringitems, dimensions
TradeoffAnalyzerExplicit tradeoff mapping across multiple dimensionsoptions, tradeoffs
MultiObjectiveOptimizerPareto-optimal solution finding with constraint satisfactionobjectives, constraints
CostBenefitAnalyzerQuantified CBA with sensitivity analysis and NPVcosts, benefits, timeframe
from mycontext.templates.enterprise.decision import DecisionFramework

result = DecisionFramework().execute(
provider="openai",
decision="Choose our primary database technology",
options=["PostgreSQL", "MongoDB", "DynamoDB"],
criteria={
"query_flexibility": 0.30,
"operational_complexity": 0.25,
"cost": 0.20,
"team_expertise": 0.15,
"scalability": 0.10,
},
)

Problem Solving (6 patterns)

PatternWhat it does
ProblemDecomposerMECE decomposition into independently solvable sub-problems
BottleneckIdentifierThroughput analysis using Theory of Constraints methodology
ConstraintOptimizerOptimize outcomes within a constraint set
DependencyMapperMap dependency graphs with critical path analysis
EfficiencyAnalyzerWaste identification and process optimization (Lean principles)
TradeSpaceExplorerExplore the full solution space before committing to one option

Temporal Reasoning (3 patterns)

PatternWhat it does
TemporalSequenceAnalyzerAnalyze causation and dependencies across time
FutureScenarioPlannerExtended ScenarioPlanner with morphological analysis
HistoricalContextMapperMap historical precedents and their implications for current decisions

Diagnostic (3 patterns)

Medical-grade diagnostic reasoning methodology applied to any domain.

PatternWhat it does
DiagnosticRootCauseAnalyzerFMEA-integrated root cause analysis (extends free RootCauseAnalyzer)
DifferentialDiagnoserDifferential diagnosis — systematic elimination of alternative explanations
SystemHealthAuditorFull-system health audit across multiple diagnostic dimensions

Synthesis (3 patterns)

PatternWhat it does
HolisticIntegratorCross-domain synthesis with emergence detection
PatternRecognitionEngineIdentify recurring patterns in complex, noisy data
CrossDomainSynthesizerTransfer insights across domain boundaries

Systems Thinking (6 patterns)

The most sophisticated pattern category — models complex adaptive systems.

PatternWhat it does
FeedbackLoopIdentifierIdentify reinforcing and balancing feedback loops
LeveragePointFinderFind highest-impact intervention points in a system (Meadows' leverage points)
EmergenceDetectorIdentify emergent properties and non-linear dynamics
SystemArchetypeAnalyzerMatch system behavior to known archetypes (fixes that fail, tragedy of the commons, etc.)
CausalLoopDiagrammerBuild formal causal loop diagrams with polarity and delay notation
StockFlowAnalyzerModel stocks, flows, and accumulation dynamics
from mycontext.templates.enterprise.systems import LeveragePointFinder

result = LeveragePointFinder().execute(
provider="openai",
system="Enterprise SaaS customer retention system",
goal="Identify where small changes would have the largest impact on churn",
context="Current churn: 3.2%/month. Top churn drivers: feature gaps, support responsiveness, pricing",
)

Metacognition (5 patterns)

Patterns that think about thinking — improve reasoning quality and decision processes.

PatternWhat it does
MetacognitiveMonitorMonitor and improve the quality of reasoning processes
SelfRegulationFrameworkStructure self-correction and adaptive thinking
CognitiveStrategySelectorSelect the optimal cognitive strategy for a given problem type
LearningFromExperienceStructured after-action review and lessons-learned extraction
ErrorDetectionFrameworkSystematic identification of cognitive biases and reasoning errors

Ethical Reasoning (5 patterns)

Structured application of ethical frameworks to decisions and situations.

PatternWhat it does
EthicalFrameworkAnalyzerApply multiple ethical frameworks (consequentialist, deontological, virtue) to a situation
MoralDilemmaResolverStructured approach to genuine moral dilemmas without easy answers
StakeholderEthicsAssessorAssess ethical implications across all affected stakeholders
ValueConflictNavigatorNavigate situations where values genuinely conflict
ConsequentialistAnalyzerRigorous consequence mapping with probability-weighted impact

Learning (5 patterns)

Educational and knowledge-building patterns.

PatternWhat it does
ScaffoldingFrameworkBuild knowledge from existing foundations progressively
SpacedRepetitionOptimizerOptimize learning sequences for retention
ZoneOfProximalDevelopmentCalibrate challenge level to maximize learning
CognitiveLoadManagerReduce extraneous cognitive load in explanations
ConceptualChangeAnalyzerIdentify and address conceptual misconceptions

Evaluation (5 patterns)

Assessment and feedback patterns for systematic quality evaluation.

PatternWhat it does
RubricDesignerCreate evaluation rubrics with clear criteria and descriptors
FormativeAssessmentFrameworkOngoing assessment to guide improvement
SummativeEvaluatorFinal evaluation against defined criteria
PeerAssessmentStructureStructure effective peer review processes
SelfAssessmentGuideGuide structured self-evaluation

Pattern Combinations

Enterprise patterns are designed to chain with each other and with free patterns:

from mycontext.templates.enterprise.decision import TradeoffAnalyzer
from mycontext.templates.enterprise.systems import LeveragePointFinder
from mycontext.templates.free.planning import ScenarioPlanner

# Step 1: Map tradeoffs in the decision space
tradeoffs = TradeoffAnalyzer().execute(
provider="openai",
options=["Build in-house", "Use third-party API", "Acquire startup"],
tradeoffs=["control", "cost", "speed", "technical risk"],
)

# Step 2: Find the highest-leverage choice
leverage = LeveragePointFinder().execute(
provider="openai",
system="AI feature development ecosystem",
context=tradeoffs.response[:1000],
)

# Step 3: Plan for uncertainty
scenarios = ScenarioPlanner().execute(
provider="openai",
topic="Build vs. buy decision for core AI feature",
timeframe="18 months",
)

License and Pricing

Enterprise patterns are available in the following tiers:

  • Professional: All 71 patterns, single workspace
  • Team: All 71 patterns, up to 10 seats
  • Enterprise: All patterns, unlimited seats, custom SLAs

View pricing →