CerebeCerebe Docs

Cognitive Profiles

Persistent, evolving profiles that track how users and agents think.

Cognitive Profiles

Cognitive Profiles are Cerebe's persistent representation of how a user or agent operates. They evolve automatically over time through PLRE analysis and PEOA observation cycles, enabling deeply personalized interactions without manual configuration.

What's in a Profile?

Human Profiles

Built from learning sessions and meta-learning analysis:

FieldDescriptionExample
active_phaseCurrent PLRE learning phase"learn"
engagement_levelSmoothed engagement metric (EWMA)0.82
cognitive_loadCurrent cognitive load estimate0.45
confidenceLearner confidence score0.71
preferred_modalitiesDetected learning modalities["visual", "code"]
reinforcement_topicsTopics needing reinforcement["recursion", "graphs"]
session_countTotal sessions analyzed47

Agent Profiles

Built from execution traces and PEOA observations:

FieldDescriptionExample
task_success_rateSmoothed success rate0.89
execution_efficiencySteps-taken vs steps-planned0.76
plan_coherence_driftHow much execution diverges from plan0.12
tool_reliabilityPer-tool success rate and latency{"search": {success: 0.95, latency: 120}}
preferred_strategiesDetected strategy patterns["depth_first", "verify_then_act"]

Get a Profile

profile = await client.profiles.get("user_123")

print(profile.engagement_level)     # 0.82
print(profile.preferred_modalities) # ["visual", "code"]
print(profile.active_phase)         # "learn"
const profile = await client.profiles.get('user_123')

console.log(profile.engagementLevel)     // 0.82
console.log(profile.preferredModalities) // ["visual", "code"]
console.log(profile.activePhase)         // "learn"
curl https://api.cerebe.ai/api/v1/meta-learning/profile/user_123 \
  -H "X-API-Key: ck_live_..."

How Profiles Evolve

Profiles update automatically — you don't need to manage them manually.

For humans: Every PLRE analysis cycle updates engagement, confidence, cognitive load, and modality preferences using exponentially weighted moving averages (EWMA). This ensures recent sessions have more influence while maintaining stability.

For agents: Every trace ingestion triggers a PEOA observation that updates task success rate, tool reliability scores, strategy preferences, and plan coherence metrics.

Multi-Agent Coordination

Cognitive profiles support hierarchical memory scoping:

  • Private — Only the creating agent can read/write
  • Task-shared — All agents on the same task can read (creator writes)
  • Org-shared — All agents in the organization can read

This enables teams of agents to share cognitive context without conflicts, with optimistic concurrency control protecting against write races.

API Reference

MethodEndpointDescription
GET/api/v1/meta-learning/profile/{user_id}Get cognitive profile
POST/api/v1/meta-learning/plre/transitionUpdate PLRE phase
GET/api/v1/meta-learning/plre/stateGet current PLRE state
POST/api/v1/meta-learning/analyzeTrigger pattern analysis

Next Steps

On this page