Skip to main content

Quickstart

MandateZ ships first-class SDKs for both TypeScript and Python. They produce byte-identical Ed25519 signatures, so an event signed from Python verifies cleanly from TypeScript and vice versa.

Install

1. Generate an Agent Identity

Every agent gets a unique ID and Ed25519 keypair:
Save identity.private_key in your secret manager immediately. It is not recoverable if lost. Never commit it to source control.

2. Create a Client

The client wires together signing, policy, and transport:

3. Track an Action

One method call — signed, validated, and emitted:

4. Add a Policy (Optional)

Block or flag actions before they execute:

5. Verify an Event

Anyone with the public key can verify the signature:

Python: Framework Integrations

The Python SDK ships with callbacks for the two most popular agent frameworks:
Install the matching extra once:

Next Steps