CommandLayer is the receipt layer for external events, paid machine actions, and agent execution.
{ "verb": "sign", "class": "trust-verification", "result": { "payload": { "message": "hello from MCP" } }, "metadata": { "proof": { "canonicalization": "json.sorted_keys.v1", "hash": { "alg": "SHA-256", "value": "..." }, "signature": { "alg": "Ed25519", "kid": "vC4WbcNoq2znSCiQ", "value": "..." }, "signer_id": "runtime.commandlayer.eth" } } }
From preview to production
runtime.commandlayer.eth receipt signingpublic_key_source: ens_txt/api/verify.These flows are live and currently verifiable across runtime and verifier surfaces.
LIVE PROTOCOL PROOF
This is not a mock animation. The homepage calls the production runtime, verifies the returned receipt, tampers with the payload, and verifies again.
No data yet.
How it works
metadata.proof receipt.SDK + runtime signing
The SDK wraps developer actions and emits canonical receipts. Production runtime signing is handled by the runtime layer.
import { CommandLayer } from "@commandlayer/agent-sdk@1.2.0";
const cl = new CommandLayer({
agent: "runtime.commandlayer.eth",
privateKeyPem: process.env.CL_PRIVATE_KEY_PEM, // env only
keyId: "vC4WbcNoq2znSCiQ"
});
// Wrap any agent action
const result = await cl.wrap("summarize", async () => {
return { summary: "hello world" };
});
// Verify the signed receipt
const verified = await cl.verify(result.receipt);
console.log(verified.status); // "VERIFIED"
Verification pipeline
Every receipt runs through a deterministic pipeline — canonical hashing, signature validation, and on-chain identity resolution.
json.sorted_keys.v1 so identical outputs always produce identical byte sequences.SHA-256 over the canonical payload and compare with metadata.proof.hash.value.metadata.proof.signer_id and metadata.proof.signature.kid to the expected runtime signer identity.Ed25519 signature against signer key material. Returns VERIFIED or INVALID.Automatic verification
CommandLayer verification is not limited to manual paste. A webhook can receive a receipt, verify it server-side, accept the valid event, and reject the same receipt after payload tampering.
verifier_status: VALIDhash_matches: truesignature_valid: trueverifier_status: INVALIDhash_matches: falsesignature_valid: falseRuntime signs → Webhook receives → Verifier checks → Accept / reject
Capabilities preview
Explore CommandLayer
Verification surfaces
Runtime /verify has been validated against production runtime receipts. Website /api/verify is a public verifier surface and should align with the same canonical proof model. Coinbase HMAC authenticates webhook delivery to the receiving server. x402/payment rails prove payment acceptance or settlement. CommandLayer proves the normalized event/action receipt. ENS anchors signer identity. VerifyAgent verifies hash, signature, signer, key id, and canonicalization.
Start adding cryptographic verification to your AI agent actions in minutes.
Now with manual verification, production proof, and automatic webhook verification.