Computational Social Simulation · v1

NPCs that remember what you did.

EchoState is a browser-based psychological simulation where characters form memories, develop opinions, spread rumors, and react emotionally over time. Every decision leaves a lasting echo across a living social network.

Mira Vance
Personality: Idealist
Live demo

“I'm watching how you treat people around here.”

Trust52
Affection40
Anger12
10
Seeded characters
7
Personality archetypes
5
Emotional axes
0
Backend servers

Getting Started

A guided tour, for technical and non-technical visitors alike

EchoState looks complex, but using it is simple. Here is what it is, the problem it solves, and exactly how to get value from it in your first few minutes.

What it is

A living world of AI-driven characters who remember your actions, form genuine opinions, gossip about you, and change how they treat you over time — all running entirely in your browser.

The problem it solves

Characters in most games and apps have goldfish memory — they forget you the moment you walk away. EchoState models persistent, social memory so worlds feel reactive, consequential, and alive.

Why it is useful

It is a sandbox for game designers, researchers, and curious minds to study how reputation spreads, how trust erodes, and how small choices cascade into lasting social consequences — no servers or API keys required.

How it works, in four steps

01

Interact with a character

Open the simulation and pick an NPC. Choose an action — help, betray, gift, threaten, compliment — and watch their emotional state shift instantly.

02

Watch opinions form

Each action writes a memory and nudges five emotional axes through the character's unique personality. A Manipulator forgives nothing; a Loyalist gives second chances.

03

See rumors ripple outward

Notable deeds travel across the relationship graph. Friends of friends hear what you did — even characters you've never met start forming opinions.

04

Trace every consequence

Advance the day. Scheduled consequences fire, and the timeline links each effect back to the exact cause. Nothing is random — everything has a reason.

How to get the most value

  • 1Start with a Help or Gift action to see trust climb, then betray the same character to watch the relationship collapse.
  • 2Open the Analytics page after a few actions to read reputation trends and trust distribution across the whole world.
  • 3Visit a character's profile to read their raw memory log — it's the clearest window into why they feel the way they do.
  • 4Advance several days in a row to let decay, drift, and delayed consequences play out on their own.

Core Systems

Ten engines working as one behavioral model

Each system is a pure, composable module. Together they produce emergent behavior that feels persistent rather than scripted.

Memory Engine

Every NPC stores timestamped, categorized memories of what you did and what they heard. Memories decay in salience but never silently vanish.

Emotion Engine

Five emotional axes — trust, fear, respect, anger, affection — evolve per interaction and drift toward a personality baseline over time.

Reputation Engine

Six global reputation dimensions track honesty, kindness, violence, generosity, greed and reliability across the whole world.

Personality System

Seven archetypes — Loyalist, Rebel, Manipulator and more — each interpret identical actions through different psychological lenses.

Relationship Graph

NPCs are bound by friendship, rivalry, family, alliance and distrust, visualized as a live, force-directed network.

Dialogue Engine

Context-aware, rule-based dialogue generated from emotional state, memories and personality. No paid AI model required.

Rumor Propagation

Notable actions ripple outward through the social graph. Trusted, well-connected NPCs spread information fastest.

Consequence Engine

Actions schedule delayed outcomes. Steal on day 1, and the guards may come looking on day 8.

Architecture

Engineered like a product, not a prototype

EchoState separates pure simulation logic from presentation. The engines are deterministic functions; an event-driven store composes them; the UI simply renders state. The entire world persists locally — no servers, no API keys, no cost.

Pure simulation engines
Deterministic, side-effect-free transforms
Zustand + localStorage
Persisted, rehydratable world state
Event-driven pipeline
Action → memory → emotion → rumor → consequence
Force-directed graph
Live relationship & rumor visualization

// interaction pipeline

player.action(npc, category)
-> memory.create(firsthand)
-> emotion.apply(personality x impact)
-> reputation.update(global)
-> rumor.propagate(graph, trust)
-> consequence.schedule(day + n)
-> timeline.record(cause -> effect)

About the Developer

Designed and built by Raghav Kaushal

EchoState was conceived, architected, and engineered by Raghav Kaushal, a Computer Science student from India with a deep curiosity for how memory, emotion, and reputation can be modeled in software. The project reflects a belief that simulated worlds become meaningful only when characters truly remember.

Raghav is aspiring to pursue future opportunities at top-tier institutions such as the Massachusetts Institute of Technology and Cornell University, where he hopes to advance research at the intersection of artificial intelligence and human behavior.

Computational social systemsEmergent AI behaviorFull-stack engineering
Raghav Kaushal
Computer Science Student · India
Aspiring to attend
  • Massachusetts Institute of Technology
  • Cornell University

Step into a world that remembers

Interact with characters, watch opinions ripple through the network, and trace every consequence back to its cause.

Launch Simulation