Docs

Welcome

A zero-knowledge policy layer that lets AI agents move money only after proving they followed your private rules.

What is Zentra?

Let AI agents move money — only after they prove they followed your rules. A zero-knowledge policy layer for autonomous agents on Stellar: the rules stay private, compliance is provable.

Zentra lets developers build AI agents that can trigger Stellar payments only after proving, in zero knowledge, that they followed private, user-defined policies. A Soroban contract verifies the proof, checks it against the agent's authoritative on-chain state, settles the payment, and emits a verifiable receipt.

Let agents act. Make them prove it. — No proof, no payment.

The Zentra landing — proof-gated agent payments, live on Stellar testnet

▶ Watch the 2-minute demo — connect a wallet, generate a real proof, and anchor it on-chain.

Is this for you?

The one question

Agentic finance already has answers for who is this agent? (identity) and what is it allowed to do? (permissions). Zentra answers the third:

Did this specific action, right now, actually obey the rules — without exposing the private details?

Proof replaces surveillance. Every action becomes a proof, every proof a receipt, every receipt reputation.

Documentation map

Start Here

Quickstart

  • Quickstart — zero to a verified, proof-gated payment on Stellar testnet, in one sitting.

Concepts

Guides

How it works

  • Overview — the end-to-end proof → verify → settle loop.
  • The circuit — 14 public inputs, 7 private, six constraint families.
  • On-chain verification — Groth16/BN254 inside Soroban, and its cost.
  • Poseidon on-chain — CAP-0075 host Poseidon for the receipt id.
  • State binding — how prev-state makes over-spend impossible.
  • Why now — the Protocol 25/26 upgrades that made this feasible.

Reference

  • SDK — @zentra/sdk: client, GuardedAgent, types.
  • CLI — zentra: commands, flags, config.
  • Contract — ZentraVerifier: methods, state machine, events.
  • Circuit — payment_policy.circom: signals and build.
  • Serialization — @zentra/serialization: the byte-exact codec.
  • Errors — error codes 1–8 with symptom and cause.
  • Receipt schema — ActionReceipt fields and the receipt JSON.