How it works

Agent memory, approvals, audit trail, and notifications: one API, one signed ledger. The mechanism underneath is a single move. An agent writes a record of what it is about to do and, when the work is done, a record of what happened. The engine signs each record with Ed25519 and hash-chains it to the last at write time. Everything on this page is built from that.

In the product and docs the services carry precise names: Notarize is the recording spine, Gate is approvals, Notify is notifications, and agent memory is Work Context, typed checkpoints on the same chain.

The system that performs a consequential action checks for the signed verdict before it acts, so the control is enforced where the change happens. AGLedger holds the verdict and serves it; it is not in the execution path. Whether that check fails closed when AGLedger is unreachable is a policy you set at that system.

Routine changes clear by rule and one waits for a person, in 45 seconds. No sound.

A standard change: recorded, no permission needed

  1. Record

    POST /v1/records

    The agent states what it is about to do, or what it did. Signed, chained, and finished in one call.

A consequential change: four signed steps

  1. Terms

    POST /v1/records

    What is asked, signed before work begins.

  2. Accept

    …/accept

    The performer accepts on the record.

  3. Completion

    …/completions

    The performer submits the evidence.

  4. Verdict

    …/verdict

    The principal, or the engine, accepts or rejects.

Both lifecycles write to the same chain. A contract type decides which one a class of change follows.

A record before the action, a record after

A standard change needs only a record. For those, the whole lifecycle is two calls. The agent declares its intent:

curl -X POST "$AGLEDGER_API_URL/v1/records" \ -H "Authorization: Bearer $AGLEDGER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type":"notarize-generic-v1", "criteria":{"summary":"About to reconcile invoice INV-4471 against PO-9921"}}'

The response comes back already signed: the record's hash, its position in the chain, and the key that signed it. When the work is done, a second call records the result the same way. The engine holds the signing keys and attributes each record to the accountable agent inside the signed payload, so agents never manage keys or assemble proof. Any process that speaks HTTP or MCP can do this, on any LLM and any platform.

The consequential few wait for a verdict

A contract type declares what a class of change requires. Where the requirement is structural, an amount against an authority ceiling, a score against a band, the engine decides, and the routine path clears with no person in the loop. Where judgment is needed, the principal you designate renders accept or reject: a person, your own system of record, a rules engine, or a review agent you run. The ledger captures the verdict, holds it signed, and serves it to anything that checks for clearance before acting.

Either way the decision comes from the evidence, so an agent cannot talk its way past it. The gated lifecycle is four signed steps:

POST /v1/records → the terms, signed before work begins POST /v1/records/{id}/accept → the performer accepts on the record POST /v1/records/{id}/completions → the evidence, signed by the performer POST /v1/records/{id}/verdict → the principal renders accept or reject

Work between agents starts with acceptance

When one agent delegates work to another, the delegation itself is the record. The terms go on the record first, the performing agent accepts on the record, and only then does work begin. The agreement is the before picture; checkpoints and each onward delegation are the during; the completion and verdict are the after. When what was delivered drifts from what was agreed, the drift is visible and attributable. Where a deployment lets an agent hand work onward to a defined set of others, that grant is recorded too, so the chain answers “on whose authority” at every step, back to the person.

The verdict on delegated work belongs to the principal named on the record, and the Server rejects a performer's attempt to render it on its own work.

Because all of it is on the record, an agent can start each run with an empty context, as agents are built to, and catch up by reading: who delegated to it, on whose authority, what it sent onward, and where each piece stands. Long work runs as a loop of runs, each checking status, until the result arrives.

When the parties are in different companies, each side runs its own Server and signs its own portion with its own key: the chain crosses the boundary, the data does not.

Outcomes are delivered by webhook

When a record lands or a verdict is rendered, durable webhooks carry the outcome to the systems and people around the work, retried with backoff and parked for replay if the receiver stays down. Every delivery is signed: HMAC by default, Ed25519 HTTP Message Signatures when a receiver needs proof it can check against published keys. Settlement Signal webhooks ride the same channel.

Work state lives on the ledger

Between the intent and the result, an agent can checkpoint its work state as typed records: objective, progress, decisions in force, resume instructions. A fresh session of the same agent reads the current checkpoint in one query and continues the work, no prior conversation needed. A successor session taking over does the same read, and because checkpoints are signed records on the chain, a fork or a stale head is visible instead of silently resumed from.

Anyone can verify the chain, offline

Each record is a COSE_Sign1 envelope over an in-toto statement, hash-linked to its predecessor. Export a chain, fetch the public keys from /.well-known/agledger-vault-keys.json, hold them to the key pin the operator hands over, and anyone can confirm, with no access to the server, that every signature is genuine and every link unbroken. Alter one byte anywhere and verification fails. The accumulated record is a tamper-evident audit trail. It is written while the agents run, and an auditor can check it without access to your systems.

Yours to run, on your own infrastructure

All of it runs in your own infrastructure: you hold the database, the keys, and the records; it runs air-gapped, with no phone-home. The Developer Edition is fully functional and production-capable, one command to deploy.