SDK-only receipt flow:
- Install SDK
- Wrap agent execution
- Generate signed receipt
- Verify with SDK locally or VerifyAgent publicly
- Move to Commercial API for hosted/high-volume verification
For public paste-and-verify receipt verification, use VerifyAgent: https://github.com/commandlayer/verifyagent
npm install @commandlayer/sdk
pip install commandlayerimport { createClient } from "@commandlayer/sdk";
const client = createClient({ actor: "quickstart-ts" });
const response = await client.summarize({
content: "CommandLayer makes agent execution verifiable.",
style: "bullet_points"
});
console.log(response.receipt.result?.summary);
console.log(response.receipt.metadata.receipt_id);from commandlayer import create_client
client = create_client(actor="quickstart-py")
response = client.summarize(
content="CommandLayer makes agent execution verifiable.",
style="bullet_points",
)
print(response["receipt"]["result"]["summary"])
print(response["receipt"]["metadata"]["receipt_id"])import { verifyReceipt } from "@commandlayer/sdk";
await verifyReceipt(response.receipt, { publicKey: "ed25519:BASE64_PUBLIC_KEY" });from commandlayer import verify_receipt
verify_receipt(response["receipt"], public_key="ed25519:BASE64_PUBLIC_KEY")- Local SDK verification: canonicalization + SHA-256 + Ed25519 signature checks.
- ENS-based key resolution: resolve signer keys via ENS helpers.
- Public verification UI: use external VerifyAgent repository.
Use CommandLayer Commercial when you need hosted runtime integrations, paid API/x402 flows, or high-volume verification infrastructure.