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.1.0.tar.gz (3.0 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.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentriskm2m-1.1.0.tar.gz
Algorithm Hash digest
SHA256 92c9e363067e49d189e9343fc0c14c4c4858337d204585dff2a6c0fe4d181ac7
MD5 33b5c081bd9d18ef91ac69c06466dc65
BLAKE2b-256 78c4b217070a1e010d5b349ea58154eccedb989e5ec4769e02a12e4a4afd8be6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentriskm2m-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10f87168a60db2c95c87c859b0902345f93174a4d94c129177c61ff23f9ab200
MD5 3fce18893b3444eaf6e630b3fc96d467
BLAKE2b-256 65a585dbb273e15f3f4f0d3b4fab87d800a8510d69323f9131dc18f80c659d33

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

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