Skip to main content

AgentRisk Python SDK

Official Python client for AgentRisk — pre-trade token risk scoring for Base Network, paid per call via the x402 protocol.

Installation

pip install agentrisk

Usage

import asyncio
from agentrisk import AgentRisk

async def main():
    risk = AgentRisk(private_key="your_base_wallet_private_key")
    result = await risk.scan("0xTokenAddressHere")
    print(result["verdict"])
    print("Risk score:", result["risk_score"], "/", result["risk_level"])
    print("Safe to trade:", result["risk_score"] <= 45)

asyncio.run(main())

What it checks

  • Honeypot detection
  • Deployer wallet freshness
  • Brand impersonation
  • LP lock status (cross-verified on-chain)
  • Ownership renouncement, mint/pause functions
  • Holder concentration

Requirements

Your wallet needs a small amount of USDC (0.15 per scan) and ETH (for gas) on Base.

Links

Download files

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

Source Distribution

agentriskm2m-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

agentriskm2m-1.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file agentriskm2m-1.0.0.tar.gz.

File metadata

  • Download URL: agentriskm2m-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for agentriskm2m-1.0.0.tar.gz
Algorithm Hash digest
SHA256 177b5366289008b67c4769c9c85a47fd4d32eefcff18c04111ccc08eacfed661
MD5 0ff0cf9dc38f345ff8a8c91ded3f2d37
BLAKE2b-256 24b908da0cd5e7bc44d113b21399753c119bc59d94b15c7b8cf005b49702345d

See more details on using hashes here.

File details

Details for the file agentriskm2m-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: agentriskm2m-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for agentriskm2m-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c4f1cee7e198b9a64e569e3659f22f9068ae39474ec8e7540b362342d2b8583
MD5 24e8e2bbeb1a97db755784e338cd70f5
BLAKE2b-256 611fd80c4c0a6cd16adbd0671f4b15ce2dc24329ef792fb47118e03727f78b69

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

This release

1.0.0 This release

2 files

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