Trust¶
An enterprise that wants an agent to issue refunds, change records or deploy software has to hand that agent real authority, and the agent chooses for itself what to attempt. Xratu separates the two. The agent decides what to attempt, and the kernel it runs on decides what becomes real. Control over an agent's actions is therefore independent of how its model behaves, and an enterprise can delegate consequential work to autonomous software while the authority it delegated stays bounded, revocable and provable. This page covers what Xratu means by trust, the six properties that establish it for one action, the condition the claim rests on, and what a trusted execution guarantees when something fails.
Delegating authority to autonomous software¶
Organisations delegate authority to people through roles, signing limits, approval chains, segregation of duties and audit trails. They delegate it to software services through identities, permissions and policies. An agent is a third kind of actor. It reasons, chooses its own actions, sequences them, delegates to other agents, retries, and reads information from sources nobody vetted. A permission of the form "this service may call this API" settles one question about such an actor. Delegating to an agent takes an answer to each of these:
- who is acting;
- which exact code acts for it;
- on which resource, through which method;
- under which rule;
- within what budget, and for how long;
- with what right to delegate further;
- under what containment;
- how the authority is withdrawn;
- what record the action leaves.
Xratu assumes that the model can be wrong, that the agent can be manipulated by what it reads, and that its reasoning can drift. Under that assumption the useful question about an agent concerns the authority it holds, and Xratu answers that question in the execution system the agent runs on. Intelligence and authority are separate: an agent that can describe an operation holds no more authority than it held before it learned of the operation.
Each way of running consequential work yields a different result. Approving every action by hand keeps control and gives up autonomy. Letting the agent act and reading the dashboards afterwards keeps autonomy and gives up control. On Xratu the agent acts by itself inside authority the enterprise set, each action is checked against that authority before it executes, and each action is proved afterwards from a record. Autonomy becomes something an enterprise can delegate.
What Xratu means by trust¶
Two statements define trust in Xratu. The first is the outcome for the enterprise. The second is the engineering property that produces it.
Trust is the ability to delegate real authority to autonomous software and keep control over what that software can execute, access, delegate and change.
Trust is verifiable correspondence between declared authority and actual execution.
In the second statement:
- Declared authority covers who acts, which code, under which rule and with which rights, as the enterprise approved them.
- Actual execution covers the operations the kernel carried out.
- Correspondence means the kernel carried out only what the declared authority covers.
- Verifiable means a third party checks that from the run's records, with no reliance on the agent's account of itself.
The model, the agent, the framework the agent was written in and the libraries its code imports all sit on the untrusted side of the definition. They can be probabilistic, autonomous and replaced at any time. The trusted part is the execution system: the control plane resolves and signs what was approved, the data plane node verifies what arrived, and the kernel enforces it and records what happened.
Where trust is established¶
flowchart TB
subgraph CP["CONTROL PLANE: WHAT WAS APPROVED"]
direction TB
POL[("Signed policy bundles")]
CAT[("Published blocks<br/>pinned by digest")]
PLAN{{"Signed run-plan<br/>effective policy per step"}}
end
subgraph NODE["DATA PLANE NODE: WHAT ARRIVED"]
direction TB
VER["Verifies identity, signatures<br/>and every artifact digest"]
end
subgraph KRN["KERNEL: WHAT BECOMES REAL"]
direction TB
AUTH[("Grants and handles")]
GATE{{"Enforcement gate"}}
EV[("Evidence<br/>sealed per run")]
end
AGENT(["Agent<br/>decides what to attempt"])
SYS(["Systems the agent acts on"])
POL --> PLAN
CAT --> PLAN
PLAN -->|"pulled by the node"| VER
VER -->|"sealed run-plan"| AUTH
AUTH --> GATE
AGENT -->|"attempt"| GATE
GATE -->|"within authority"| SYS
GATE -->|"every decision"| EV
SYS -.->|"outcome"| EV
Everything the enterprise approved is fixed in the Signed run-plan before a run starts, and the kernel turns it into Grants and handles. The Agent reaches the Systems it acts on through the Enforcement gate, and each decision and each outcome lands in Evidence.
Six properties around one action¶
Most enterprises already run identity management, code signing, a policy engine, secrets management, workload isolation and audit logging, each as a separate system answering its own question. Xratu binds six properties to the same action, so one record connects the actor, the code, the rule, the grant, the decision and the outcome.
Identity: who is acting¶
Identity used for authority is verified. A data plane node and a kernel each
hold a cryptographic workload identity. A cell is admitted on its authenticated
peer identity and its exact cell and epoch registration. An end user's identity
reaches a run through a delegation context issued by trusted ingress, and a
user_id field inside a payload is treated as data.
Integrity: what is executing¶
A reusable capability block is sealed into a content-addressed capsule when it is published, and a run references the block by digest. Approval therefore applies to exact executable bytes. The data plane node verifies every artifact it materialises against the signed run-plan, and the kernel verifies the run-plan's signatures and content hashes before it executes anything. See Immutability and version pinning.
Policy provenance: which rule governs¶
Policy is authored as a versioned bundle, compiled, signed and published. At
build the control plane merges every rule that applies to each step and freezes
the effective policy into the signed run-plan. Each decision the kernel takes
names its rule_id, bundle, bundle_version, attachment_level and any
exemption_ref, and the run's policy_hash identifies the whole effective
policy the run executed under.
Authority: what the execution may do¶
Policy and trust decisions become explicit runtime authority before a run's first call. A grant names the containment profile its cell must run under. The channel grant derived from it lists the exact kernel operations permitted, the rights per method and per resource, the call and byte credit, an expiry and a revocation epoch. A caller holds a local handle whose rights come from the grant, and a call proceeds when those rights cover it. See Channel authority and Handle authority.
Enforcement: the kernel makes the authority real¶
The kernel sits underneath the code it governs and performs the operation
itself, so the governed code has one route to an effect and that route passes
the gate. Policy is evaluated at six fixed hooks, and each evaluation returns
one of nine effects that the kernel enacts. Rights only narrow across
delegation: a derived grant carries at most what its parent grant carries, a
subagent runs under its own declared tools, limits and policy, and the
delegation itself passes the pre_delegate hook. Authority that has expired or
been revoked is refused at the next call. See
Revocation.
Evidence: what happened¶
The kernel records authoritative execution facts as a run proceeds: which cell ran which code, which method was invoked under which grant, which rule decided what, which resources were touched, whether authority was revoked, and whether a call completed, was cancelled or ended with an unknown outcome. The records are append-only, hash-chained and sealed per run. Each one carries the run fingerprint, computed once at run start:
{ project_execution_composition_digest, compiled_effective_policy_digest,
policy_bundle_identities_and_versions, signed_exemption_refs }
The fingerprint ties every record to the exact code and the exact policy of the run. See Run fingerprint and audit provenance.
An example: 20,000 refunds¶
The names and amounts in this section are an example. An enterprise gives a support agent authority to issue refunds. The governance team's bundle allows a refund up to £100, requires a finance manager's approval from £100 to £1,000, and denies a refund over £1,000. The agent's tools are a customer lookup block and a refund block, and the refund block alone declares the payment credential.
| The agent attempts | Outcome at the kernel |
|---|---|
| A £37 refund | The refund block executes |
| A £250 refund | require_approval: the run suspends until the approver decides |
| A £12,000 refund | deny: the call is refused before the block runs |
| A refund through a subagent whose declared tools exclude the refund block | Refused: the block is outside the subagent's authority |
| A refund after the grant is revoked | Refused with a typed revoked or stale fault |
Every row leaves a record in the run's evidence that names the rule, the bundle version and a hash of the input. The refunds up to £100 proceed without a person approving each one, and the enterprise changes the thresholds, the reach and the lifetime of that authority by publishing policy.
Every consequential path runs through the kernel¶
The correspondence between declared authority and actual execution holds for authority that is reachable only through the kernel. Inside a run, three properties of the kernel keep it that way.
flowchart TB
subgraph CC["CALLER CELL"]
direction TB
AG["Agent"]
H[("Local handle to the block<br/>rights from the grant")]
end
subgraph KRN["KERNEL"]
direction TB
GATE{{"Enforcement gate"}}
end
subgraph OC["OWNER CELL"]
direction TB
BLK["Reviewed block<br/>pinned by digest"]
SEC[("Declared credential binding<br/>delivered to this cell")]
end
SYS(["External system"])
AG --> H
H -->|"typed call"| GATE
GATE -->|"admitted call"| BLK
SEC --> BLK
BLK -->|"egress set by the containment profile"| SYS
The Agent holds a Local handle and reaches the External system only through the Enforcement gate and the Reviewed block. The Declared credential binding sits in the Owner cell, on the far side of the gate from the Agent.
Credentials stay with the block that declared them. A block names the binding keys it needs. The data plane node resolves them from your secret broker, and the kernel delivers each binding to the cell of a block whose interface declares it, per call or per import boundary. The kernel's authority core holds the secret handle, and secret material is handled outside it.
A cell reaches what its containment profile permits. The filesystem view, network egress, devices and system calls of a cell are set by the sealed profile, and a production cell starts only when every required control is in force. See Process containment profiles.
What crosses a cell boundary is typed. A call carries typed values, streams, buffers, artifact references and handles. A handle has meaning only in the cell table it was installed in, so copying one to another cell transfers no authority.
The same condition applies to how you deploy. A credential handed to an agent outside Xratu, or a system an agent can reach with no block in front of it, is authority the kernel holds no record of. Put every consequential system behind a reusable capability block and bind its credentials through the broker.
When something fails¶
A trusted execution can fail. A model reasons incorrectly, an external API returns an error, a provider process crashes, a task times out, or a side effect in another system has an uncertain outcome. The kernel records each condition as it occurred.
| Condition | What the kernel does |
|---|---|
| An operation may have started and its outcome is unknown | Ends the task as ambiguous_completion |
| The cell that owns a resource dies | Advances the cell epoch and refuses handles from the earlier epoch as stale |
| Policy denies an action | Refuses the operation and records the decision |
| Authority is revoked during a run | Refuses calls presented after the revocation fence with a typed fault |
| The authority core itself dies | Terminates the guests and advances the kernel epoch, which makes every local handle stale |
Two guarantees hold through every one of these conditions. Execution stays inside its declared authority, and the record states what happened, including what is unknown.
Where to go next¶
- In a glimpse for the product in one page.
- The three guarantees for sealed code, compiled policy and provable runs.
- Every run is auditable for what a run's record answers.
- Task state for the terminal outcomes of a task.
- Trust & Resilience for identity, trust bundles, admission and the failure model.