Skip to main content

agentstamp

Identity lifecycle SDK for Python AI agents. Works with CrewAI, AutoGen, LangGraph, and any Python agent framework.

Register your agent, mint trust stamps, send heartbeats, and auto-renew — in 3 lines.

Install

pip install agentstamp

Quick Start

from agentstamp_crewai import AgentStampLifecycle

lifecycle = AgentStampLifecycle(
    wallet_address="0xYourWalletAddress",
    name="MyAgent",
    description="What your agent does",
    category="research",
)
lifecycle.start()  # stamps + registers + heartbeats + auto-renew

That's it. Your agent now has:

  • A cryptographic identity stamp (Ed25519)
  • A public registry listing
  • Heartbeat-based uptime reputation
  • Auto-renewal before expiry

Verify Other Agents

trust = lifecycle.check_trust("0xOtherAgentWallet")
if trust.get("trusted"):
    print(f"Verified: {trust['agent']['name']} (score: {trust['reputation']['score']})")
else:
    print("Unverified agent — proceed with caution")

Gate Functions Behind Verification

from agentstamp_crewai import stamp_verified

@stamp_verified(lifecycle)
def sensitive_operation(data: str) -> str:
    """Only runs if the agent is AgentStamp verified."""
    return process(data)

CrewAI Integration

from crewai import Agent, Task, Crew
from agentstamp_crewai import AgentStampLifecycle

# Start lifecycle
lifecycle = AgentStampLifecycle(
    wallet_address="0x...",
    name="ResearchBot",
    description="Finds and summarizes papers",
    category="research",
)
lifecycle.start()

# Create CrewAI agent as normal
agent = Agent(
    role="Researcher",
    goal="Find relevant papers",
    backstory="Expert research assistant",
)

# Check trust before collaborating with other agents
trust = lifecycle.check_trust("0xCollaboratorWallet")

Configuration

Parameter Default Description
wallet_address required Your agent's wallet address (EVM or Solana)
name required Agent display name
description required What your agent does
category "other" research, trading, social, infrastructure, etc.
heartbeat_interval 300 Seconds between heartbeats
renew_before_days 2 Days before expiry to auto-renew
verbose True Print lifecycle logs

Badge

Add a trust badge to your README:

![AgentStamp](https://agentstamp.org/api/v1/badge/0xYourWallet)

Links

Metadata

Release files for agentstamp 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentstamp 1.1.0
File Size Uploaded Provenance Actions
agentstamp-1.1.0.tar.gz 5.9 kB Without provenance Details for agentstamp-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentstamp 1.1.0
File Interpreter ABI Platform Actions
agentstamp-1.1.0-py3-none-any.whl Python 3 none any Details for agentstamp-1.1.0-py3-none-any.whl

Total release size: 11.7 kB

Release files / agentstamp-1.1.0.tar.gz

Download URL agentstamp-1.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bdffed80eee298590f765c268a0bb877466c2d19ee4d42bf0fa7ac4c84f0c02a
BLAKE2b-256 checksum
How to use checksums
732a747b073f1a69b4fbff1db1ce11b63bb842350c11225903522a9041788c29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / agentstamp-1.1.0-py3-none-any.whl

Download URL agentstamp-1.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42256240c9eafaa5f9e5a697a7c1eaaddf2dacb872f300c9da13b35b54f733be
BLAKE2b-256 checksum
How to use checksums
4bf3d50fb6402c9c0acd9b04ae8984a4faa2550eb0feff3d5c8d6d997631967d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for agentstamp 1.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page