CerebeCerebe Docs

Meta-Learning

Analyze learning patterns and optimize educational experiences with the PLRE framework.

Meta-Learning

Cerebe's Meta-Learning system analyzes how users learn across sessions, identifies patterns, and uses the PLRE (Prepare, Learn, Reinforce, Evaluate) framework to optimize educational experiences in real time.

Why Meta-Learning?

Most AI tutors treat every session independently. Cerebe's meta-learning layer builds a persistent understanding of each learner:

  • Pattern Detection — Identifies learning preferences, strengths, and growth areas across sessions
  • PLRE Framework — Guides learners through cognitively optimal phases
  • Adaptive Personalization — Adjusts content delivery based on accumulated insights
  • Cross-Domain Transfer — Recognizes patterns that apply across subjects

Core Concepts

Learning Patterns

The system detects patterns from memory and interaction data:

Pattern TypeExample
time_preference"User is most engaged during morning sessions"
topic_sequence"User learns math better after a warm-up exercise"
modality_preference"User retains more from visual explanations"
memory_distribution"User has 15 episodic memories, 8 semantic memories"

PLRE Framework

PLRE defines four cognitive phases that optimize learning:

PhasePurposeKey Metrics
PrepareActivate prior knowledge, set contextEngagement level, cognitive readiness
LearnIntroduce new concepts, active instructionCognitive load, comprehension signals
ReinforcePractice, apply, and solidify understandingRetention rate, error patterns
EvaluateAssess mastery, identify gapsConfidence score, accuracy metrics

The system automatically transitions between phases based on real-time signals. See PLRE Scoring for details.

Learner Profiles

Each user builds a persistent profile over time:

profile = await client.meta_learning.profile("user_123")

print(profile.learning_style)       # "visual-sequential"
print(profile.strengths)            # ["pattern recognition", "spatial reasoning"]
print(profile.growth_areas)         # ["long-form writing", "abstract concepts"]
print(profile.preferred_modalities) # ["visual", "kinesthetic"]

API Reference

MethodEndpointDescription
POST/api/v1/meta-learning/analyzeAnalyze learning patterns
GET/api/v1/meta-learning/profile/{user_id}Get learner profile
POST/api/v1/meta-learning/plre/transitionTrigger PLRE phase transition
GET/api/v1/meta-learning/plre/stateGet current PLRE state

Quick Example

from cerebe import AsyncCerebe

client = AsyncCerebe(api_key="ck_live_...")

# Analyze patterns over the last 30 days
analysis = await client.meta_learning.analyze(
    user_id="user_123",
    window="30d",
)

for pattern in analysis.patterns:
    print(f"{pattern.pattern_type}: {pattern.description}")
    print(f"  Confidence: {pattern.confidence}")
import Cerebe from '@cerebe/sdk'

const client = new Cerebe({ apiKey: 'ck_live_...' })

const analysis = await client.metaLearning.analyze({
  userId: 'user_123',
  window: '30d',
})

for (const pattern of analysis.patterns) {
  console.log(`${pattern.patternType}: ${pattern.description}`)
  console.log(`  Confidence: ${pattern.confidence}`)
}

Next Steps

On this page