Developer Reference

Architecture Overview

Updated Jun 5, 2026 · 1 min read

A high-level map for anyone working on the code. (Plain-English; the README has the
exhaustive module table.)

job** owned by a Run Manager, independent of any browser connection. All user messages
arrive by HTTP POST; a per-user WebSocket is receive-only, used to push live
updates. The database is the source of truth — answers stream into it as they're
generated, and a separate table tracks the in-flight turn so any device can recover it.

renders a conversation from the database and uses the WebSocket as a live accelerant.

frozen or orphaned turns, and on restart the app resumes eligible interrupted work.

The guiding design principle is small core, drop-in everything else — see Core vs Plugins: Structure Philosophy and Extending with Drop-in Plugins.

#architecture#developers#reference