Safety Principles

Industrial control is safety-critical: a failure can move physical equipment. Safety is therefore designed into the architecture, not layered on at the end.

1. The LLM never touches the world directly

In entelecheia, the model sees only a handful of primitive tools (exec, write_to_var). All real work happens inside a sandboxed execution pipeline where agent code dispatches to a large surface of MCP tools across agents. The model cannot invent behavior; it can only call the primitives the platform exposes.

2. Multi-layer safety depth

Every operation that can affect the physical world passes through the full chain, in order:

  1. 1
    Instruction review — what the model was told to do
  2. 2
    Sandboxed execution — code runs isolated, with policy constraints
  3. 3
    Policy validation — the write gate: does the operation match policy?
  4. 4
    Human confirmation — the final say for irreversible actions
  5. 5
    Audit trail — everything is recorded, nothing is silent

3. Mixed-criticality: real-time never depends on the LLM

Systems are split by response time, and the faster layers never depend on a model being online:

LayerCadenceRuns onLLM dependency
L3 — Cognitionseconds–minutesarona, shittim-chest, entelecheia (Linux)primary consumer
L2 — World model10–50 Hzplatform servicesoptional
L1 — Reactive / edge10–100 Hzevernight on SBCs; small local modelsnone
L0 — Real-time control100 Hz–1 kHzMCU fast loop, local interlocksnever

If the LLM drops offline, the platform degrades gracefully: either a safe state, or continued execution of an already-approved trajectory. Hardware watchdogs anchor this semantics — control never waits on a network call.

4. Zero trust, fail closed

5. Failures are loud

Silent degradation is treated as a safety bug. If memory recall fails, a backend is unreachable, or a deployment fails, the API response and the UI must say so explicitly — no fake success, no fallback to pretend data. This rule exists because real incidents have shown that invisible failures are the dangerous ones.

Where to go deeper