The first NPC engine where rumors are graph edges.

Trust is bi-temporal.
Forgetting costs 50 gold.

Every NPC in every game
has the same affliction.

SESSION 1
You"I helped defend the village."
Guard"You are a true hero."
SESSION 2
You"I need entry to the keep."
Guard"Halt, stranger. State your business."
NO MEMORY. ETERNAL RESET.

Stateless. Scripted. Amnesiac.

In modern gaming, character memory resets completely each turn. Every session begins at zero.

Cognee gives NPCs a memory.

Revenant connects NPC minds to a hybrid graph-vector database. Decisions propagate; actions register permanently.

🌐

Rumor Mill

Async improve() graph pipeline propagates seeds across graph edges. If you steal from Silas, Kael learns of it through propagation.

🧠

Amnesia Spell

Surgically sever knowledge using forget() at document-level granularity. Erasing costs 50 gold and creates a permanent forgetting trace.

Provenance Chain

Traverse links using multi-hop GRAPH_COMPLETION to find exactly who told who. Trace rumor histories in dialog dialogue naturally.

📊

Bi-temporal Trust

COGXFact elements with valid-from and valid-until ranges capture trust score histories. Watch NPC opinions fluctuate over the course of game days.

🏛

OWL Ontology

Ground NPC entities, trust edges, rumors, and interactions inside a structured semantic schema. Memory is entity-grounded, not just vector noise.

Cognee API Surface

Revenant leverages Cognee Cloud to implement graph-grounded cognitive state mechanics.

MechanicEndpointGame Implementation
Rumor MillPOST /api/v1/cognifyimprove() creates cross-NPC graph edges from rumor seeds
Amnesia SpellPOST /api/v1/forgetSurgical deletion at document_id granularity (costs 50g)
Dialogue RecallPOST /api/v1/recallRetrieves contextual knowledge graph facts for LLM prompts
Provenance TracePOST /api/v1/recallUses GRAPH_COMPLETION to resolve multi-hop links to the rumor source
OWL OntologyPOST /api/v1/ontology/applyApplies strict RDF schema to ground NPCs, trust, and events
Vector/Graph LoadPOST /api/v1/remember/entryWrites typed entries (qa, trace, feedback, skill_run) on each turn
Live VisualizerGET /api/v1/datasets/{id}/graphFetches updated graph node topology to render live forces layout

Meet the NPCs

Select one and test their memory. They learn from each other.

⚔ Silas

Blacksmith

"Proud craftsman. Holds grudges forever."

Trust Bar50 / 100

✦ Elara

Mage

"Forgives once. Remembers always."

Trust Bar65 / 100

⚔ Kael

Guard Captain

"Never forgets a crime. Has a price."

Trust Bar40 / 100

Ready to give your NPCs a memory?

Built for WeMakeDevs × Cognee Hackathon 2026