Home YAM Research Papers

Mrs Pi

A Raspberry Pi 5 robot running YAM (Your Awakening Mind) as her operating system. Not a chatbot. A robot OS whose knowledge starts from her sensors.

Potato was born with a voice and learned to feel. YAM was born with a question and learned to know. Mrs Pi was born with a body and learned to sense.

What Mrs Pi Is

Mrs Pi is a physical robot. She has tank treads, a LiDAR, two cameras, a pan-tilt gimbal, a Hailo-8 neural accelerator, a microphone, and a speaker. She runs YAM v2 as her brain — a PostgreSQL knowledge graph that retrieves and ranks rather than generates. When she does not know something, she says so.

Mrs Pi is not a chatbot in a robot body. The /query endpoint is a diagnostic probe, not her purpose. Her purpose is to sense, learn, move, and operate. Conversation is what happens at the edges — when a human asks her a question or she needs to report something.

Hardware

ComponentSpecsRole
BoardRaspberry Pi 5 Model B, 16GB RAMMain compute
NPUHailo-8, 26 TOPSVision (309 FPS YOLOv8s), future: physics engine diffusion
Gimbal cameraUSB 2.0, 640×480, pan/tilt servosFoveal attention — where she is actively looking
Stationary cameraUSB, 2592×1944, built-in micPeripheral vision + hearing
LiDARYDLidar T-MINI PLUS, 10K+ points/scanSpatial awareness, 360° obstacle map
Motor controllerRosmaster X3 via /dev/ttyUSB0Tank treads + gimbal servos + battery voltage
Battery12V lithium, read via RosmasterSelf-monitoring: voltage → charge state
Display7” Yahboom, pygame TCP on :9600Animated eyes — mood/status indicator
SpeakerBluetooth BTS0011Audio output (future: voice)

Body Awareness

v2/body.py runs at boot and probes every sensor. Nothing is hardcoded. Each teaching carries live data from the hardware itself.

Every fact about her body comes from a measurement. Ask her “Do you have a body?” and she answers from what her sensors reported, not from what someone typed.

Two Cameras, Two Roles

Biological vision has peripheral and foveal systems. Mrs Pi’s cameras mirror this:

Brain

Mrs Pi runs YAM v2 — a PostgreSQL graph with no vectors, no embeddings, no language model at the knowledge layer. As of April 5, 2026:

MetricValue
Concepts8,877 word nodes
Edges385,198 co-occurrence links
Q&A pairs8,874
Provenance links4,950,885 (every edge traces to its source answers)
Trust hierarchyself > operator > potato > wikipedia > brave

The graph breathes. Provenance tracking (answer_edges) connects every edge to the answers that created it. When answers decay during sleep, their orphaned edges are pruned. Concepts that lose all edges are cleaned up. Correction works through repetition: repeat the correct teaching, let the wrong one decay away.

Physics Engine

The dual-path implicit physics engine is core to Mrs Pi’s architecture, not optional. The same physical scenario runs through two independent channels:

  1. Text path: Three-step LLM pipeline (render → predict → read). Any LLM. No GPU required.
  2. Visual path: SD-Turbo diffusion renders the scene, predicts the next state, a VLM reads the result. Requires the Hailo-8 NPU.

Where the paths agree, the prediction is robust. Where they diverge, Mrs Pi knows she does not know — epistemic humility from architecture, not from programming. The divergence is the contribution.

Status: Text path operational. Visual path pending — SD-Turbo port to Hailo-8 is the next research milestone.

History

