Skip to main content

attestify-autogen

Governed AI loop execution for AutoGen — signed receipts, audit trails, and x402 payments on Base.

Installation

pip install attestify-autogen

Quick Start

from attestify_autogen import register_attestify_functions
from autogen import AssistantAgent, UserProxyAgent
import os

assistant = AssistantAgent(
    name="assistant",
    llm_config={"config_list": [{"model": "gpt-4o", "api_key": os.environ["OPENAI_API_KEY"]}]},
    system_message=(
        "You are an operations agent with access to the Attestify governed execution layer. "
        "Always confirm the loop_id and cost from any attestify_run_loop call."
    ),
)

user_proxy = UserProxyAgent(
    name="user",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=5,
)

register_attestify_functions(
    assistant=assistant,
    executor=user_proxy,
    api_key=os.environ["ATTESTIFY_API_KEY"],
)

user_proxy.initiate_chat(
    assistant,
    message="Summarise the latest AI agent governance trends and give me the receipt ID."
)

Available Functions

Function Description Plan
attestify_run_loop Submit a task to the governed loop router All
attestify_get_dashboard Run count, quota, plan tier, recent receipts Builder+
attestify_get_recent_loops List recent loop receipts All
attestify_get_receipt Retrieve a verified receipt by loop_id All
attestify_get_control_tower Enterprise governance data & cross-tenant visibility Enterprise

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

attestify_autogen-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

attestify_autogen-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file attestify_autogen-0.1.0.tar.gz.

File metadata

  • Download URL: attestify_autogen-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for attestify_autogen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f5c8901bb2e4caca31830f69c39199c0c8cd6568a1f8cd2c2c445f8805d6e7a
MD5 30ef06bd72799a6503b2dbb7636b2393
BLAKE2b-256 da13b327c6f156761b81c435476d5c6a5c6732f25508a0019e48606385e961ad

See more details on using hashes here.

File details

Details for the file attestify_autogen-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for attestify_autogen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d09ed9314c99c818c9a2dda22f296b90a6e7e6e3f357018a5ae48a068d83a14c
MD5 307d51574fa3b2c3b11f3b21f3030e05
BLAKE2b-256 b95d25a5fb1bfd502a0af4ea47572d3a8ed1d234c767ecac8481955115b51066

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page