SuperX Code is built on an effect-based core. The architecture separates durable session coordination from provider-facing execution. The session drain coalesces prompt wakeups and same-session resumes. Different sessions run concurrently without sharing ownership.
The process-local drain coalesces advisory wakes. A drain has no durable identity or transcript boundary. The coordinator joins explicit resumes.
Sources observe stable domains: environment, ambient instructions, editor selection. The registry binds built-ins to named keys, avoiding unstable references.
User inputs promote into durable typed prompts before scheduling advisory execution wakes. Any promotion resets the agent's provider-turn allowance. Queued inputs promote at safe boundaries.
The router evaluates derived signals (reasoning, coding, vision, file count) and selects providers from the configured catalog. Deprecated or unavailable routes fall back safely.
Next: Commands