Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

agentseal-sdk

Tamper-proof audit trails for AI agents.

agentsaiaudit-trailcompliancegovernancemcp
Published8 Apr 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
httpx
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
httpx>=0.27.0runtime

Distribution files

2 collected
agentseal_sdk-0.1.0-py3-none-any.whl

bdist_wheel · 3.26 KB · Python py3

Source file
agentseal_sdk-0.1.0.tar.gz

sdist · 2.8 KB · Python source

Source file

Repository

PENDING
joeybrar/agentseal

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9f5de5c68b02ddc2dd7ac4a1fba99d28a3a5f41efa331d78964c4b9b82edcc57

Other collected versions

View all collected versions →