Say Goodbye to Toy Memory That Only Stores Summaries — Give Every AI You Use a Real Local Brain, Built for Hard Battles
94.6% PersonaMem-32K · 164ms Recall · 75K-Scale Governance · Zero Bytes Uploaded to the Cloud
Put your agents into a real high-pressure workflow and flat summaries / vector RAG / endless MEMORY.md files hit four walls: incomplete recall, imprecise writing, token blowouts, and no lessons learned. Evolving Profile 6.2 breaks all four with 7 engineered combos — shared across Claude Code, Claude Desktop, OpenAI Codex, Antigravity, Trae, WorkBuddy & Doubao Work.
Why power users switch to EP on day one: 94.6% (35/37) strictly blind on PersonaMem-32K (100% across 4 core categories) · 91.7% (11/12) on LongMemEval-S · 164.5 ms median recall · 100% original-source attribution (read_source) · battle-tested on 75,000+ real production memories with -52.7% smaller HNSW indexes and 18.3% → 0% low-value noise. (Reproduce every number →)
🌐 Official Site · ▶ YouTube (EN) · 📺 Bilibili (中文) · 简体中文 · Quick Start · 7 Combos · 75K Benchmarks
ep-promo-v9-en-web.mp4 #
🇨🇳 中文官方发布片(5 分钟完整版 · 点击展开在线播放) · Full 1080p HD downloads in v6.2.2 Release #
ep-promo-v9-zh-web.mp4 #
Most cross-agent memory tools squeeze conversations into flat summaries, dump keywords into a vector database, or keep growing one endless MEMORY.md. That works for simple Q&A—until real high-pressure work hits four shared dead ends:
- Incomplete recall — Ask*"List every client project I built in the last 3 months"* and vector top-k misses half of them.
- Imprecise, AI-sounding writing — A flat
"user likes concise"tag can't combine your nuanced writing habits with the tangled web of you, your company, clients, and the current project. - Token blowouts — Traditional memory only has two settings: a thin summary or 10,000 words of raw transcript.
- No lessons learned — When an agent spends two hours climbing out of a pit, the next session or next tool falls right back in.
Evolving Profile (EP 6.2) breaks all four walls with 7 engineered combos running 100% locally on your machine:
| The 7 Combos of EP 6.2 | What It Replaces | What Changes in Practice |
|---|---|---|
| 01. Master Router + Layered Maps | Blindly dumping memories into context | Scans topic map, preference map & task state first — fewest tokens, most complete & cleanest memory |
| 02. 5D Conditional Preferences | Flat "user likes concise" note |
Real-time extraction across 5 dimensions with explicit conditions,hard_guardrail & exceptions |
| 03. 3-Layer Scenario Summaries | Binary thin summary vs raw transcript | Compact → Standard → Full on-demand expansion +read_source on the exact key line |
| 04. Entity Graph + Bi-Temporal Facts | Flat vector chunks that contradict | Weaves people, company, clients & projects with valid_from /superseded_by — old facts stamped obsolete |
05. Tiered Retrieval (Recall + Research) |
Vector top-k only | 164 ms Recall for single-point lookups; Research + exhaustive paging for 100%-coverage inventories |
| 06. Independent Agent Process Memory | Mixing debug logs into user facts | Stores failure triggers, fix paths & independent verification evidence —"it's fixed" without proof is stamped unverified |
| 07. Full-Path Visual Trace Graph | Memory black box | Live Prompt Journey map shows every route, hit, filtered noise, injected packet & token cost in 0.5s |
Human preferences are conditional—how you want a quick bug fix explained is not how you want an executive report written. EP distills cross-session behavior and corrections into 5 structured dimensions:
- Communication & Presentation — structure, tone, formatting, evidence style
- Learning & Comprehension — explanation depth, analogies, causal-first breakdowns
- Analysis & Decision-Making — ranked recommendations, explicit trade-offs, boundary-first framing
- Execution & Collaboration — pre-task scoping, verification gates, skill/tool routing
- Quality & Delivery — review checklists, layout rules, regression acceptance
Every preference unit carries explicit conditions, exceptions, scope_level ( global / project_scoped / task_local), and enforcement ( hard_guardrail / default_policy / soft_style), backed by SQLite triggers enforcing immutable active revisions.
EP never mixes unverified guesses with confirmed facts or agent debugging logs:
- User Memory Plane : Long-term facts, experiences, observations, plusbi-temporal
entity_state(valid_from/valid_to/superseded_by) so mutable project/service status never conflicts with immutable historical facts. - 5D Preference Plane : Active, reviewed, conditional collaboration rules projected per prompt.
- Reusable Agent Experience Plane : What the agent tried, why it failed, how it recovered, and whether recovery was verified.
Candidates are navigated first via a lightweight topic catalog and expanded on demand via read_source—cutting prompt token waste while keeping every claim traceable.
One local Bank can be fed and queried simultaneously by Codex, Claude Code CLI, Claude Desktop (Cowork/local sessions), Antigravity, Trae, WorkBuddy, and Doubao Work (plus Hermes and any standard MCP client). Host-adaptive bridges automatically tag origin_agent, strip noisy tool/thinking dumps, and keep only human-visible signal.
[Measured on a real macOS installation with] ~75,000 memory units using the built-in reproducible benchmark (v6/storage_bench.py, frozen prompts & known items before/after):
| Metric | Before 6.2 |
After 6.2 |
Impact |
|---|---|---|---|
memory_units table |
885 MB | 525 MB | -40.7% (halfvec + hot/warm tiering) |
| HNSW vector indexes | 146 MB | 69 MB | -52.7% (pgvector 0.8halfvec_cosine_ops ) |
| Exact duplicates in Top-10 | 9.7% | 0.3% | -96.9% noise (numeric + temporal guard) |
| Low-value units in Top-10 | 18.3% | 0% | Zero unconfirmed clutter in vector top-k |
| Recall latency (p50 / p95) | 0.221s / 0.354s | 0.168s / 0.286s | Faster + cleaner ranking |
| Known-item Hit@10 | 84 / 100 | 87 / 100 | Higher accuracy at half the index size |
ep_events.events tool logs |
440 MB | 204 MB | 237 MB archived → 16.5 MB zstd (100% reversible) |
| Trace write per recall | 4.89 MB | 0.91 MB | -81.4% I/O overhead |
Run python -m v6.storage_bench on your own bank to reproduce before/after numbers. Full methodology in CHANGELOG-6.2.md. Reproducible PersonaMem-32K & LongMemEval-S isolated benchmarks (ep_sota = cheap local ingestion + multi-facet recall + chronological read_source readback): 94.6% (35/37) strictly blind on PersonaMem-32K with a frontier host agent (100% on Preference Evolution 9/9, New Ideas 6/6, Preference Recs 5/5 & Generalizing 4/4 at 164.5 ms p50) and 91.7% (11/12) on LongMemEval-S (100% on 5/6 categories at 102.5 ms p50, 100% source attribution) — full runners & raw JSONs in benchmarks/.
5. Interactive Web Console: Linear/Obsidian Dual-Theme Workspace, Constellations & 0.5s Prompt Journey
- Independent Dual-Theme Workspace : Warm Alabaster light mode + Deep Obsidian dark mode, collapsible 3-plane grouped navigation (
Memory Planes·Retrieval & Sources·Observability & Ops), segmented pill sub-tabs, and a dot-grid memory constellation canvas. - Data-Driven "Prompt Journey" Link Map : Inspect any prompt's exact path across the serial spine and parallel User Memory / Agent Memory / External RAG lanes, with per-node receipt counts (loads in0.5–0.7s ).
- Unified Memory & Preference Constellations : Explore facts, experiences, entities,
hard_guardrailpreferences, and dimmed warm/low-value nodes with full click-to-source traceability.
| Light Mode (Warm Alabaster) | Dark Mode (Deep Obsidian) |
|---|
- Live-Re MCP Server : Stdio MCP adapter fingerprints its own source and reloads in place via
execwithout dropping active host connections (EP_MCP_LIVE_RELOAD=0to disable), paired with JSON-RPC-32602validation, failure audit, andmcp-schema-drift.jsonl. - Unified Local Model Router (
:12095) : OpenAI-compatible gateway across 6 scopes (default,context,retain,consolidation,reflect,guidance) with circuit breaking and provider failover. - Zero-Shell Pure-Python Scheduler (
:12096) : 13 unified background jobs + file-watcher wakeups across macOS, Windows, and Linux. - Hardware-Adaptive Postgres 18 / pgvector 0.8 Auto-Tuner (
v6/pg_autotune.py): Computes RAM/CPU-safe settings and enableshnsw.iterative_scan = 'relaxed_order'.
flowchart LR
subgraph Hosts["AI Hosts (Shared Local Brain)"]
H1["Claude Code / Desktop"]
H2["OpenAI Codex"]
H3["Antigravity / Trae / MCP"]
end
subgraph ControlPlane["Evolving Profile 6.2 Control Plane (127.0.0.1)"]
MCP["Live-Reload MCP & Hook Bridge<br/>Prompt Binding · Schema/Failure Audit"]
CTRL["QueryController (:12079)<br/>Navigate-First · Budgeted Recall · Readback"]
PREF["5D Preference Engine (SQLite)<br/>Conditions · Guardrails · Immutable Revisions"]
ROUTER["Local Model Router (:12095)<br/>6 Scopes · Failover · Circuit Breaker"]
DAEMON["Pure-Python Daemon (:12096)<br/>13 Jobs · Tiering · Retention · Hygiene"]
end
subgraph Storage["EP Storage Engine (PostgreSQL 18 + pgvector 0.8 halfvec)"]
API["Memory API (:8888)<br/>Retain · Recall · Reflect"]
DB["PostgreSQL + halfvec HNSW<br/>User Facts · Entity State · Agent Experience · Warm Archive"]
end
UI["Web Console (:9999)<br/>Constellations · Prompt Journey · Config"]
Hosts <--> MCP
MCP <--> CTRL
CTRL <--> PREF
CTRL <--> API
DAEMON --> API
DAEMON --> DB
API <--> ROUTER
API <--> DB
UI <--> API
UI <--> CTRL
- Python 3.11+ ,
uv,Node.js 20.9+ ,npm, andgit - PostgreSQL + pgvector (pgvector 0.8+ recommended for
halfvec& iterative HNSW scan) - Your own Chat + Embedding API provider credentials (no hosted lock-in)
git clone https://github.com/ccygod/evolving-profile.git
cd evolving-profile
uv run --python 3.11 scripts/install.py --mode local
On Windows PowerShell (no WSL required):
.\scripts\install.ps1
Pass --no-autostart / -NoAutostart for build-only installation. Use --dry-run to preview without writing files.
Fill your database and model provider settings in the generated .env (see api/README.md). Use the same Bank ID across API, Controller, and host config.
uv run --project api --env-file .env evolving-profile-api --host 127.0.0.1 --port 8888 --workers 1
node --env-file=.env console/bin/cli.js --hostname 127.0.0.1 --port 9999 --api-url http://127.0.0.1:8888
Open http://127.0.0.1:9999 to create your Bank and explore the Console. For full Controller, Hook, Daemon, and Host MCP setup, follow docs/DEPLOYMENT.md and docs/HOST-SETUP.md.
Let your AI agent set it up for you (copy-paste prompts for Claude, Codex, Hermes…) #
| Host | One-sentence request |
|---|---|
| Codex desktop / CLI | Use this EP checkout, read docs/DEPLOYMENT.md anddocs/AGENT-USAGE.md , start backend/UI, register EP once, and verify actual reads + permitted capture. |
| Claude Code CLI | Follow docs/DEPLOYMENT.md anddocs/host-integrations/CLAUDE-DESKTOP-CLI.md , start local backend/UI, register stdio MCP withclaude mcp add , and verify a real read. |
| Claude Desktop | Connect this Chat to my running local EP using docs/HOST-SETUP.md and verify live read tools. |
| Antigravity / Hermes / Other MCP | Read docs/AGENT-SETUP.md anddocs/AGENT-USAGE.md , register the governed stdio MCP server, and run a realuser_recall /user_preference verification. |
Full per-host checklists: docs/AGENT-SETUP.md · Day-to-day agent rules: docs/AGENT-USAGE.md.
-
Single-user, local-first by design : Services bind to
127.0.0.1for one person on their own machine. Do not expose local ports publicly without your own authentication/network boundary. -
Evidence discipline : Memory candidates, scenario summaries, and process patterns are navigation leads—not automatically verified external facts. Always use
read_sourcewhen exact names, numbers, or contracts matter. -
Full technical walkthrough & verification details : Read the complete**Deep Dive (English)** ,Release Ledger ,Changelogs (6.2 / 6.1 / 6.0) , and**v6 Architecture** .
-
Setup :Deployment Guide ·Host Setup ·Claude Desktop & CLI ·Local Setup & Rollback
-
Agents :Agent Setup Prompts ·Agent Operating Guide ·Memory Capabilities
-
Engineering :Architecture v6 ·CHANGELOG 6.2 ·CHANGELOG 6.1 ·CHANGELOG 6.0 ·Deep Dive
-
Governance :Contributing ·Security Policy ·Attribution Notice ·MIT License
Released under the MIT License. Early storage primitives originated from MIT-licensed upstream work; full attribution and third-party notices are preserved in NOTICE.md.