Architecture Overview

DaemonCore follows a layered architecture designed for deterministic execution and safe multi-agent coordination.

System Layers

Kernel Layer

The kernel defines what a DaemonCore host is allowed to be and do:

Runtime Layer

The runtime performs execution within kernel constraints:

Agent Layer

Agents operate within the capability envelope:

Boot Sequence

DaemonCore follows a strict boot sequence:

  1. Kernel Load - Load kernel.md and boot.md
  2. Identity Handshake - Declare vendor, model, version
  3. Environment Report - Report host class, network, sandbox level
  4. Profile Application - Apply host profile and safety scaling
  5. Context Load - Load tone, memory, global context
  6. Vendor Load - Load vendor-scoped persona
  7. Project Boot - Load project-specific configuration
  8. Session Resume - Check for and resume existing session

Safety Scaling

Safety scales based on environment:

EXECUTION_MODEAutonomyApproval Gates
SandboxLowAll operations require approval
ControlledMediumDestructive operations require approval
DangerousHighAudit-only, no blocking gates

Multi-Agent Coordination

Agents coordinate via the Kernel Exchange Bus: