That AI Guy

The mathematics

SEFERIM: a cognitive substrate with no hidden weights

Most neural systems are opaque weight matrices. SEFERIM, also called ThatAIGuyCore, is the opposite. It is a small, fully deterministic mathematical substrate where every dynamic is a named, documented equation, open sourced under MIT.

What SEFERIM is

SEFERIM models cognition as a sixteen dimensional meta state, updated each tick by sixteen coupled cognitive families, blended with golden ratio momentum, gated by stability, and normalized so it can approach but never exceed its natural limits. The golden ratio, phi, equals about 1.6180339887498948, and it sets the frequency of every one of those sixteen families.

The reference implementation, seferim-core, is a zero dependency JavaScript library that runs in a browser and in Node with nothing else installed. Every function in it cites the section of the specification it implements, and the test suite checks the math against canonical references, including FNV1a hash test vectors, so the claims are checkable rather than asserted.

SEFERIM is a separate research line from MEGAMIND. MEGAMIND is a production federated network running on real hardware. SEFERIM is a purely mathematical exploration of how a small set of governing equations can model cognition without an opaque weight matrix behind it. They share an author and a standard: name what the system does, cite what it borrows, and never claim more than the equations actually support.

Thirteen systems

From constants to a federation of agents

01

Constants

Phi, delta, and tau, the fixed numbers everything else is built from.

02

Golden basis

Frequency encoding across sixteen golden ratio bands.

03

Cognitive families

Sixteen coupled families that make up the G16 dynamics.

04

Meta state core

Phi correction and gating that keep the state stable.

05

Objective Omega

A free energy style function the system moves against.

06

Holographic memory

Golden basis recall, a distributed store called DNA.

07

Gate5000

A binary substrate gate on top of the continuous state.

08

Neural brain

An 88 agent brain layer built on the substrate.

09

Consciousness engine

A 374 dimensional binding field across the agents.

10

Lattice engine

Golden kernels with Hebbian plasticity between nodes.

11

Federation cross talk

Coupling between agents, the multi agent layer.

12, 13

Activations, hashing

Softsign, sigmoid, and FNV1a for deterministic hashing.

The core mathematics

The full specification documents sixty nine equations. Three give a sense of how the system actually moves.

psi_k(x) = sin(2 pi phi^k x) + cos(2 pi phi^k x), for k = 0 through 15

Knowledge is encoded across sixteen golden ratio frequency bands, a distributed representation rather than a single lookup table.

b = 1 / (1 + norm(psi)^2 / phi),   psi(t+1) = b * (psi(t) + gamma * (psi'' minus psi(t)))

Each family is applied, blended with golden ratio momentum, gated by the stability term b, then normalized so the state cannot run away from itself.

Read all sixty nine equations in the full reference, and see the live browser demos shipped inside the repository itself.

Built on real mathematics, stated honestly

SEFERIM synthesizes established theory rather than inventing new claims from nothing. It draws on the Free Energy Principle from Friston, information theory from Shannon and from Cover and Thomas, holographic and vector symbolic memory, Hebbian plasticity, and swarm consensus work from Vicsek and from Cucker and Smale.

I do not overstate three things. The constant delta, 0.013618, is an empirical phase increment, not a clean function of phi. The memory system is a golden ratio frequency domain vector symbolic architecture, inspired by, not a literal copy of, Plate's circular convolution holographic reduced representations. The information theory families are inspired by one step update rules, not exact statistical estimators. The full accounting is in FOUNDATIONS.md.

Why this matters for your build

The same rigor, on your data

Documenting exactly what a system does, citing what it borrows, and refusing to overstate the rest is not a courtesy I reserve for open source. It is the standard behind every private federation I build.

Begin

Want a system this documented, built for you?

The readiness assessment is where that conversation starts.