Version 3.2.0 - Jungian Intelligence Layer
Released: March 2026Overview
Version 3.2.0 introduces the Jungian Intelligence Layer, four psychology-inspired subsystems that transform raw memory data into meaningful, context-aware intelligence. Built on top of the concentric memory rings (v3.1.0) and Collective Best Practices, this release adds temporal pattern detection, archetype-driven pattern delivery, automatic memory consolidation, and per-profile maturity scoring.The Jungian Intelligence Layer is named after Carl Jung’s analytical psychology. Each subsystem maps to a Jungian concept: Archetypes classify patterns, Synchronicity discovers meaningful coincidences, Dreams consolidate memories, and Individuation measures growth toward self-realization.
Key Features
1. Synchronicity Detection
Discovers temporal co-occurrence patterns across anonymized profiles using pure SQL analysis — no LLM calls required. Three analysis types operate on thetemporal_events table:
- Co-occurrence: Tools that are frequently used together within a 5-minute window
- Failure Correlation: Tools that tend to fail at specific times (day-of-week and hour-of-day clustering)
- Emergent Workflows: Three-tool sequential patterns that recur across 3+ profiles
gut_patterns with pattern_type='synchronicity' and embedded for vector search.
Privacy: Only profile_hash (HMAC-SHA256) is stored in temporal events — raw UUIDs never touch the table. Events are retained for 90 days by default.
2. Archetype-Driven Pattern Delivery
Wraps the existing CBP injection engine with Jungian archetype filtering. Each pattern is classified into one of four archetypes:
Archetype selection is fully deterministic — context fields (outcome, observation type, consecutive failures) are mapped to weights without any LLM call. Patterns are then sorted by
archetypeWeight * confidence * similarity and capped at 2 per archetype.
3. Dream Processing (Memory Consolidation)
Discovers clusters of semantically similar memories and consolidates them into single unified memories via LLM, reducing token consumption while preserving all key insights. Three-phase pipeline:- Cluster Discovery (no LLM): Uses vector embeddings and Union-Find to identify connected components of memories with cosine similarity >= 0.75
- LLM Consolidation: Each cluster is fed to a compression-tuned LLM that merges redundant content into one coherent memory (max 300 output tokens)
- Transactional Storage: New consolidated memory, dream record, and source cluster marking all happen in a single database transaction
4. Individuation Scoring
Per-profile maturity scoring with four components (each 0-25, total 0-100), calculated via pure SQL with in-memory caching:
Five maturity levels:
Daily snapshots are saved automatically at session start for trend tracking. Weekly trends are calculated as
accelerating, stable, or decelerating by comparing recent vs. older snapshot averages.
Ecosystem Updates
New Database Tables
New API Endpoints
New SDK Methods
Available in all three official SDKs (JavaScript, Python, Go):New MCP Tools
Environment Variables
All new settings have sensible defaults and are optional:Migration Notes
Upgrade Steps
Breaking Changes
None. All new features are additive and backward compatible. The existing memory API, MCP tools, and injection engine continue to work unchanged. Archetype routing enriches existing patterns without altering their underlying data.Security
- Temporal events store only
profile_hash(HMAC-SHA256), never raw UUIDs - Synchronicity patterns enforce k-anonymity (k >= 3) before surfacing
- Advisory locks prevent concurrent synchronicity detection or dream processing runs
- Dream consolidation prompt includes explicit anti-injection instructions
- Individuation scores are profile-scoped and cached in-memory (not shared)
What’s Next
- Jungian Intelligence UI dashboard with archetype visualizations
- Cross-agent synchronicity detection
- Dream processing analytics and token savings reports
- Individuation leaderboards (opt-in, anonymized)
For questions or issues, please visit our GitHub Discussions or contact us at team@plugged.in.

