pip install sakshi-sdk) and a
Sakshi deployment you can reach. See the Quickstart if you have
neither.
1
Initialize the client
An ingest API key is enough to register an agent. Capture is fail-open by
default, which is what you want in production: governance must never take
the host agent down.
2
Register the agent
register is synchronous and idempotent by name, so it is safe to call on
every startup: the second call returns the existing agent rather than
creating a duplicate. Give it an accountable owner and, where you can, a
blast radius describing what the agent can touch.autonomy_tier is the declared autonomy level (L0 through L4) and is a
registry attribute only. The limits that are actually enforced live in the
agent’s autonomy envelope. blast_radius is a set
of boolean facts the envelope engine can match rules against.owner_email matters. An agent with no accountable owner is an orphan,
and Sakshi surfaces orphans (GET /api/v1/agents/orphans) so they get an
owner or get suspended.3
Activate the agent
A freshly registered agent lands in
draft. Activation flips its status to
active, and it is a governance act, so it needs an OIDC JWT, not an ingest
key. This separation is deliberate: the credential that lets an agent write
evidence must not also be able to promote an agent into production.4
Verify an A2A identity (optional)
If the agent presents an A2A Signed Agent Card,
Sakshi verifies the Ed25519 signature over the card’s canonical bytes and
records the agent as identity-verified. A tampered card fails verification.
You can instead record a declared Entra or workload identity, which is
marked unverified honestly: a claim is not a proof.The verdict is attested, and the agent then carries an
identity_verified flag with its identity_source and identity_ref.
Sakshi verifies an external identity rather than inventing one.Next steps
Witness a decision
Record what the agent decides on the tamper-evident chain.
Bound autonomy
Publish an envelope so the agent’s actions route to auto, review, or block.
Know Your Agent
The registry model: owners, tiers, provenance, and verifiable identity.
Python SDK
Every client method, in full.

