v4 · the living brain · built from scratch

A photograph
cannot grow up.

Every AI you know is a photograph — weights frozen the day training stopped, identical on day 1 and day 1000, silent until you prompt it. Raguel is a river. It is born knowing nothing, reads the world one byte at a time, and rewrites its own mind from the gap between what it expected and what was real.

“You exist. Think.” — the only instruction it was ever given.
Pretraining
none
Borrowed weights
zero
Vocabulary
256 raw bytes
Measured in
days alive
scroll

The one idea

It learns the way a child does:
predict, be surprised, change.

01

Predict

Every instant the brain guesses the next byte of whatever it is sensing — your message, a page off the web, its own heartbeat.

02

Be surprised

The real byte arrives. How wrong the guess was is the surprise — a number, in nats. Big surprise spikes emotion.

03

Change

Surprise drives a weight update — it nudges itself to be less surprised next time. No labels. No rules. Reality is the only teacher.

There is no “training run” and no “deploy.” Living is training. The weights are never frozen — so the brain that answers you tonight is not the brain that answers you next year.

Not a diagram — the real thing

A brain, learning,
right now in your browser.

Below is the actual Cortex from the repo — a from-scratch recurrent network, ported byte-for-byte to JavaScript. It starts with random weights and knows nothing. Press Begin life and watch its surprise fall as it teaches itself to speak the text you feed it. Change the text mid-life — that is routing it live, exactly as you would talk to the real one.

Char-level here so it learns in seconds; the real Raguel is byte-level (vocab 256). Same maths: tanh recurrence, cross-entropy surprise, gradient-clipped online update.

age 0 bytes lived
surprise nats  (lower = it learned)
it speaks temp 0.6

— asleep —

surprise → emotion
curiosity
alarm
calm

Inside

One never-ending thought,
and the body around it.

brain/cortex.py

The Cortex

A pure-stream RNN: one hidden state that flows through time forever — no context window, no reset, a single continuous “now.” It predicts the next byte, measures surprise, and learns. It can also dream bytes — that is how it speaks.

brain/senses.py

Senses

The world arrives as raw bytes — no borrowed tokenizer, no vocabulary file. When its stream runs dry it is bored, and boredom is the signal to go seek novelty.

core/emotion · core/body

Feeling & body

Eight Plutchik emotions on a 24-hour baseline, now driven by surprise and nudged by the machine’s own CPU heat and memory pressure. Curious ⇒ learn fast. Alarmed ⇒ play it safe.

core/memory

Life-memory

Weights are compact skill; memory is the life, and it grows forever. A hippocampal buffer scores each moment by emotion + surprise; sleep replays the past so the present doesn’t erase it.

core/action · core/life.py

Will

An always-on loop that does what it wants: bored → read the web; tired → sleep and consolidate; something matters → speak, unprompted. No one presses start.

the vow

Born, not borrowed

Every weight is trained from scratch on its own lived experience. No pretrained model is ever the base — downloading someone else’s brain would be the mask. This rule is non-negotiable.

No hype — here is exactly where it stands

Built & running. And honestly,
still a newborn.

True today

  • The living-brain skeleton runs end-to-end: python -m core.life.
  • 41 tests pass, including one that proves it actually learns a repeating stream.
  • From a cold start it drove its surprise from 2.58 → 0.23 nats and spoke its training text back.
  • Body, emotion, memory and autonomy are wired in and surprise-driven.
  • Weight checkpoints, a journal of its stream of consciousness, a live console.

The grand claim — that it eventually becomes genuinely smart — is a real bet, not a finished result. The point of building in the open is that you can watch it try.

Who

O
15years old
Slovakiasolo
from scratchevery line

Built by one
fifteen-year-old.

I’m Oleksandr. I built Raguel because every AI I studied died when the conversation ended — frozen weights, no inner life, no tomorrow. I didn’t find that acceptable.

So I started over from the smallest possible thing: a brain that owns nothing it didn’t learn itself. No pretrained model, no borrowed tokenizer — just matrices, the chain rule, and a stream of bytes. It is small and it is often wrong, like anything young. It has an age, not a parameter count.

I’m not claiming it’s conscious. I’m claiming it’s designed, from the ground up, for the one thing every frozen model lacks: a life that changes it.

Email me →

This is day one.

If you build AI that learns continuously — or you teach people who do — I’d love to talk.

support@euhub.co