Skip to main content

Four Layers


Layer 1: Runtime

The foundation. A PTY terminal where human and AI share the same shell.
The PTY daemon runs as a sidecar binary — if the app crashes, terminal sessions survive. Each session is managed by a SessionActor with no locks, guaranteed ordering, and independent state.

Layer 2: Observation

Every file change is recorded, diffed, and linked to commits.

Layer 3: Memory

Sessions are read from local files — not API calls.

Layer 4: Understanding

The same tools serve human and AI equally.

How They Connect