Layer 0
Raw Events
Each signal is appended as-is and immutable, with an integrity check and provenance preserved — the raw ground truth of an agent’s experience, always traceable.
Codex, Claude, Cursor, and your own agents share one memory you own — portable and self-hostable. Start free with remember / recall; when you're ready, let it learn associations, surface patterns, and grow a personality with a point of view.
Node.js 18+ · MIT-licensed Free tier · No repo clone required
Each one is built around a single design decision: how memory is stored, organized, and recalled — and why you can trust it. New writing and announcements land here too.
A memory that believes every source equally can be poisoned by its least trustworthy one. See how Corsoul remembers where every memory came from, lets you decide how much each source is worth believing, and refuses to let anyone forge or buy their way to credibility.
Read the article Browse all tech notesMost memory systems flatten everything into a single database. Corsoul preserves raw experiences, structured facts, associative networks, and abstract patterns as separate layers, then progressively transforms information through Sleep Consolidation.
The Free tier provides fully usable L0/L1 objective memory. The licensed engine activates L2/L3, consolidation, contradiction auditing, and personality.
Layer 0
Each signal is appended as-is and immutable, with an integrity check and provenance preserved — the raw ground truth of an agent’s experience, always traceable.
Layer 1
Each experience is indexed for immediate recall and tagged bi-temporally — recording both when something happened and when it was learned — so you can ask what’s true now and replay what was believed then; deeper structured consolidation lights up with the paid Sleep engine.
Layer 2
Memories link through Hebbian dynamics — associations that co-occur strengthen, unused ones decay — then spread along those weights to retrieve genuinely connected memories.
Layer 3
Trends, clusters, anomalies, and sequences emerge from the graph as a whole — a subconscious-like layer that settles scattered experience into patterns, each keeping its evidence and its counter-examples.
Every claim maps to a real data structure, retrieval path, or permission boundary in the project. Where no benchmark exists, we do not invent numbers.
Memory organizing runs in sequence: it turns experience into structure, builds associations, generalizes patterns, and audits contradictions. The whole pass can run in stages, respect a cost ceiling, and report how much is left to process.
PAID ENGINESeveral kinds of cues are ranked together. When the evidence is thin, Corsoul says plainly that this is a new area, a current blind spot, or an unusual angle—instead of pretending to know.
Conflicts in attributes, provenance, time, identity, or patterns are kept as auditable states. Resolution requires confidence and evidence across multiple observations, preventing one anomaly from corrupting trusted memory.
Every plan can record one-time or recurring intents, retrieve due items, and complete or reschedule them. The core stores intent only; it never executes external actions on its own.
A local database, or your own Postgres, remains the persistent source of truth. With a local model it can stay fully offline; only when you use a cloud model or cloud integration is the necessary text sent out.
An optional shadow accelerator above Postgres that speeds up association and semantic recall at scale. Any failure falls back to the underlying database.
The same experience can mean different things to different agents. Personality growth always remains bounded by core values and sustained evidence.
Records faithfully, without subjective weighting.
Begins evaluating importance and self-relevance.
Important, emotionally salient experiences resurface more readily.
Beliefs gain resilience but remain revisable through sustained evidence.
The nearest-term fit is agents that need continuity across conversations — long-running assistants, generative agents, personalized tutors. Characters, embodied robots, and digital humans are where the same memory points: worlds that grow a stable self over time. That's the direction we're building toward — not a claim about today's maturity.
Context continuity that doesn't reset between conversations or sessions; important decisions and preferences resurface at the right cue, so the assistant remembers what you're working on and where you left off.
Continuous context · Prospective nudgesGive each agent its own memory and an evolving personality — for social, economic, and behavioral simulation, multi-agent research, and training environments.
Namespace isolation · IndividualityRemembers a learner's history and misconceptions, correcting them gradually and auditably instead of overwriting; grows alongside the student and nudges review at the right time.
Contradiction audit · Prospective memoryHome and service robots that learn a household's routines and preferences over months and grow a stable character; data stays local-first, and it remembers what to do and when.
Local-first · Prospective memoryCharacters that remember what the player did, form likes and dislikes, and deepen in personality and relationship over playtime — lasting companions, raisable characters, and worlds that respond.
Layered memory · PersonalityA persona that stays consistent yet evolves across years and channels, remembering every fan interaction; namespace isolation lets one platform safely host many independent characters.
Consistent persona · Namespace isolationThe Free tier needs only Node.js 18+ — no repo to clone.
Run the setup wizard: pick the model for semantic recall (local Ollama, or a cloud model like OpenAI) — or start with keyword-only recall.
npx -y corsoul setupWire Corsoul into your agent (Codex here as an example). The scope is a fixed namespace for this agent/user — all its memory accumulates under it.
npx -y corsoul connect codex \
--scope=myapp:assistant:v1Run a health check to confirm the database and recall settings. The memory tools are now in place — the model calls remember / recall itself; verify it by storing a durable fact, opening a new session, and recalling it.
npx -y corsoul doctorPlugin, MCP, SDK, Function Calling, LangChain, or REST all share one rule: a stable scope_id gives an agent continuous memory across its lifetime.
The installer merges MCP settings, backs up existing files, and writes a fixed-scope memory contract into AGENTS.md. Re-running it remains idempotent.
npx -y corsoul setup
npx -y corsoul connect codex \
--scope=myapp:codex:v1
npx -y corsoul doctorFixed paid monthly pricing has not been announced. This page shows only the confirmed $0 Free tier, current public-beta status, and implemented capabilities—no invented prices.
Production-ready local L0/L1 objective memory.
Start freeStarts assessing what matters more to this agent.
View beta detailsMakes important, emotionally salient experiences easier to resurface.
See technical limitsBuilds resilient beliefs that sustained evidence can still revise.
Compare personality tiersFixed pricing for Pro, Super, and Ultimate is still in beta. Exact node, event, and webhook quotas are tiered beta settings shared during the application process. They may change with the final commercial plans and are not permanent commitments. To join the beta, write to us describing your agent and use case — you'll receive the cloud connection recipe and a namespace-bound token once approved.
Apply for beta accessLocal, cloud, free, personality, Preview—every term should mean exactly what it says.
No. Free / Objective is production-ready local L0/L1 long-term memory, including remembering, recall, forgetting, prospective intents, core setup, and MCP access. Paid upgrades add L2/L3, full-engine consolidation, and personality capabilities; they do not paywall basic recall.
Yes. Keyword recall works out of the box; but semantic recall needs an embedding model to turn text into vectors, so it can find things by meaning rather than exact wording. Choose a local model like Ollama, or an OpenAI-compatible service. Without an embedding model, Corsoul still stores memories and retrieves them by keyword.
No. Graph, pattern, and affective data in the licensed client is retained — just not read — and lights up again when you re-upgrade.