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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92c9e363067e49d189e9343fc0c14c4c4858337d204585dff2a6c0fe4d181ac7
|
|
| MD5 |
33b5c081bd9d18ef91ac69c06466dc65
|
|
| BLAKE2b-256 |
78c4b217070a1e010d5b349ea58154eccedb989e5ec4769e02a12e4a4afd8be6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10f87168a60db2c95c87c859b0902345f93174a4d94c129177c61ff23f9ab200
|
|
| MD5 |
3fce18893b3444eaf6e630b3fc96d467
|
|
| BLAKE2b-256 |
65a585dbb273e15f3f4f0d3b4fab87d800a8510d69323f9131dc18f80c659d33
|