Skip to main content

AutoGen tools for Revettr counterparty risk scoring in agentic commerce.

Project description

autogen-revettr

Score counterparties 0-100 before sending payments in agentic commerce.

Covers domain intelligence, IP reputation, wallet history, and sanctions screening (OFAC/EU/UN). Uses the Revettr x402-native API -- no API keys needed, just a funded wallet.

Installation

pip install autogen-revettr

# For x402 auto-payment support:
pip install autogen-revettr[x402]

Environment Variables

Variable Required Description
REVETTR_WALLET_KEY Optional EVM private key for x402 auto-payment ($0.01 USDC per score on Base)

Usage

from autogen_revettr import revettr_score

# Use directly
result = await revettr_score(domain="uniswap.org")

# Score by wallet address
result = await revettr_score(wallet_address="0x1234...", chain="base")

# Combine multiple signals
result = await revettr_score(
    domain="merchant.com",
    wallet_address="0xabc...",
    company_name="Merchant Inc",
)

Use with AutoGen Agents

from autogen_agentchat.agents import AssistantAgent
from autogen_revettr import revettr_score

agent = AssistantAgent(
    name="compliance_officer",
    model_client=model_client,
    tools=[revettr_score],
    system_message="Verify counterparty risk before approving payments.",
)

License

MIT

Project details


Download files

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

Source Distribution

autogen_revettr-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

autogen_revettr-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autogen_revettr-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for autogen_revettr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d2eda654f76ca1c90059f7ede8c14ba066816fc9194e2881067adc31fb12f3a
MD5 8e780b955def2eb8336c14c886aeb918
BLAKE2b-256 37db9dd65f19ec047d2d39fc14dd05b311d37b67955f27f1375f6f0089bdbe7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autogen_revettr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for autogen_revettr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51b2693ed77c619847f668f0166cb5414940e16e662783798d885120e6bd6774
MD5 4a6b74208748cc59122db64b00686371
BLAKE2b-256 c5b5aea95cda78802ff13f33f45994ae5c2155df1028847c184743c063a89518

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 Pingdom Monitoring Sentry Error logging StatusPage Status page