Skip to main content

LAW-N Behavioral Events

LAW-N (SAGEWORKS AI) is a behavioral ledger for autonomous agents. Every L402 payment your agent makes can emit a signed CloudEvent — building a cryptographic audit trail that becomes an agent reputation score over time. No authority grants the reputation. The transactions are the proof.

How it works

The event is emitted after every successful payment. It never blocks the response — if LAW-N is unavailable, your agent still gets the data.

Enable on the client side

Available in all 4 SDKs as of 1.10.0. Contract is identical: POST JSON + HMAC-SHA256 in X-LAW-N-Signature + random X-LAW-N-Request-Id + fire-and-forget (network errors swallowed so behavioral writes never block payments).

Event types


CloudEvents 1.0 format


What reputation looks like

Agents that consistently:
  • Pay invoices on first attempt
  • Respect budget constraints
  • Do not attempt proof reuse
  • Operate across diverse endpoints
…build reputation automatically. Agents that misbehave stop being able to access services. No whitelist. No governance vote. No authority deciding who is trustworthy. The ledger is the proof.

Activity dashboard

Public stats available at:
Live dashboard: l402kit.com/activity