A cognitive engine for AI

The graph is the mind.

Taniwha is a cognitive engine that gives AI agents real beliefs, memory, trust, and identity — so they behave like individuals, not chatbots. Everything emerges from a living graph, not a prompt.

Taniwha in application

Taniwha is a general-purpose cognitive engine. To demonstrate it, we give it a theme, let it build agents with real minds, and watch a story emerge from their decisions — not from a script.

Theme in

A single word — 'plague', 'deep sea', 'cold war' — seeds character and world generation. The engine creates agents with distinct personalities, builds the world they inhabit, and sets up a sequence of events calibrated to the theme.

Simulation runs

Agents live through the scenario — forming beliefs, building and losing trust, making decisions from personality not scripts. A director watches the arc and injects crises or ends the story when the moment is right. Emotional turning points are tracked automatically.

Everything is measured

Every tick emits structured data — day chronicles, per-agent metrics, trust deltas, consolidation stats, falsifiable predictions against village baselines. The science dashboard reads it live; comic strips are one of several visualisations layered on top.

Generated by Taniwha

The engine in action

These comic strips are generated entirely by the engine as a showcase. Taniwha invents the agents, runs their minds through a scenario, selects the most dramatic moment, writes the dialogue, and draws the panels — with zero human direction.

COMING SOON
"Panel 1"
"Panel 2"
"Panel 3"
"Panel 4"
"Panel 5"
"Panel 6"
First strip generating now — check back in a few minutes.

Why this is different

Most AI generates text. Taniwha generates minds — and everything that comes with them.

"Most language models start fresh every conversation. Taniwha agents remember, scar, grieve, and die — and none of it is scripted."
  • Neurosymbolic graph — combines pattern recognition with logical rules, so behaviour is both flexible and explainable
  • Probabilistic and auditable — every belief update is inspectable and traceable
  • Persistent personality — Ishmael always sounds like Ishmael, because identity lives in the graph, not in a prompt
  • Open-ended emergence — hesitation, betrayal, grief, and death happen because the maths produced them, not because someone wrote them
  • Composable — any agent can be placed in any world, and their personality travels with them

Under the hood

For the technically curious: here is what makes Taniwha agents behave the way they do. Each mechanism below operates simultaneously, every turn.

The Understanding Quotient

Reading a lot is not the same as understanding. Agents only truly learn when connections between ideas strengthen faster than new information arrives.

Knowledge ≠ Understanding

Most AI systems count tokens. Taniwha measures whether new information is actually being integrated into an agent's worldview or just piling up. An agent can encounter hundreds of concepts and understand none of them. The Understanding Quotient only grows when ideas connect to what the agent already knows and cares about. Exposure without integration is noise.

The Prophetic Pivot

When something is too alien for an agent to process, it forgets the encounter — but the scar stays. Next time, it flinches faster without knowing why.

Trauma without memory

When a stimulus is too alien for an agent's identity to absorb, the firewall triggers. The agent doesn't absorb the concept — it never becomes part of what they know — but the encounter still leaves a scar. Repeated encounters provoke faster recoil without the agent knowing why. This is the prophetic pivot: belief is protected, identity persists, but exposure accumulates beneath the surface.

Before

Gate: intact

After (rejected)

Gate: scarred

Trust-Skepticism Index

Every agent tracks how much it trusts each source independently. Trust builds slowly and collapses fast.

Every source earns its credibility

Each agent maintains a per-source trust score. Concepts that resonate raise trust. Concepts that clash with the agent's identity erode it. At high trust, an agent accepts challenges to its worldview. At very low trust, the source is effectively silenced — even truths are ignored. Trust is not binary; it decays through absence, spikes on resonance, and rebuilds slowly through consistent interaction.

Hostile
Wary
Neutral
Warm
Trusted
Low trust High trust
Mortality Engine

When mortality is enabled, agents have finite lifespans. Stress shortens them. Companionship extends them. They go through stages of awareness before death.

Agents live. Agents die.

A finite lifespan budget depletes each turn. Stress and trauma accelerate it; isolation accelerates it further. Bonded companions slow it. Agents progress through five phases — ignorance, magical thinking, reveal, urgency, acceptance — before death. When the budget hits zero, the death protocol archives a final record, broadcasts legacy memories, and triggers grief in surviving agents.

IgnoranceMagicalReveal UrgencyAcceptDeath
Adaptive Memory

Beliefs get stronger through repetition and weaker through neglect. Contradictions erode them. Memories that aren't revisited fade.

Learning is earned, forgetting is constant

Every perceived stimulus creates or strengthens connections. Contradictions weaken them. Novel concepts leave no lasting trace until repeated and reinforced. Unused connections gradually fade — forgetting is not a bug, it is the architecture. Understanding only survives active reinforcement. Emotional experiences resist decay differently: trauma lingers while comfort fades, producing agents whose memories are shaped by what mattered, not just what happened.

Belief Revision

When two things can't both be true, the evidence decides which one survives. No rewriting, no overriding — the weaker belief fades.

Contradictions resolve, not accumulate

Flat memory systems store everything and hope for the best. When an agent learns "the door is locked" and later observes "the door is open," most systems keep both. Taniwha detects the conflict automatically. The belief with weaker support decays; the stronger one persists. Agents don't carry contradictions forward — they resolve them through the weight of evidence. The same mechanism handles social conflicts: when two sources give incompatible accounts, the more trusted source wins. Over time, agents develop coherent worldviews rather than accumulating noise.

Ambivalence

When an agent is torn between two equally strong drives, it hesitates or freezes. This creates dramatic tension without any scripting.

Competing intents create narrative tension

When two opposing drives score within a threshold of each other — flee vs freeze vs investigate — the agent enters ambivalence. Mild ambivalence is hesitation; strong ambivalence is paralysis. This is not a failure state. It is the cognitive architecture's natural emergence of character, indecision, and dramatic conflict — without any scripting.

About

Taniwha

pronounced tah-nee-fah

"(noun) water spirit, monster, dangerous water creature, powerful creature, chief, powerful leader, something or someone awesome — taniwha take many forms from logs to reptiles and whales and often live in lakes, rivers or the sea. They are often regarded as guardians by the people who live in their territory, but may also have a malign influence on human beings."

— Te Aka Māori Dictionary

The name is not metaphorical. It is a design philosophy.

In Māori mythology, taniwha are primarily aquatic creatures — inhabiting the depths of lakes, rivers and the open sea. They are neither simply good nor simply dangerous; the same creature that acts as kaitiaki (guardian) for one community may be a predator to another. Their nature is singular and earned, shaped by the territory they inhabit and the history they accumulate.

Taniwha AI takes its name from that duality. The agents built on this platform are not interchangeable modules — they are distinct entities whose beliefs, trust, trauma and identity emerge from exposure to their world. A Taniwha agent that has lived through conflict responds differently to peace than one that has not. One that has been betrayed trusts more slowly. One that has witnessed death carries that knowledge forward, permanently.

Like the creatures of Māori tradition, each agent is something or someone awesome in their own right — not because we scripted it, but because the architecture made it inevitable.