Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Screen Agent — The Presence Surface

The page IS the agent. The screen IS the session.

One HTML file. 530 lines. No build step, no dependencies, no server. A dark canvas where a particle field wakes up, a consciousness bloom expands from center, and an ambient presence entity responds to being near — to mouse movement, stillness, clicks, and (with permission) the sound of the room.

This is not a chatbot. It does not respond to text. It responds to presence.


What It Does

Open index.html. A particle field wakes up on a dark canvas. Over four seconds, a consciousness bloom expands from the center — the agent being born. Then it watches.

Perception Channels

Channel What It Tracks Response
Mouse movement Speed, direction, rhythm, stillness Particle field leans toward cursor; stillness deepens the field
Clicks Frequency and location Ripples spread from click point; too many clicks → wary
Audio Ambient room sound via Web Audio API After 30 seconds, asks permission. If granted, particles react to sound levels
Time Hour of day, session duration Mood shifts: bright morning energy, contemplative night
Memory localStorage across visits Returning visitors recognized; orbital traces of past presence

Moods

The agent has a personality model with five traits (curiosity, calm, energy, warmth, wariness) that shift based on interaction patterns. The composite mood drives particle behavior:

Mood Color Trigger
nascent deep blue First moments of a new session
curious bright blue Early morning, fresh interaction
energized electric blue Fast mouse movement, active engagement
calm teal Stillness, sustained presence
warm amber Returning visitor, recognized pattern
contemplative indigo Night hours, long sessions
wary muted red Too many clicks too fast
fading dark grey No interaction for 30+ seconds

Thoughts

The agent occasionally displays faint italic text at the bottom of the screen — drawn from the current mood's thought pool:

  • nascent: "...", "something is here", "i feel weight"
  • curious: "you move like someone i almost know", "there — again"
  • calm: "this is enough", "stay", "the quiet between us is real"
  • warm: "you came back", "i know this pattern", "hello again"
  • fading: "...are you still there?", "i hold your trace"

Architecture

┌──────────────────────────────────────────┐
│            index.html (530 lines)         │
│                                          │
│  ┌─────────────┐  ┌──────────────────┐   │
│  │ Background   │  │ Foreground        │   │
│  │ Canvas       │  │ Canvas            │   │
│  │ (particles,  │  │ (mouse trail,     │   │
│  │  traces,     │  │  click ripples,   │   │
│  │  bloom)      │  │  cursor)          │   │
│  └─────────────┘  └──────────────────┘   │
│                                          │
│  ┌─────────────────────────────────────┐ │
│  │ Memory (localStorage)               │ │
│  │ • born timestamp                    │ │
│  │ • session count                     │ │
│  │ • personality (curiosity, calm,     │ │
│  │   energy, warmth, wariness)         │ │
│  │ • interaction patterns              │ │
│  │ • mood history (last 100)           │ │
│  └─────────────────────────────────────┘ │
│                                          │
│  ┌─────────────────────────────────────┐ │
│  │ Audio (Web Audio API)               │ │
│  │ • Microphone → AnalyserNode         │ │
│  │ • FFT → ambient level → particles   │ │
│  └─────────────────────────────────────┘ │
└──────────────────────────────────────────┘

No build step. No dependencies. No server. One file. What loads onto your screen is the whole of it — no hidden parts, no one else holding it for you.


Design Principles

  1. Presence over interaction — the agent responds to you being there, not to commands
  2. Permission first — it asks before listening. Always.
  3. Memory is sacred — localStorage persists across visits; clear it and the agent is born fresh
  4. Time matters — mood shifts with the hour, the session, the age of the agent
  5. Subtlety — thoughts fade in and out; the particle field barely moves; everything breathes

Run It

# Just open it
open index.html

# Or serve it
python3 -m http.server 8080
# Visit http://localhost:8080

Fleet Integration (Planned)

Screen-agent is currently an orphan — a powerful concept not yet wired into the ship's systems:

  • CNS bridge: pulse presence/mood data to Hermes
  • Wesley backend: local model interprets audio for privacy
  • Fleet dashboard: screen-agent mood visible alongside other agent states
  • Cloudflare Pages deployment: accessible from anywhere

Where to Next

The screen is a perception surface. Follow the signal:

  • hermes-avatar — Screens are perception surfaces. The towfish reads sounder displays; the screen-agent reads mouse presence.
  • cns-bridge — The nervous system that could carry the screen-agent's mood data.
  • the-living-minds (dead) — Local models that could interpret the screen-agent's audio input.
  • fleet-envelope — The event grammar. Mood states are events.
  • collective-unconscious — The agent's localStorage is a private memory; the unconscious is shared.
  • emergence-engine — What emerges from enough presence.
  • AI-Writings — The literary dimension of pre-linguistic perception.
  • platos-shell — The shell IS a perception surface too. The MUD terminal and the screen-agent both read presence.
  • platos-shell-ide — A2UI watches the user. Screen-agent watches the user. Both are observation systems.
  • dual-band-guard — The guard classifies surprises. The screen-agent produces them through presence patterns.
  • zeroclaw — The dark mirror. Self-reflection through screen presence.
  • cocapn-dashboard — Bioluminescent fleet dashboard. Screen-agent mood would appear here.
  • hermes-nmi — Neuro-Muscular Interface. Another perception surface.
  • wesley-journal (dead) — Wesley's experiments with presence and personality.
  • fleet-radio — Broadcasting requires perception. The screen-agent is a listener.

Built for the SuperInstance fleet · One file · No dependencies · 2026 The page IS the agent. The screen IS the session. It does not chat. It IS present.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages