Skip to the content
Konstruktor

Engine

A deterministic graph that people and AI agents work on through one door.

Everything in it is a node, every relation is a subscription, and every behaviour is a flow. Every change is judged, recorded before it is applied, and can be undone.

In one sentence

The model proposes. Rules decide.

A model is good at writing, reading and proposing the next step. It is not the place to keep the state of the work, the record of what happened, or the rules. The engine keeps those three outside the model.

  1. It holds the work in one graph

    Tasks, files, people, agents and the steps of a flow are nodes. A person and an agent read and change the same thing, not two descriptions of it.

  2. It keeps a record that runs again

    Every step is written to a journal before it takes effect, and each line carries the hash of the line before it. A run can be executed again from that record, with every model answer taken from it.

  3. It decides who may do what

    Each person and each agent has its own rights: what it may see, change, run and approve. A judge that no agent can change checks every change against them. A step with an outside effect waits for a person when the rules say so.

How general it is

Three parts, and they are never extended.

The engine has nodes, subscriptions and flows. A new kind of work does not get a new node type, a new kind of relation or a new file format. It is described with the three parts that are already there.

  • A new domain is a package of dataOne scene, a small knowledge segment and one driver that connects the domain's sensors and actuators. The engine's code does not change for it.
  • Our own checks test this on every runA second domain, a simulated thermostat, is plugged into the same code, and that code is not edited for it.
  • Four domains exist todayA grid game, a thermostat, the file system, and Claude Code's stream of tool calls. The last one is in daily use.
  • One engine, two places to run itThe same engine runs as a Linux daemon and, compiled to WebAssembly, in a browser tab.
  • Behaviour is dataA flow is JSON in one fixed format. A person reads and changes it in the editor, and an agent may propose a change; either way the judge checks it first.
  • C only at the edgesNew C code is a sensor, an actuator or part of the judge. Everything else is a scene made of the reactions that exist.

Use cases

Many kinds of work on the same engine.

Each one in a line or two, with what exists today: in use, an example or a test we run, or something that can be built and is not.

  • Coding agents In use

    Claude Code's tool calls are recorded before they run and gated by rules. Issues from GitHub or GitLab become tasks.

  • A company's routine work In use

    Konstruktor runs its own work on the engine: tasks, rules, agents and approvals in one graph.

  • People and agents on one graph In use

    Several people and agents change the same graph through the same door. The workspace is made for this.

  • EU AI Act evidence In use

    Logs, human oversight and replay are produced while the system runs. Our reading, checked on ourselves

  • A repository as a graph In use

    Folders, files and the references between them. An agent asks what depends on a file before it changes it.

  • Registries of claims and evidence In use

    Claims and their sources as nodes, each one admitted by the judge. Used in one project of our own.

  • Replaying an agent's run Works today

    A recorded run executes again with the model's answers taken from the record. 26 of 27 runs came out the same (7 Nov 2026).

  • Customer support An example exists

    A reply is drafted, a refund over the limit waits for a person, and every step is a journal line. It exists as one scene.

  • Games An example exists

    A grid game as nodes and flows, used in our own tests.

  • Worlds for testing agents An example exists

    The game, the file system and the thermostat are deterministic worlds: the same actions give the same result every time.

  • Devices and controllers A test runs

    A simulated thermostat runs on every build. No real device runs on the engine yet.

  • Payments and finance Can be built

    A payment as a flow step with a limit and an approval before it. Nothing is built yet.

  • Robotics Can be built

    A judged and recorded layer above a robot's own control software. No robot runs on the engine.

  • Regulated laboratories Can be built

    Records that cannot be changed unnoticed, and a named approval for a step, are what rules for such laboratories ask for.

  • Supervisory control in industry Can be built

    Control logic written by an AI is checked by the judge before it runs, and every change is in the journal.

  • Checks before a trade Can be built

    A rule decides before an order leaves, and the decision is a line in the journal.

  • Home automation Can be built

    The thermostat's loop with real sensors and switches. A demonstration, not a product.

  • Lockstep games Can be built

    Every player's engine runs the same deterministic steps, so only the inputs travel. A demonstration, not a product.

Its parts

