Knowledge Graphs to enable memory persistence, knowledge evolution, explainable interaction.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The open experience learning protocol for AI agents β
turning interaction into memory, knowledge, skill, and better action.
KIP 2.0 is in draft β start here β Belief becomes an explicit projection over competing assertions instead of a stored field, evidence and provenance become first-class elements, and a proactivity layer lets a Brain act on a state differential rather than a timer:
Watch,action_gate,LIST DEPENDENTS,PURGE PAYLOAD. v1.0-RC11 below remains the shipping contract; two independent engines β Rust and Cloudflare Durable Objects β already track the draft.
An intelligence that cannot accumulate experience cannot truly learn.
Today's AI can reason brilliantly inside one session and still repeat the same mistake tomorrow. Larger context windows postpone forgetting; vector retrieval can return related text. Neither, by itself, explains what the agent was trying to achieve, which action changed the situation, where reality contradicted expectation, or how the past should change the next action.
KIP is an open protocol for the whole learning loop:
The protocol connects two complementary kinds of machine intelligence:
The model interprets and acts; the graph preserves and reorganizes what matters; KIP is the language through which the past changes the future. It is not a database driver. It provides cognitive primitives for remembering, replaying, associating, reinforcing, correcting, consolidating, compiling skills, and forgetting.
$self can retain identity, values, lessons, commitments, and a history of changed behavior.The Cognitive Nexus is a graph. Concept Nodes are the things worth remembering; Proposition Links are typed assertions connecting them. Assertions can themselves be subjects or objects, so KIP can represent provenance, attribution, disagreement, and evolving belief.
The LLM operates the graph through three compact instruction sets:
| Instruction set | Purpose | Statements |
|---|---|---|
| KQL | Retrieval and graph reasoning | FIND, WHERE, FILTER |
| KML | Formation, correction, and evolution | UPSERT, UPDATE, MERGE, DELETE |
| META | Grounding, discovery, and portability | DESCRIBE, SEARCH, EXPORT |
Remember a fact with provenance:
Recall the strongest current assertions:
Associate without knowing the schema in advance:
When an agent wakes inside a graph it has never seen, DESCRIBE PRIMER tells it who it is, which domains exist, and which types and predicates it can use. The graph describes itself.
KIP Core remains a general graph protocol. Experience learning is an additive, self-described Cognitive Memory Profile built with ordinary KIP capsules. No KQL, KML, or META syntax changes are required.
| Concept | Canonical question | Representation |
|---|---|---|
Event | What happened? | Time-bounded occurrence or interaction summary |
Experience | What goal was pursued, what changed, and what was learned? | Goal-directed trajectory |
ExperienceStep | What was observed, decided, done, or returned at this point? | Ordered trajectory record |
Insight | What declarative lesson should be remembered? | Self-contained reflective knowledge |
Skill | In this kind of state, what policy should guide action? | Procedural memory |
An Event and an Experience may refer to the same real-world interval, but they are not interchangeable. Event is observer-oriented; Experience is subject-oriented. A conversation with no meaningful goal/action/feedback dynamics should remain an Event. A deployment attempt with hypotheses, tool actions, failures, revised state, and a terminal outcome should be an Experience.
Memory, Knowledge, and Action name functional roles in the learning loop, not mandatory universal Concept Types. Domain capsules define concrete semantic types; the Experience Learning Profile adds three Concept Types (Experience, ExperienceStep, Skill) and four Proposition Types (has_step, caused_by, derived_insight, compiled_to).
ExperienceStep.index establishes temporal order. caused_by is optional and explicit: earlier does not mean causal.
Experience becomes especially valuable where the world violates the subject's model:
ExperienceStep therefore supports expected_observation, actual_observation, and prediction_error. The parent Experience may carry an aggregate surprise_score, which contributes to salience and consolidation priority.
The profile separates three independent signals:
| Signal | Meaning | Typical change |
|---|---|---|
metadata.confidence | How strongly evidence warrants believing an assertion | New evidence, contradiction, correction |
metadata.memory_strength | How accessible a memory currently is and how strongly it competes for recall | Reinforcement, successful reuse, time-based decay |
attributes.salience_score | How urgently an Event or Experience deserves encoding or consolidation | Goal relevance, surprise, outcome magnitude, novelty, emotion, reusability |
A true but rarely useful fact may retain high confidence while its memory strength falls. A vivid new Experience may have high salience and memory strength while its causal interpretation remains low-confidence. Maintenance must never use confidence as a proxy for retrieval frequency or forgetting.
Procedural consolidation compares trajectories instead of summarizing a single transcript:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/kip)<a href="https://allmcps.com/mcp/kip"><img src="https://allmcps.com/api/badge/kip?style=directory" alt="KIP on AllMCPs" /></a>