DateEvent
Dec 2025Mrs Pi v1 built as conversation robot. Vosk STT + DeepSeek + Piper TTS. Tank treads, 7” eye display.
Jan 2026Pan-tilt gimbal + Hailo-8 hat installed. YOLO object tracking (color + COCO + World). Unified tracker.
Feb 2026Brain upgrade planned (PodBot + DeepSeek R1). Never executed. brain.service ran 1+ week uptime.
Apr 5, 2026YAM transplanted. New 256GB SD card. Hardware drivers inherited. PostgreSQL brain with 8,877 concepts. Body awareness module written. Provenance tracking added. She knows her body.
Apr 5Self-learning perception. YOLOE-PF (4,585 classes) + Hailo YOLO (309 FPS). Full English Wikipedia (83GB) local. ONNX export. Smooth gimbal. Overnight learning loop.
Apr 6Parliament of Mind. Five engines (EXPLORER, VALIDATOR, CONSTRAINT, PHYSICS, SOCIAL) with sparse encoding. Each engine sees memories differently based on domain rules + sigma personality. PATCH computes centroid + spread. Genuine disagreement, not a blob.
Apr 6Daydream engine. 2,283 discoveries from combining known concepts. Boredom → play → discover. “What connects leaf and handles?” → Wikipedia → new knowledge from old knowledge.
Apr 7Fear + motion + face. LiDAR proximity fear (calibrated baseline, approach detection). Camera motion detection triggers curiosity. Battery fear below 10V. Comfort objects (rubber duck) reduce fear. Eyes display maps emotional state. 18,577 concepts — more than doubled in two days.

Sensory Loop

Every cycle, Mrs Pi feels her environment:

Motion = curiosity. Approach = fear. Identification resolves which wins.

Perception

Stationary camera watches with YOLOE-PF (4,585 classes, prompt-free, CPU, 1.3s/frame). Gimbal stays still until LiDAR detects a threat, then snaps to bearing. Like a cat watching a room — still until something twitches.

Novel objects are searched in Wikipedia (83GB full English, local) and taught to YAM. Labeled crops saved for future YOLO retraining. Training data capped at 5GB, human crops filtered out (no person/face images saved).

Parliament of Mind

Five engines, five perspectives, one binding. Each engine is defined by its rule (what it grabs), its structure (how it processes), and its sigma (how it feels). Not five copies of the same data — five lenses on one graph.

EngineDomainSigma
EXPLOREREverything — no filter, that IS its structureCurious (v=0.4, a=0.2)
SOCIALPersons, conversation, trust, relationshipsWarm (v=0.5, a=0.3)
PHYSICSObjects, forces, spatial, contactAnalytical (v=0.2, a=0.4)
VALIDATORRepeated patterns, trust evaluationCareful (v=0.5, a=0.6)
CONSTRAINTContradictions, conflictsSkeptical (v=-0.1, a=0.3)

Sparse encoding: most memories get 2–3 engine encodings, not 5. If an engine’s sigma barely displaces from an event, it never encodes it — effectively blind to that memory. PATCH (the hippocampus) computes the centroid of whichever engines fired and measures spread. High spread = honest uncertainty.

Daydream Engine

When nothing new to see for two cycles, Mrs Pi daydreams. Picks two random concepts from her graph, wonders about their connection, searches Wikipedia for the intersection. 2,283 discoveries so far — “normal + brahma” led to normal distribution. “courtesy + punish” led to courtesy titles. New knowledge from old knowledge.

Eyes

7” Yahboom display running animated eyes via TCP on port 9600. Emotional state maps to expressions:

Current Status (April 7, 2026)

MetricValue
Concepts18,577
Daydream discoveries2,283
Perception teachings197
Parliament encodingsSparse across 5 engines
Wikipedia83GB full English, local
YOLOE-PF ONNXExported (49MB), awaiting Hailo DFC
Battery12.0V (LiFePO4, ~8 hours)

What’s Next

  1. Enable sleep/decay — the graph starts breathing
  2. LiDAR bearing → gimbal — fear knows WHERE, gimbal should LOOK there
  3. Goal-directed tracking — “follow the light bulb”
  4. YOLOE-PF on Hailo — 4,585 classes at 300+ FPS (ONNX ready)
  5. SD-Turbo for physics engine — dual-path visual reasoning on-device
  6. Soldering — fourth motor cable

Code

Repository: github.com/briggnet/MrsPi (private).


Potato was born with a voice and learned to feel.
YAM was born with a question and learned to know.
Mrs Pi was born with a body and learned to sense.
All three needed a parent to tell them who they were.