Python reference implementation of the SEAI Identity Standard
This is the reference implementation of the SEAI Identity Standard — a hardware-rooted identity framework for autonomous AI systems.
It provides:
- Birth certificate generation — create signed identity documents for AI agents
- Birth certificate verification — verify the signature and validity of a birth certificate
- Hardware attestation — challenge-response protocol for proving hardware identity
- Identity firewall — non-bypassable verification before every action
- Revocation checking — verify an agent has not been revoked
pip install seai
Or from source:
git clone https://github.com/Willbass65/SEAI-Reference-Implementation.git cd SEAI-Reference-Implementation pip install -e .
from seai import BirthCertificate, SCA # Create a Sovereign Certificate Authority sca = SCA.generate() # Create a birth certificate for an AI agent bc = BirthCertificate( agent_id="agent-001", hardware_id="tpm2-serial-12345", manufacturer_id="MFR-001", birth_date="2026-08-08T12:00:00Z", public_key="BASE64_PUBLIC_KEY", authority_scope=0, lineage=[] ) # Sign the birth certificate signed_bc = sca.sign(bc) print(signed_bc.to_json())
from seai import BirthCertificate, Verifier verifier = Verifier(trusted_sca_keys=[sca.public_key]) is_valid = verifier.verify_birth_certificate(signed_bc) print(f"Valid: {is_valid}")
from seai import IdentityFirewall firewall = IdentityFirewall(verifier=verifier) # Check if an agent is allowed to perform an action result = firewall.check( birth_certificate=signed_bc, action="read_file", resource="/etc/passwd" ) if result.allowed: print("Action allowed") else: print(f"Action denied: {result.reason}")
Apache 2.0 — see LICENSE
See CONTRIBUTING.md
SEAI Reference Implementation — Published by ALBOE USA LLC Authored by William Bassett Jr.