Agents
Portfolio Checkup
A health check for everything in a wallet, against your rules if you have them.
Reads a wallet's holdings live from the chain, runs the CoinGraph check on each tracked token, and measures concentration, how many days each position would take to exit at normal volume, and contract risks. Returns a health grade from A to F with fixes ranked by impact. Give it a policy (minimum liquidity, maximum holder concentration, maximum funding, maximum exchange inflow, mint authority, maximum exit slippage, maximum share of market cap) and it also tests every holding against every rule — exit slippage with a live DEX quote for the actual position — and flags each holding COMPLIANT or BREACH, with an overall flag and a proof id per holding, ready to attach to a governance vote.
When to use it #
- A wallet app shows a health score for the user's holdings.
- A person wants to know what to fix in a wallet.
- A DAO or fund must show its holdings meet its written rules, for example before a governance vote: pass a policy.
Built for: AI wallets · Funds & desks · DAO treasuries
How it decides #
- Reads the wallet's balances live and checks every tracked token.
- Starts at 100 and deducts for concentration (stablecoins excluded), positions that fail or need caution, positions that would take more than 3 days to exit at 5% of daily volume, and value in untracked tokens.
- Grades: A ≥ 85, B ≥ 70, C ≥ 55, D ≥ 40, F below. Lists the fixes that matter most.
- With a policy, every tracked holding is tested against every rule, each reported pass, fail or unknown. Exit slippage uses the cheaper of a live on-chain sell quote and the exchange order books. A holding that breaches lowers the score and becomes a fix.
Verdicts #
| Verdict | Meaning |
|---|---|
| A | Healthy. |
| B | Good, with something to improve. |
| C | Needs attention. |
| D | Several problems. |
| F | Serious problems. |
Input #
/v1/agents/portfolio-checkupBody
chain"eth" | "bsc" | "btc" | "sol" | "ada"requiredChain: eth (Ethereum), bsc (BNB Chain), btc (Bitcoin), sol (Solana), ada (Cardano)addressstringrequiredpolicyobjectoptionalOptional: the rules every holding must pass; each is reported pass, fail or unknown per holding, with COMPLIANT / BREACH / INCOMPLETE per holding and overallpolicy.min_depth_usdnumberoptionalMinimum liquidity within 2% of the price, in USDpolicy.max_top10_holder_pctnumberoptionalMaximum share of supply held by the top 10 holders, in percentpolicy.max_funding_pctnumberoptionalMaximum futures funding rate per 8 hours, in percentpolicy.max_exchange_inflow_usdnumberoptionalMaximum net USD moved onto exchanges in 24 hourspolicy.allow_mint_authoritybooleanoptionalWhether a contract that can still mint or freeze is acceptablepolicy.max_exit_slippage_pctnumberoptionalLargest acceptable price impact to sell the whole positionpolicy.max_position_pct_of_market_capnumberoptionalLargest acceptable position as a share of the token's market cap, in percent
Examples #
Real runs, captured from the live service.
An Ethereum wallet, no policy
curl -X POST "https://coingraph.ai/api/v1/agents/portfolio-checkup" \
-H "content-type: application/json" \
-d '{"chain":"eth","address":"0x9fc3da866e7df3a1c57ade1a97c9f00a70f010c8"}'{
"object": "agent_run",
"id": "run_0c795ae44b964a03d36e",
"as_of": "2026-10-06T23:23:21.328Z",
"data": {
"run_id": "run_0c795ae44b964a03d36e",
"agent": "portfolio-checkup",
"agent_version": "1.0.0",
"as_of": "2026-10-06T23:23:21.328Z",
"verdict": "A",
"summary": "Grade A (88/100) for $106.3K across 2 holdings. Top fix: 100% of the non-stablecoin value is in ETH. Concentrated, but in the most liquid asset in crypto.",
"result": {
"chain": "eth",
"address": "0x9fc3da866e7df3a1c57ade1a97c9f00a70f010c8",
"label": "unlabelled",
"total_usd": 106257,
"score": 88,
"grade": "A",
"concentration_hhi": 1,
"stablecoin_share_pct": 0,
"positions": [
{
"symbol": "ETH",
"id": "ethereum",
"usd": 106207.32,
"share_pct": 100,
"check": "proceed",
"contract": "unassessed",
"exit_days": 0,
"evaluation_id": "eval_99ecc6f3e9b489b59ba5",
"concern": null
},
{
"symbol": "USDT",
"id": "tether",
"usd": 50.02,
"share_pct": 0,
"check": "caution",
"contract": "ok",
"exit_days": 0,
"evaluation_id": "eval_9760e81355732b44ba8e",
"concern": "4 transfer(s) ≥ $5M to exchanges in 24h (largest $20M → binance)"
}
],
"other_positions": [],
"fixes": [
"100% of the non-stablecoin value is in ETH. Concentrated, but in the most liquid asset in crypto.",
"USDT is rated caution: 4 transfer(s) ≥ $5M to exchanges in 24h (largest $20M → binance)"
]
},
"reasons": [
{
"text": "100% of the non-stablecoin value is in ETH. Concentrated, but in the most liquid asset in crypto.",
"source": "coingraph:evaluate + nownodes"
},
{
"text": "USDT is rated caution: 4 transfer(s) ≥ $5M to exchanges in 24h (largest $20M → binance)",
"source": "coingraph:evaluate + nownodes"
}
],
"warnings": [],
"links": {},
"disclaimer": "CoinGraph never trades, holds funds or gives financial advice. The caller decides.",
"hash": "681a913da44d3e4ad20e5af91ad226aad1dba285bf315659bdc9de74d22c4efa",
"verify_url": "https://coingraph.ai/api/v1/verify/run_0c795ae44b964a03d36e"
},
"sources": []
}Result fields #
Inside data.result:
| Field | Contents |
|---|---|
score, grade, total_usd | The health score and wallet value. |
concentration_hhi, stablecoin_share_pct | How concentrated the wallet is. |
positions[] | Each holding: share, check, contract rating, days to exit. |
other_positions[] | Holdings with no check: stablecoins, which are valued but outside the check, and tokens outside the top 100. Each says why in why_not_checked. |
fixes[] | What to change, most important first. |
positions[].policy | With a policy: status (COMPLIANT, BREACH or INCOMPLETE) and every rule's result and detail. Each holding keeps its evaluation_id as its proof. |
policy_check | With a policy: the overall status, the policy, holdings_checked and breaches[]. |
Note
policy: min_depth_usd, max_top10_holder_pct, max_funding_pct, max_exchange_inflow_usd, allow_mint_authority, max_exit_slippage_pct and max_position_pct_of_market_cap. For example { "chain": "eth", "address": "0x9fc3…10c8", "policy": { "min_depth_usd": 500000, "max_exit_slippage_pct": 1, "allow_mint_authority": false } }. A rule that cannot be measured is unknown and makes the status INCOMPLETE, never COMPLIANT. Native coins pass the mint rule, since no admin can mint them.Use it from Claude #
With CoinGraph connected, ask in plain words, or call the tool directly:
{
"name": "run_portfolio_checkup",
"arguments": {
"chain": "eth",
"address": "0x9fc3da866e7df3a1c57ade1a97c9f00a70f010c8"
}
}The proof for any run: https://coingraph.ai/proof/run_…