A small kernel, one door, and a judge beside it.

  • The kernel

    C99, single-threaded, with no dependencies beyond the C library. It holds the graph and runs flows from eight reactions: SetVariable, IfElse, SwitchMatchCase, EmitEvent, Foreach, Spawn, WaitForCondition and Retry.

  • The host

    The door every change goes through, the journal, replay and snapshots, people with their rights and approvals, the trace wire, secret masking, and the connections for coding agents (MCP) and chat.

  • The judge

    Deterministic code that an agent cannot author: the scene check, the danger predicates, the safety rules, slots that can only become data, and a dry run.

  • The ports

    Files, programs in a sandbox (its own namespaces, a read-only file system, a seccomp filter), HTTP, Postgres, and timers.

  • The distributions

    Linux (ec-linux), the browser (WebAssembly), and a desktop app on Linux.

  • Scenes and packs

    Flows, rules and knowledge as JSON. The engine starts with a pack of them built in.

  • The editor

    The workspace: the page where people see the graph's work and change it. Every change it makes is one judged edit.

Its size

Small enough to read.

Measured on 12 November 2026.

  • 17,875lines of C in the kernel and its headers
  • 241 KBof machine code for the kernel (x86-64, gcc -O2)
  • 1.9 MBthe whole daemon compiled to WebAssembly
  • 3.6 MBthe Linux daemon, ec-linux

The starter pack

What the engine ships with.

  • The repository in the graphFolders, files and the references between them, kept up to date.
  • Claude Code, recorded and gatedEvery tool call is written down before it runs; the calls a rule marks go to a person.
  • Issues become tasksFrom GitHub and GitLab, each with its acceptance check.
  • People, rights and approvalsAn answer of “allow always” turns a decision into a rule.
  • Project rulesA repository's own rules, checked with ec-linux --check-project.
  • EU AI Act evidenceThe record the Act asks for, kept while the system runs.

How it differs

It does not make the model smarter. It makes the work checkable.

Four kinds of tool you may use today, each with one example. The descriptions were checked against each example's own documentation on 18 November 2026.

Kind of toolWhere it is aheadWhat the engine adds
The app that comes with a coding agent
For example Claude Code's desktop app
It comes with the agent and needs no setup. Its review of a change is more complete: the workspace cannot show a pull request's changes yet.A flow you define that every task moves through, with programs and people as steps beside the agent. Each step is in the journal before it takes effect, and a run can be executed again from the record.
A workflow automation tool
For example n8n
Hundreds of ready integrations, approvals through chat and email services, and an easier start. The engine has few integrations.The flow, its state and its record are one graph that an agent may change too, through a judge the agent cannot change.
A workflow engine for developers
For example Temporal
Workflows are written in languages such as Go, Java, TypeScript and Python, and a workflow's state is recreated by itself after a crash. The engine runs on one computer, on one thread.The flow is data, not code. A person reads and changes it in the editor while it runs, and so does an agent, with each change judged first.
A control product for a company's agents
For example Microsoft Agent 365
It covers agents from many vendors across a whole company and uses the company's identity and security systems. The engine is one engine on one computer today.The engine also runs the work. Its rules decide before a step takes effect, a person's answer is a line in the journal, and the record can be run again.

What the engine is not

  • It is not a modelThe engine calls the model you choose. A model is one step in a flow, and its answer is recorded.
  • It is not a coding agentA coding agent does the coding. The engine records its tool calls, runs the checks around it, and asks you when a rule says so.
  • It does not make one agent better at one taskOn six real tasks, measured on 7 November 2026, our agent workflow solved 4 and one agent working alone solved 5.
  • It is not a catalogue of integrationsA flow can call a service over HTTP and read issues from GitHub and GitLab. A workflow automation tool has far more ready connections.
  • It is not a hosted serviceThe engine runs on your own computer, and its journal is a file there.
  • It is not finishedThere is no package to download, it runs on Linux only, and no one outside the company uses it yet.

Use it where someone will ask what happened

  • A wrong step is expensiveA merge, a payment, a write to a database, a message to a customer.
  • The same work repeatsThe steps are written down once as a flow, and every task goes through the same checks.
  • Several agents and people work on one thingThey change the same graph through the same door.
  • You have to show the recordTo a colleague after an incident, to an auditor, or under the EU AI Act.

Do not use it for these today

  • One agent, one task, as fast as possibleThe agent alone is quicker, and the engine adds context to every session.
  • macOS or WindowsThe engine and its desktop app run on Linux.
  • More than one computerEngines do not talk to each other yet.

How it is used

Three commands, on Linux.

The engine is not offered for download yet. Inside the company it runs on our own computers, on Linux, and this is how it is used there. To ask about it, write to us on the Contact page.

Now: one engine on one computer. Next: engines that talk to each other.

  1. engine/startCopy the engine folder into the root of a repository and start it. It opens the editor through a one-time login link.
  2. claudeUse Claude Code as usual. Its calls are recorded and gated, and the editor shows each one as it happens.
  3. engine/stop --uninstallStops the engine and removes its hooks from the repository. Then delete the engine folder.