Skip to main content

The Core Idea

Wolffish maps the human brain’s architecture onto a deterministic software pipeline. Each of the 15 runtime modules handles exactly one function, and they communicate via a typed event bus (corpus).

The Brain Metaphor

The module names aren’t random — each maps to a real brain region that performs an analogous function:

The Key Insight

The pipeline is deterministic — the same input follows the same path through the same gates every time. The LLM adds creativity and intelligence at exactly one point (the thalamus.stream() call). Everything else is predictable TypeScript code that reads and writes markdown files.

Module Communication

Modules broadcast “this happened” notifications via corpus (the event bus), never by importing each other directly; the few request/response paths (prefrontal asking cerebellum for the capability index) use references injected at startup. This keeps dependencies clean and makes the system inspectable — every event is logged to daily markdown files.

Tech Stack

Wolffish is built on Electron 39, React 19, TypeScript 5.9, and Vite 7. The event bus uses mitt for typed events. Memory indexing uses better-sqlite3 with FTS5. All LLM communication is pure fetch() — no SDKs.

See the Full Pipeline

Follow a message from input to response, step by step.