Mia's Brain

A replicant doesn't follow a script. Mia's brain analyzes, feels and decides in real time — that's what gives her presence.

109 software agents collaborate to make Mia think — observe, feel, decide, act, every 350ms.

Mia's thinking cycle

👁
Observe
💜
Feel
🧠
Think
Decide
🤖
Act
↲ every 350 milliseconds

This loop never stops — even when nobody is around

🧠

A brain that loops continuously

Every 350 milliseconds, Mia's brain completes a full cycle: observe, analyze, feel, decide, act. It's like a heartbeat, but for thought. Even when nobody is around, the brain keeps running.

👥

109 small agents

Mia's brain isn't a single program. It's a team of 109 agents working together. Each has a specific role: one watches faces, another manages curiosity, another monitors fatigue. They collaborate to produce coherent behavior.

💜

Artificial emotions

Mia has an emotional state that changes constantly. She can be in a state of openness, alertness, withdrawal or calm. These emotions aren't decorative — they genuinely change how she perceives and reacts to the world.

Competing desires

At every moment, several desires compete in Mia's brain: explore, protect, interact, refocus. An internal arbiter chooses which one prevails — with an element of randomness, so Mia is never completely predictable.

💤

She dreams

When nobody has been around for a while and Mia is tired, she enters dream mode. She doesn't shut down — she reorganizes her memories, makes free associations, drifts from one idea to another. Like us during sleep.

🌱

Never the same

Thanks to learning and the element of randomness in her decisions, Mia never reacts exactly the same way twice. Two identical situations can produce different behaviors — just like a living being.

350mscognitive loop
109cognitive agents
6engines
24emergent generators
4affective tonalities

The cognitive loop — 350 ms

Each tick, the 6 engines execute in sequence. The loop runs continuously, even at rest.

Perception Aggregates perceptions (camera, servos, internal state) into a unified scene representation
Morphology Agents transform the scene into a morphological field — a map of tensions and influences
Emergence Generates behavioral responses from detected patterns.
Arbitration Arbitrates between competing intentions. Introduces controlled randomness when intentions are close.
Planning Translates the winning intention into a plan of motor and cognitive actions
Execution Executes: motor commands, memory consolidation, learning

The 5 psychic instances

Unconscious

Theory: low-level processing, primary drives, raw affect

Mia: affect, security and drive agents — curiosity, sociality, refocusing, expansion, withdrawal, protection, questioning

Pre-conscious

Theory: filtering, intermediate processing

Mia: morphological engine + multiple regulators (cooldown, refocusing, norms, security...)

Conscious

Theory: integration, decision, intentionality

Mia: arbitration engine + action planner — multi-factor decision with element of randomness

Emotional center

Theory: emotions as modulators of global processing

Mia: affective tonality system + emotional contour — emotions continuously modify the morphological field

Systemic loop

Theory: global feedback, regulation of the entire system

Mia: feedback and self-regulation mechanisms

Technical stack — Cognition

  • Architecture — agents organized in sequential engines
  • Morphological field — each agent produces tensions that aggregate into a global influence map
  • Controlled randomness — when two intentions are close, a stochastic mechanism breaks the tie
  • Self-regulation — the system detects and corrects its own internal states
Next: how Mia expresses herself → Expressions