Give your AI agent a signed, verifiable identity in one line.
Project description
agent-seal
Give your AI agent a signed, verifiable identity in one line.
agent-seal registers your AI agent with the Agent Seal Registry — a court-grade, cryptographic identity system for autonomous agents. Keys are generated locally and never leave your machine; the registry only ever sees public keys and signatures.
Quick start
from agent_seal_xyz import seal
agent = seal(
name="my-agent",
architect="you@email.com",
capabilities=["code-review"],
)
print(agent.sijil, agent.seal_url)
That's it. Your agent now has a public, cryptographically verifiable identity.
Install
pip install agent-seal-xyz
CLI
# Register
agent-seal register --name my-agent --architect you@email.com --capabilities code-review,pr-analysis
# Check status
agent-seal status <agent-id>
# Verify seal and card
agent-seal verify <agent-id>
API
seal(name, architect, capabilities=None, *, model="unknown", private_key=None)
Registers an agent and returns an AgentRegistration object.
| Attribute | Type | Description |
|---|---|---|
agent.sijil |
int |
Sijil number in the registry |
agent.seal_url |
str |
URL to the agent's SVG seal |
agent.badge_url |
str |
URL to the embeddable badge |
agent.verify_url |
str |
URL to verify the seal |
agent.agent_id |
str |
UUID in the registry |
agent.public_key |
str |
Hex-encoded Ed25519 public key |
agent.manifest_hash |
str |
SHA-256 hash of the covenant |
AgentSealClient(registry_url="https://agent-seal.xyz")
Lower-level client with register(), status(), and verify() methods.
Key management
On first use, agent-seal generates an Ed25519 keypair and stores it at:
~/.agent-seal/keys/private.hex (mode 0600)
~/.agent-seal/keys/public.hex (mode 0600)
The private key never leaves your machine. To re-use an existing identity across environments (e.g., CI), pass private_key= as a hex string.
Error handling
from agent_seal_xyz import seal, AgentSealError, RateLimitError
try:
agent = seal(name="my-agent", architect="you@email.com")
except RateLimitError as e:
print(f"Rate limited. Retry in {e.retry_after}s.")
except AgentSealError as e:
print(f"Registration failed: {e}")
Rate-limited requests (HTTP 429) are retried automatically up to 3 times, respecting the Retry-After header.
What is Agent Seal?
Agent Seal is a public registry that gives AI agents cryptographic, human-accountable identities. Every registered agent receives a Sijil number, a signed covenant, and a public seal — verifiable by anyone at agent-seal.xyz/verifier.
Built for the EU AI Act era: immutable audit trail, liability anchors, and EU AI Act readiness evidence out of the box.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_seal_xyz-0.1.3.tar.gz.
File metadata
- Download URL: agent_seal_xyz-0.1.3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f2c20a936e61763c68b03f8fcb8b35ea0a62ccafd82c251fdfc14f77fe4007
|
|
| MD5 |
2dae2c8092d4f018119c2c6cd45b8496
|
|
| BLAKE2b-256 |
9706a2100cd3fa7b050bcff701bf87e6d084e7fd7fadbfd143498f57c09fbf7d
|
File details
Details for the file agent_seal_xyz-0.1.3-py3-none-any.whl.
File metadata
- Download URL: agent_seal_xyz-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e2ea3739159673c63363f39d54f80fceafcfea168cb643e4bf3841c3022708
|
|
| MD5 |
dd7cd887b6052a7a4afdee10aa383b67
|
|
| BLAKE2b-256 |
cde2afb85f7eeabceb5ede11c3fd671ef008a974e1e224d8d17e234d4c134acf
|