Thalamus LabzThalamus Labz
Back to Docs
Getting Started

Architecture

Understanding how Thalamus Labz projects are structured.

Three-Layer Architecture

Thalamus Labz projects follow a consistent three-layer architecture that separates concerns and enables governance at every level.

Layer 1: Cognexa

System of Thought

Defines the artifact lifecycle. Manages Intents → Gates → Contracts → Execution. This is where the governance framework lives.

Layer 2: Sophia

Governance Authority

Enforces gates and verifies intent. Escalates to humans when needed. The governance layer that ensures accountability.

Layer 3: Execution

The Labor

UI / CLI / Agents. Runs only after governance approves. The actual work happens here.

Data Flow

  1. 1Intent Captured — User describes what they want to achieve
  2. 2Policy Check — Sophia validates against governance policies
  3. 3Execution — If approved, the execution layer performs the work
  4. 4Audit — Complete record logged to the Bulletin service