Trust is bi-temporal.
Forgetting costs 50 gold.
Stateless. Scripted. Amnesiac.
In modern gaming, character memory resets completely each turn. Every session begins at zero.
Revenant connects NPC minds to a hybrid graph-vector database. Decisions propagate; actions register permanently.
Async improve() graph pipeline propagates seeds across graph edges. If you steal from Silas, Kael learns of it through propagation.
Surgically sever knowledge using forget() at document-level granularity. Erasing costs 50 gold and creates a permanent forgetting trace.
Traverse links using multi-hop GRAPH_COMPLETION to find exactly who told who. Trace rumor histories in dialog dialogue naturally.
COGXFact elements with valid-from and valid-until ranges capture trust score histories. Watch NPC opinions fluctuate over the course of game days.
Ground NPC entities, trust edges, rumors, and interactions inside a structured semantic schema. Memory is entity-grounded, not just vector noise.
Revenant leverages Cognee Cloud to implement graph-grounded cognitive state mechanics.
| Mechanic | Endpoint | Game Implementation |
|---|---|---|
| Rumor Mill | POST /api/v1/cognify | improve() creates cross-NPC graph edges from rumor seeds |
| Amnesia Spell | POST /api/v1/forget | Surgical deletion at document_id granularity (costs 50g) |
| Dialogue Recall | POST /api/v1/recall | Retrieves contextual knowledge graph facts for LLM prompts |
| Provenance Trace | POST /api/v1/recall | Uses GRAPH_COMPLETION to resolve multi-hop links to the rumor source |
| OWL Ontology | POST /api/v1/ontology/apply | Applies strict RDF schema to ground NPCs, trust, and events |
| Vector/Graph Load | POST /api/v1/remember/entry | Writes typed entries (qa, trace, feedback, skill_run) on each turn |
| Live Visualizer | GET /api/v1/datasets/{id}/graph | Fetches updated graph node topology to render live forces layout |
Select one and test their memory. They learn from each other.
"Proud craftsman. Holds grudges forever."
"Forgives once. Remembers always."
"Never forgets a crime. Has a price."
Built for WeMakeDevs × Cognee Hackathon 2026