Skip to main content

CrewAI tool for counterparty risk scoring in agentic commerce via Revettr.

Project description

crewai-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 crewai-revettr

# For x402 auto-payment support:
pip install crewai-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 crewai_revettr import RevettrScoreTool

tool = RevettrScoreTool()

# Score by domain
result = tool.run(domain="uniswap.org")

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

# Score by company name (sanctions screening)
result = tool.run(company_name="Acme Corp")

# Combine multiple signals for higher confidence
result = tool.run(
    domain="merchant.com",
    wallet_address="0xabc...",
    company_name="Merchant Inc",
)

Use with CrewAI Agents

from crewai import Agent
from crewai_revettr import RevettrScoreTool

compliance_agent = Agent(
    role="Payment Compliance Officer",
    goal="Verify counterparty risk before approving payments",
    tools=[RevettrScoreTool()],
)

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

crewai_revettr-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_revettr-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 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 crewai_revettr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2dba1f7bf0a8678e4d19307664e94b687ab269f28cfc56c52ed6ebef3dea1cc2
MD5 9df117e65f6ea93c6d298b28933660ce
BLAKE2b-256 bbbf31394aab7e55e3dfcfb46e2b7765732fcc7d1eba19146d88cac793a53fc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_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 crewai_revettr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5d19bec7b02892c9e4431239fcd7610f0e7505c4e4c4823aea24a6a40d014d3
MD5 7151ab0df2b3f7e3bf442750ac4e1dc1
BLAKE2b-256 693f5bac7f0282c43d83b82891c5cd5d1dea4844873fc27d7cdcc45f561c9625

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