agentseal-sdk
Tamper-proof audit trails for AI agents. Every action is cryptographically chained — tamper with one record and the entire chain breaks.
Install
pip install agentseal-sdk
Quickstart
from agentseal import Seal
seal = Seal(api_key="as_sk_...")
# Record an action
seal.record(
agent="my-bot",
action="email:send",
params={"to": "user@example.com"},
reasoning="User requested password reset",
)
# Query the audit trail
entries = seal.query(agent="my-bot")
# Verify chain integrity
result = seal.verify(agent="my-bot")
print(result) # {"valid": True, "entries_verified": 1}
API
Seal(api_key, base_url=DEFAULT)
Create a client. Supports with Seal(...) as seal: context manager.
seal.record(agent, action, params, reasoning, authorized_by)
Record an agent action to the tamper-proof chain. Returns {id, sequence, entry_hash, parent_hash}.
seal.query(agent, action_type, since, until, limit)
Query recorded entries with optional filters. Returns a list of entry dicts.
seal.verify(agent)
Verify hash chain integrity. Returns {"valid": True, "entries_verified": N} or {"valid": False, "broken_at_sequence": N, "reason": "..."}.
@seal.track(agent, action)
Decorator to auto-record function calls.
@seal.track(agent="my-bot")
def send_email(to, subject, body):
... # function runs, then the call is recorded automatically
Get an API key
Sign up at agentseal.io
License
MIT
Metadata
Release files for agentseal-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentseal_sdk-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for agentseal_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentseal_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agentseal_sdk-0.1.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / agentseal_sdk-0.1.0.tar.gz
| Download URL | agentseal_sdk-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d9f69b2ac3a3a8069a542c6a08f0b1375af5cccea9a810e5f52d456e060e695
|
|
BLAKE2b-256 checksum How to use checksums |
44a443633e628c282955474015f4ccdf85c5bc7059344afc4dd3731388a6dd98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / agentseal_sdk-0.1.0-py3-none-any.whl
| Download URL | agentseal_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffea2e9f62b486e4a9399a24819e0663ed96d7370694010f89e21fa1d531a877
|
|
BLAKE2b-256 checksum How to use checksums |
0180b7eb067ccac5ad9bea95e70f85ab271f2336c4de2f98f2de9ef4ebe71739
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for agentseal-sdk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.