AgenticRail

Runtime enforcement and verifiable execution records for AI agents.

AgenticRail is a hosted enforcement gate for AI agents. It takes a step order declared in advance by the caller, refuses any step presented out of order before that step executes, seals the sequence when the final declared step completes, and records every decision it makes as an Ed25519-signed receipt that can be verified offline against published keys, without calling back to us.

It is a policy enforcement point rather than a logging tool. The distinction that matters: an audit trail reports what it happens to contain, so a step that never ran leaves no entry and no trace of its absence. A declared order makes the missing step a refusal at the moment it is attempted, with a signed record of the refusal. That refusal is the difference between a tamper-evident record of what happened and actual proof of execution — evidence that the required steps ran, in the required order, because anything else was denied.

The category goes by several names — audit-grade logging, tamper-evident lineage, hash-chained audit trails, verifiable execution records. AgenticRail produces those, and enforces the order they attest to, which is the part a record-keeping tool cannot do on its own.

What it is used for

Four situations, all of them cases where a safeguard exists on paper and the evidence that it operated does not.

The recurring shape across all four is a governance requirement written in advance and an agent workflow that cannot demonstrate it was followed. Assessment moderation is the same shape in another sector, worked through in the education gap analysis.

How it relates to what you already run

Most teams evaluating this already run one or more of three adjacent categories. None of them is a substitute and none is replaced.

AgenticRail sits beside all three rather than in place of any of them. It is the enforcement point that refuses the step and the record that a third party can check without trusting either the operator or the vendor.

Where it sits

Between the agent's decision and the action. The agent asks the gate before it acts; the gate returns a verdict; the action runs only on a pass. The gate is reachable by the agent only as an external service — it cannot be instructed, reconfigured or edited by the agent whose conduct it records.

The shape of a call

agent → POST /v1/evaluateALLOW or DENY → signed receipt written before the action executes

What it enforces

Every rule is evaluated deterministically against the caller's own declared step order. The same payload yields the same verdict; no model is consulted, and there is no language model anywhere in the decision path.

ConditionResult
Step is not in the sequence's declared step orderDENY: UNKNOWN_STEP
Action type is not permitted for that stepDENY: ACTION_NOT_ALLOWED
Step and function disagreeDENY: FUNCTION_STEP_MISMATCH
Sequence has already been sealedDENY: SEALED_SEQUENCE
Nonce has been used beforeDENY: REPLAY_NONCE
Step arrives out of orderDENY: SEQUENCE_VIOLATION, carrying the next expected step
Timestamp is outside the freshness windowDENY: STALE_TIMESTAMP
A result is recorded without binding to the artifact it witnessesDENY: ARTIFACT_UNBOUND
All checks passALLOW

A malformed or unacceptable request is refused at the boundary with a HALT status. HALT is not a decision and never reaches enforcement, so it produces no receipt. Only ALLOW and DENY do.

What it produces

Every decision, permission and refusal alike, becomes a receipt. A receipt is signed with Ed25519 over the canonical form of the record, so any later change to any signed field — the decision, the step, the timestamp, the payload hash — breaks verification.

How it is verified

Verification does not require an account, a login, or our cooperation.

How it is integrated

SurfaceDetail
HTTP APIPOST https://api.agenticrail.nz/v1/evaluate, Authorization: Bearer <key>. Full schema in the OpenAPI description.
Pythonpip install agenticrail — with LangGraph and CrewAI integrations
JavaScript / TypeScriptnpm install @agenticrail/core — dual ESM and CommonJS
MCPhttps://mcp.agenticrail.nz/ — an agent can call the gate as a tool

The step order is supplied by the caller on every request, so there is no console to configure and no policy language to learn. What is stored on our side is the sequence and its receipts.

What it does not do

These are stated here rather than left to be discovered.

Evaluating it

Evaluation is free and needs no account. The public demonstration key DEMO-AGENTICRAIL-PUBLIC-2026 is real and works against the live gate; the documentation carries a copy-paste request, and the browser demo drives the same gate without a terminal. Sequences created on that key are public: their reports need no key, so treat anything placed in attestation on a demo sequence as world-readable.

Production deployments are priced per deployment. There is no price list and no self-serve sign-up, deliberately — the shape of an enforcement deployment depends on where the gate is placed and who is meant to be able to check the evidence, and that is a conversation rather than a checkout. hello@agenticrail.nz.

Already built your own? Most teams weighing this have an audit trail already. The comparison worth making is not log quality, retention or cryptographic strength — a careful in-house build holds up well against a vendor product, or anything off the shelf, on all three. It is whether the record was generated outside the system under examination, which is the one property that does not yield to engineering effort. That case is set out in full in build vs buy: what an in-house audit trail can and cannot reach.

Further reading

The Enforcement Specification — decision architecture, receipt fields, signing and the sealed chain. Versioned and fingerprinted.

The Completeness Specification — the eight requirements that separate an evidence-grade enforcement record from an ordinary log, and the criteria an auditor tests against.

Documentation — the payload contract, every denial code, and a runnable example.

Questions — including the ones with uncomfortable answers.

He toi whakairo, he mana tangata