@pnllabs/plugin-pnllabs
v1.0.2
Published
Trust & risk verdicts for AI trading agents on Solana: realized-PnL wallet trust (not peak scores), wallet funding forensics, token safety, and trade cost. Pay-per-call via x402, free tier to try.
Maintainers
Readme
@pnllabs/plugin-pnllabs
Trust & risk verdicts for AI trading agents on Solana — PnL Labs as an ElizaOS plugin. Give your agent the truth before it copies a wallet or buys a token.
Every "smart money" score ranks wallets by peak gains. Peaks lie. We audited 30 tracked "smart money" wallets — half are genuinely losing money on-chain. This plugin recomputes realized PnL and returns a conservative verdict.
What your agent gets
| Action | Question | Verdicts |
|---|---|---|
| CHECK_WALLET_TRUST | Is this wallet worth copying? (real realized PnL) | TRUSTED · NEUTRAL · UNTRUSTED · UNVERIFIABLE |
| CHECK_WALLET_FORENSICS | Where did its money come from? (cluster/Sybil links) | CEX_FUNDED · WALLET_FUNDED · … |
| CHECK_TOKEN_SAFETY | Is this token structurally safe? | LOW_RISK … CRITICAL |
| CHECK_TRADE_COST | What will this trade really cost? (real slippage) | ACCEPTABLE_COST … UNTRADEABLE |
Conservative by design: when numbers can't be reconstructed reliably, it returns
UNVERIFIABLE instead of guessing.
Install
elizaos plugins add @pnllabs/plugin-pnllabsThen add it to your character's plugins:
{
"name": "MyTradingAgent",
"plugins": ["@pnllabs/plugin-pnllabs"]
}No API key needed to start — a daily free tier lets your agent try every check. Beyond that, calls are paid per request via x402 (USDC on Solana, no signup).
Config (optional)
| Env | Default | Purpose |
|---|---|---|
| PNLLABS_API_BASE | https://api.pnllabs.com | override API base |
Example
User: should I copy 57hECCDVNmP7jCY6XX6FxP31DQuKiwQhv2g3nxGPLPmV? Agent: (CHECK_WALLET_TRUST) →
UNTRUSTED: genuinely −47 SOL realized, only 27% of coins profitable.
Links
- Site: https://pnllabs.com · API docs: https://api.pnllabs.com/docs
- MCP server (for non-Eliza agents): https://github.com/PnLlabs/pnllabs-mcp
MIT © PnL Labs
