Grewlin is a Cognitive Operating System for governed autonomy — maintaining authoritative state, validating every transition before commit, and bounding execution by architecture.
Proven first in industrial systems: deterministic physical validation detects developing failures, identifies likely causes, and supports earlier governed action in demonstrated failure scenarios.
A physics-invariant cognitive twin governs real-time fault detection and identification in continuous industrial processes. Calibrated physical rules identify affected equipment and likely failure mechanisms, trace causal chains, and compute time-to-boundary. The resulting evidence is auditable, deterministic, and falsifiable — and can support bounded autonomous response where explicitly authorized. Benchmarked at scale against the Tennessee Eastman Process (Rieth et al. 2019) — a widely used reference for continuous process fault detection.
A compromised PLC can falsify both its reported state and the alarms intended to reveal the compromise. Grewlin independently validates raw sensor and actuator telemetry against a physics-based model of the plant, determining whether the reported state remains physically possible. This provides a separate layer of detection even when control logic or controller-generated alarms can no longer be trusted.
The approach has been benchmarked on SWaT, a six-stage water-treatment research testbed developed for cyber-physical security evaluation, using the same reasoning core built for TEP.
Hertfordshire Oil Storage Terminal. Tank 912 was filling at 550 m³/h when the primary level gauge froze. The backup switch had not been maintained and also failed to operate. 300 t of petrol overflowed, formed a vapour cloud, and exploded. £1 billion in damage. 43 injured. The first physical inconsistency is detected 6 hours before overflow; emergency transfer stop is initiated 1 hour before predicted overflow.
Source: MIIB Final Report, December 2008 · Replay: Grewlin Cognitive OS incident engine · First detection: 6 hours before overflow
Traditional systems wait for a threshold to be crossed. Grewlin detects physical inconsistency immediately — the moment inflow and level readings can no longer be reconciled.
The simulation shows what Buncefield looked like in hindsight. Grewlin continuously validates your process to identify physically inconsistent and developing failure conditions before they become irreversible.
This is not anomaly detection.
This is deterministic state validation from detection to governed action.
Anomaly detectors wait for a threshold to be crossed. Grewlin reasons from physical invariants — mass balance, flow consistency, instrument coherence — and detects the contradiction the moment it becomes physically impossible to ignore. No conventional process alarm threshold needs to be crossed, and no controller alarm needs to fire.
Detection establishes that the state is inconsistent. Identification connects that evidence to affected equipment, likely failure mechanisms, and a causal chain. Only validated state can authorize a response, and execution remains inside explicit operating and authority bounds.
At Buncefield the ATG was inconsistent with inflow from the first frozen reading. In the replay, Grewlin flags that inconsistency, computes time-to-boundary, and gives operators 6 hours to act. A pilot applies the same validation approach to your process.
As AI moves from short interactions toward persistent, autonomous operation, current architectures cannot provide enforceable guarantees for what matters most. These are not model failures. They are architectural failures.
Agent frameworks reconstruct state from context every time. Drift is undetectable and unrecoverable without authoritative state ownership.
Without persistent task state, long-running work cannot be resumed, audited, or verified across sessions or system restarts.
Emergent consistency between co-operating agents is non-deterministic and provides no governance guarantees at the system level.
Without deterministic state transitions, autonomous decisions cannot be forensically reconstructed or proven after the fact.
Distributed AI systems without shared authoritative state become independent agents with no enforceable system-level invariants.
Not a better model. A governed substrate that owns state authoritatively, validates changes before committing, and enforces execution bounds by construction.
These primitives define what the system can guarantee about reasoning, memory, task continuity, and execution — independent of models, agents, or applications.
A persistent, authoritative representation of knowledge, intent, and task state. All reasoning operates against this. No implicit belief formation.
Every state transition has a defined predecessor, a recorded proposal, a recorded validation outcome. Commits only if approved. Fully replayable.
Reasoning components propose; only validated changes commit to canonical state. Failures are contained before execution, not corrected afterward.
Actions are authorized only after governed state transitions. Components cannot infer authority, assume permissions, or act outside validated bounds.
Long-running work is first-class structured state, not prompt fragments. Tasks carry scope, dependencies, retry budgets, and output contracts.
Coordination across agents, robots, or services through shared authoritative state. Governance guarantees extend across distributed components by architecture.
The Cognitive OS applies wherever long-horizon consistency, bounded autonomy, and forensic auditability are requirements — not aspirations.
Persistent cognitive state, long-term memory, and governed motor control for ROS-based humanoids.
Physics-invariant fault detection benchmarked at scale — ready for pilot deployment in continuous industrial and water treatment processes.
Federated cognitive state with deterministic coordination and authority-bounded autonomy.
Copilots and agents that retain authoritative state and remain governable as they scale.
Architecture designed to support alignment paths for the EU AI Act, NIST AI RMF, IEC 61508, and ISO 26262.
Governed state for systems operating under communication delay, partial observability, and no human in the loop.
Working implementations of Cognitive OS principles — not reference architectures.
Physics-invariant cognitive twin for real-time fault detection, equipment identification, causal-chain tracing, and governed response in continuous industrial processes. Benchmarked on the Tennessee Eastman Process: 98.09% DR on physically observable faults, 0.0% false positive rate, 10,500 simulation runs.
Explore the implementation →Deterministic invariant guards validate raw PLC telemetry against a physics model of a six-stage water-treatment plant, detecting physically consequential manipulation independently of a compromised controller's own alarms. 31/36 attacks detected (86.1%), above the published GiBy attack-level detection figure under its reported evaluation.
See the benchmark →How a Cognitive OS governs embodied AI and ROS-based humanoids through deterministic state, long-term memory, and safety constraints.
Read concept note →As AI moves toward autonomous operation in safety-critical and societal domains, governance can no longer rely on policy, monitoring, or human reaction time. It must be enforced by architecture.
Grewlin governs autonomy at the cognitive operating system level — through explicit authority modeling, validation-before-commit, deterministic behavior, and execution gating. Autonomous components cannot assume authority, bypass validation, or exceed defined operational bounds.
Framework references describe architectural alignment goals; Grewlin has not been independently certified against these standards.
What makes this different
Grewlin does not compete with models, agents, or tools. It provides the missing architectural layer that allows them to work together safely, coherently, and under explicit governance — at any horizon.