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)

Metadata

Release files for agentstamp 1.2.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.2.0
File Size Uploaded Provenance Actions
agentstamp-1.2.0.tar.gz 5.9 kB Without provenance Details for agentstamp-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / agentstamp-1.2.0.tar.gz

Download URL agentstamp-1.2.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7c81502315044034d72f77978a011864100fa49dd5ed6fef716398684ebf1f5f
BLAKE2b-256 checksum
How to use checksums
f786e0281d973b24a5d77596e228bec79934b435eb8c06d2eaf18e73640efff5
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.2.0-py3-none-any.whl

Download URL agentstamp-1.2.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c89e962fa713a64c0a3f4958b9595556eff27ea1e9102dd668ad23ee6570e18c
BLAKE2b-256 checksum
How to use checksums
c9f8151d830a2ba8b7ebbbbf725c088f326a3d4bd73fa54cb881011732865efe
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.2.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