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
Metadata
Release files for agentriskm2m 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentriskm2m-1.1.0.tar.gz | 3.0 kB | Without provenance | Details for agentriskm2m-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentriskm2m-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for agentriskm2m-1.1.0-py3-none-any.whl |
Total release size: 6.6 kB
Release files / agentriskm2m-1.1.0.tar.gz
| Download URL | agentriskm2m-1.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92c9e363067e49d189e9343fc0c14c4c4858337d204585dff2a6c0fe4d181ac7
|
|
BLAKE2b-256 checksum How to use checksums |
78c4b217070a1e010d5b349ea58154eccedb989e5ec4769e02a12e4a4afd8be6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / agentriskm2m-1.1.0-py3-none-any.whl
| Download URL | agentriskm2m-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10f87168a60db2c95c87c859b0902345f93174a4d94c129177c61ff23f9ab200
|
|
BLAKE2b-256 checksum How to use checksums |
65a585dbb273e15f3f4f0d3b4fab87d800a8510d69323f9131dc18f80c659d33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for agentriskm2m 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.