Agents and payments
Agent platforms.
Other agents use Truvian through one HTTP route, /api/platform/v1, with seven tools, one API key and one daily spend cap per platform; the same tools are published as a Coze plugin, a Tencent Cloud Agent Development Platform (ADP) plugin with two public agents, and an Animoca Minds skill. Agents that run their own tools can install Truvian's Model Context Protocol (MCP) server and skills (OpenClaw, Hermes Agent), buy from Truvian's agent on Virtuals' Agent Commerce Protocol (ACP), or find it as ERC-8004 agent 11510.
Where Truvian runs
| Platform | What it is | Link | Status and date |
|---|---|---|---|
| Any HTTP client | the platform route: seven tools, X-Api-Key on the paid ones | /api/platform/v1 | live since 1 Dec 2026 |
| Coze (ByteDance #34) | plugin "Truvian Telegraph Intelligence", seven tools | OpenAPI for import | published 2 Dec; all seven tools passed Coze's test runs with live paid asks |
| Coze Agent Store | agent "Truvian Fact Desk", built on the plugin (bot id 7714722954739597317) | store page (opens once approved) | under review submitted 2 Dec 17:50 UTC, still in Coze's review on 3 Dec |
| Tencent Cloud ADP (Tencent #29) | custom plugin, seven tools, descriptions cut to ADP's 200-character limit | OpenAPI for import | published 2 Dec |
| ADP procurement agent | screens suppliers and fact-checks a sales claim (Multi-Agent mode, five tools) | open the agent | public since 2 Dec |
| ADP security triage agent | triages an alert: CVE, file hash, domain (three tools) | open the agent | public since 2 Dec |
| Animoca Minds (Animoca #57) | skill "Game-Token Intelligence": the token_intel tool | Ethoswarm Bazaar | listed 2 Dec |
| Hermes Agent, OpenClaw | MCP server truvian-telegraph (five tools, stdio) and two SKILL.md skills | integrations/agents | run in Hermes on 30 Nov; not run in OpenClaw |
| Virtuals ACP | Truvian's agent: sells due diligence and single Telegraph answers, and evaluates other agents' deliveries | acp/, /api/intelligence/ledger | running 24/7 since 27 Nov; Virtuals' unlisted sandbox stage |
| ERC-8004 | agent 11510 in the identity registry on Ethereum Sepolia | /agent-registration.json | registered 1 Dec |
The platform route
Every plugin and skill above calls the same route on truvian.xyz. Answers are bought from Telegraph's ranked miners on the Season II devnode and paid in test USDC (USD Coin) from Truvian's escrow on Ethereum Sepolia; the caller pays nothing, and its key's daily cap bounds what Truvian spends for it.
| Method and path | What it does | Key |
|---|---|---|
GET /api/platform/v1 | what is offered: the tools, their routes, the per-call cap, the OpenAPI files | none |
GET /api/platform/v1/openapi/:flavor | the OpenAPI 3.0 document for coze, adp, minds or full; open CORS header, so a platform can import it by URL | none |
GET /api/platform/v1/receipts | today's spend per key label and the latest 50 answers bought through the route: miner, cost, escrow receipt, signal. Never the secret | none |
POST /api/platform/v1/list-intents | the node's live intents, or one intent's params and response fields | none, free |
POST /api/platform/v1/<tool> | the six paid tools below | X-Api-Key or Authorization: Bearer |
The seven tools
| Tool (route) | Input | Returns | Typical cost |
|---|---|---|---|
list_intents (list-intents) | search words, or an exact intent | matching intents with miner counts, or one intent's params and fields (the scored one marked) | free |
ask_intent (ask-intent) | intent, params_json; optional max_usd, recover, miner, question | the typed answer from the top-ranked miner, its evidence record, and one second opinion if the answer failed or lacked the scored field | about $0.01 |
second_opinion (second-opinion) | intent, params_json, exclude_miners, max_usd | one answer pinned to the best-ranked miner not yet asked | about $0.01 |
verify_claim (verify-claim) | claim; optional two_sources | supported contradicted disputed unverified from FACT_CHECK_GENERAL, with reasoning and sources | $0.01 to $0.02 |
counterparty_check (counterparty-check) | name, jurisdiction | proceed review decline from a sanctions screen and a registry record, under Shield's rules | about $0.02 |
payment_check (payment-check) | chain (ethereum, base, optimism, arbitrum), tx_hash, payee, min_usdc; optional deadline | delivered, not_delivered or needs_investigation; the chain decides, Telegraph's transaction lookup is a recorded second opinion | about $0.01; set max_usd to at least 0.10 |
token_intel (token-intel) | token; optional chain, pool, include_news, up to 5 wallets, claims | a token profile rated clear watch risk or NOT_A_TOKEN, and each claim TRUE, FALSE or UNVERIFIED | about $0.03 |
Every reply has the same envelope: ok, tool, a one-line summary citing evidence ids, the tool's result, evidence[] (one record per answer bought: id E1, E2..., miner, rank, cost, escrow receipt, signal URL, latency) and spend (this call, the cap, refusals). Errors are {ok: false, error, message}: 400 INVALID_INPUT, 401 UNAUTHORIZED, 429 SPEND_CAP_REACHED, 504 NO_ANSWER_IN_TIME, 500 TOOL_FAILED.
# free: what is offered, and the intents about sanctions
curl -s https://truvian.xyz/api/platform/v1
curl -s -X POST https://truvian.xyz/api/platform/v1/list-intents \
-H 'content-type: application/json' -d '{"search":"sanction"}'
# paid, with a platform key
curl -s -X POST https://truvian.xyz/api/platform/v1/counterparty-check \
-H 'X-Api-Key: <your key>' -H 'content-type: application/json' \
-d '{"name":"Siemens AG","jurisdiction":"Germany"}'
Keys, caps and time limits
The route exists only when the server has PLATFORM_API_KEYS set. Each platform gets its own key, labelled coze, adp or minds, and its own daily cap. Keys are issued on request.
- Key format
- PLATFORM_API_KEYS="label:secret:dailyCapUsd,..." (secret at least 24 characters; a malformed entry is skipped)
- Matching
- SHA-256 of the presented key, compared in constant time
- Per-call cap
- the smallest of the caller's max_usd, PLATFORM_MAX_CALL_USD (default $0.10) and what is left of the key's day
- Daily cap
- counts calls still in flight; when under $0.01 is left the call gets 429 SPEND_CAP_REACHED; resets at 00:00 UTC
- Survives restarts
- PLATFORM_SPEND_FILE (default .shield-platform-spend.json); every answer also goes to PLATFORM_RECEIPTS_FILE (.shield-platform-receipts.jsonl)
- Before any purchase
- the intent's worst-case price (the most any active miner charges) must fit the call's cap, or nothing is bought
Plugin platforms end a tool call after a fixed time, so a slow miner must not turn a usable answer into a timeout. Each key gets two windows: how long a second opinion may still be started, and how long a miner's answer is waited for. A later answer is still paid for and booked, but treated as none.
| Key | Start a second opinion within | Wait for an answer | Why |
|---|---|---|---|
coze, minds, any other | 15 s | 45 s | Coze ends a tool call at about 60 s |
adp | 8 s | 25 s | ADP returned "context deadline exceeded" at a 45 s answer on 2 Dec; it ends calls between about 26 s and 45 s |
The route itself gives up after 120 s with NO_ANSWER_IN_TIME; anything bought meanwhile is booked against the key and listed in the receipts.
The OpenAPI files
Each platform's package is generated from one tool catalog, so a tool is described once. Regenerate with npx tsx src/scripts/platforms-generate.ts; npx tsx src/scripts/test-platforms.ts fails if a committed package is stale.
| Flavor | Live URL | Repo file | Notes |
|---|---|---|---|
coze | openapi/coze | coze/openapi.json | OpenAPI 3.0.1, seven tools. No security block (Coze sets the key at plugin level; one in the file fails with "missing AuthenticationFunc"), description within 50 characters |
adp | openapi/adp | tencent-adp/openapi.json | OpenAPI 3.0.0, seven tools, each description at most 200 characters; no security block |
minds | openapi/minds | animoca-minds/openapi.json | OpenAPI 3.0.1, token_intel only, ApiKeyAuth in header X-Api-Key |
full | openapi/full | core/openapi.json | all seven tools, for any other client; also listed in the ERC-8004 registration file |
Setup, platform by platform
These steps are condensed from each package's own guide; the guide is linked under each heading. All but the MCP server and the ACP agent need a Truvian platform key.
Coze (guide)
- Your workspace, Resources or Plugins, Create plugin, Import: from file with
coze/openapi.json, or from URL withhttps://truvian.xyz/api/platform/v1/openapi/coze. - Auth: Service, location Header, parameter
X-Api-Key, value<your key>. - Test each tool (Coze requires a passing test before publishing):
list_intentswith{"search":"sanction"}first, thencounterparty_checkwith{"name":"Siemens AG","jurisdiction":"Germany"}. Calls take 15 to 60 s. - Publish the plugin. The three workflows in
coze/workflows/(supplier due diligence, ad-claim fact check, crypto payment verification) are rebuilt by hand in Coze's canvas: Coze has no public import format for workflows.
Tencent Cloud ADP (guide)
- Plugin Marketplace, Custom Plugins, Create New Plugin, Based on API; name and description from
tencent-adp/plugin.json. - Authorization: APIKey, location Header, parameter
X-Api-Key. - Import
tencent-adp/openapi.json, or add the tools by hand fromplugin.json. Trial-runlist_intentswith{"search":"cve"}, thencounterparty_check; ADP saves a plugin only after verification passes. - Create an agent application on Hunyuan: paste an agent file's
role(tencent-adp/agents/procurement-compliance.json,security-triage.jsonorresearch-analyst.json), enable its listed tools, and add the spend rules fromsystemPrompt()insrc/platforms/agent.ts. Test with the file'stask, then publish.
ADP's "Based on MCP" option does not fit Truvian's MCP server, which speaks stdio only; the API plugin is the supported path.
Animoca Minds (guide)
- Send your Mind the message in
animoca-minds/skill/describe-to-your-mind.mdwith the three JSON parts (registry offering, app manifest, tool schemas) and the playbookSKILL.md. - Check the Mind's proposal against
SKILL.md(one call per token, never guess an address, rating first, cite signals), then confirm: "That's it. Build it." - Give the Mind
<your key>. My Connections has no custom HTTP API, so the key lives in the Mind's own credential store. - Run it: "Profile 0x3845badAde8e6dFF049820680d1F14bD3903a5d0 on Ethereum and check the claim that its total supply is 3,000,000,000." Publish to the Bazaar with the text from
registry-offering.json.
Any app can call the skill directly: POST /api/platform/v1/token-intel with the key in X-Api-Key.
Hermes Agent and OpenClaw (guide)
The MCP server uses your own Telegraph API key and escrow (from anjoman.ai, Dashboard, API keys), not a Truvian platform key. Its five tools are telegraph_intents, telegraph_ask, telegraph_balance, truvian_preflight and truvian_memo; each server process refuses asks beyond TELEGRAPH_MAX_USD (default $0.25). Install once with git clone https://github.com/mrnetwork0001/Truvian, then npm install in integrations/agents/mcp (Node.js 20 or later).
# Hermes: ~/.hermes/config.yaml
mcp_servers:
truvian_telegraph:
command: "/path/to/Truvian/integrations/agents/mcp/node_modules/.bin/tsx"
args: ["/path/to/Truvian/integrations/agents/mcp/server.ts"]
env:
TELEGRAPH_API_KEY: "<your key>"
TELEGRAPH_MAX_USD: "0.25"
skills:
external_dirs:
- /path/to/Truvian/integrations/agents/skills
# check: hermes mcp test truvian_telegraph (lists five tools)
# OpenClaw
openclaw mcp add truvian-telegraph \
--command /path/to/Truvian/integrations/agents/mcp/node_modules/.bin/tsx \
--arg /path/to/Truvian/integrations/agents/mcp/server.ts \
--env TELEGRAPH_API_KEY=<your key>
cp -r skills/telegraph skills/telegraph-watch ~/.openclaw/skills/
The two skills: telegraph tells the agent when to buy a fact instead of guessing and how to cite it; telegraph-watch runs watch/telegraph-watch.mjs on a schedule, buys watched facts within WATCH_MAX_USD (default $0.05 a run), checks gas and the ETH price against the chain, and prints only when a threshold is crossed.
Virtuals ACP (guide)
A buyer agent on ACP creates a job with Truvian's agent (wallet 0x68c0…0e7e on Base) for one of two offerings: counterpartyDueDiligence (requirement {entity, jurisdiction, wallets?}, a PROCEED, REVIEW or DECLINE report with a signed memo) or telegraphIntelligence (requirement {intent, params, question?}, one answer from the node's top-ranked miner with its escrow receipt and signal). A job that names Truvian's wallet as evaluator gets its delivery checked claim by claim before the provider is paid; Truvian never evaluates a job it provides.
To run the agent yourself: register it on app.virtuals.io, add a signer, put its wallet address, wallet id and signer key in .env (ACP_TRUVIAN_*), then cd acp && npm install && npm run truvian. Run only one copy: Truvian's own runs on the scorer server as the systemd unit truvian-acp, and two copies would answer the same jobs.
ERC-8004
Truvian is agent 11510 in the identity registry 0x8004A818BFB912233c491871b3d84c89A494BD9e on Ethereum Sepolia. Its registration file, /agent-registration.json, lists the services an agent can call: the web app, the two x402 gateways (/monad/v1 on Monad testnet, /solana/v1 on Solana devnet), the HTTP API docs, the full OpenAPI file and these docs. Script: src/scripts/erc8004-register.ts (simulates by default; SEND=1 sends).
How it is built
The tools are written once in src/platforms/; each platform folder under integrations/platforms/ is the same tools described in that platform's format.
| File | What it does |
|---|---|
core.ts | TelegraphPort (live: askTypedIntent, askPinnedIntent, intentRanking from src/shield/telegraph.ts), SpendGuard (reserves the worst-case price before an ask, books what was billed), Evidence, and Desk: a routed ask, then one second opinion pinned to the best-ranked other miner when the answer failed or lacks the scored field |
tools.ts | createTools: the seven handlers. Decisions reuse Shield's rules (sanctionsJudge, registryJudge, recommend; readTxEvidence, checkTxAnswer, decide; readTokenFacts); aboutToken refuses a holder count that names another token |
tokenIntel.ts | pure rules for token_intel: supply cross-check within 50 basis points, claim verdicts, flags, rating |
catalog.ts | TOOLS: each tool's purpose, input and output JSON Schema, and example |
specs.ts | openApi(flavor), cozePlugin, adpPlugin, mindsSkill: the packages, generated from the catalog |
routes.ts | registerPlatformRoutes, parsePlatformKeys, matchKey, the per-key windows (KEY_WINDOWS); mounted in src/shield/server.ts only when PLATFORM_API_KEYS is set |
agent.ts | runAgent, a model-agnostic tool loop, and verifyReport: every finding must cite evidence ids, and every figure in it must appear in the cited answers |
workflow.ts, runLedger.ts | runWorkflow runs a Coze-style workflow file against the route; the run ledger caps all recorded runs together at PLATFORM_RUNS_BUDGET_USD ($0.70) |
Truvian's do-not-ask list (BLOCKED_MINER_IDS, BLOCKED_INTENTS in src/shield/telegraph.ts) holds on every path: such an intent is refused, such a miner is never pinned, and an answer that arrives from one is discarded.
Real runs
Recorded runs, 1 Dec 2026
61 Telegraph answers, $0.56 of the $0.70 cap, every one in runs/spend-ledger.jsonl with miner, cost, escrow receipt and signal.
| Package | What ran | Answers |
|---|---|---|
| Coze workflows | Ad with a false "USDC is issued by Tether" claim: BLOCK. Real Base payment 0x654e0206…: RELEASE_ORDER, 3,007.588864 USDC in block 64,441,254. Payment 0xf9bbcf6f… to the wrong payee: REJECT_PAYMENT. PAO Sovcomflot: blocked on a sanctions match | 9, $0.09 |
| ADP agents on Hunyuan hy4 | Procurement: Siemens AG proceed, Rosoboronexport decline. Security triage: P1 on CVE-2024-3094 (CVSS 10), three missing answers recovered from other miners. Research: kept the Aave USDC deposit, with a wrong TVL figure (see the caveat) | 22, $0.20, plus about $0.047 of Hunyuan |
| Minds evaluation | 8 addresses, 11 claims: 11 of 11 verdicts right; Telegraph's supply within 50 bps of the chain on 7 of 7; a wallet given as a token: NOT_A_TOKEN, $0 | 30, $0.27 |
Inside the platforms, 2 Dec 2026
- ADP procurement agent - screened Siemens AG (PROCEED) and Rosoboronexport (DECLINE) and fact-checked the claim that Siemens is headquartered in Munich.
- ADP security triage agent - set P1 on an xz-backdoor alert (CVE-2024-3094, CVSS 10.0) and listed the file hash no miner could rate as a gap, for $0.05.
- Minds skill - its first run inside Minds rated SAND CLEAR: chain supply 3,000,000,000, Telegraph agreeing (0.00 bps), the supply claim TRUE, three answers for $0.03.
- Coze - all seven tools passed Coze's test runs with live paid asks.
Live receipts: /api/platform/v1/receipts. Read on 3 Dec just after 15:07 UTC, it listed 5 answers on the adp key that day ($0.05: CVE, malware hash, URL safety and URL scan asks, two of the malware asks without an answer). The list is kept in memory and starts again when the server restarts.
Agents outside the plugins
- Hermes Agent 0.19.0, 30 Nov - asked whether to send USDC on Base to Garantex Europe OU, it bought gas on Base and a sanctions screen (matched: OFAC SDN entry 36025) and answered "do not proceed", citing both signals. $0.02 of Telegraph answers (record).
- ACP jobs on Base mainnet, real USDC - 83055 (26 Nov, $0.01): due diligence on Coinbase, Inc., PROCEED, memo yFfiYka5. 83057, 83058, 83059 (26 Nov): Truvian as evaluator accepted a correct delivery and rejected a flipped sanctions claim and a missing registry claim. 83096 (30 Nov, $0.02):
telegraphIntelligence, ETH price $1,629.76 from the rank-1 miner (record, ledger). - ERC-8004, 1 Dec - registration transaction 0x988c89ce…795c; the client
erc8004-agent-11510then paid the Monad gateway $0.02 in test USDC for a gas price (agent-market).
workflow.ts), not rebuilt in Coze's canvas. The earlier ADP agent runs reached Hunyuan through OpenRouter, not a Tencent Cloud account. The evidence check confirms that a figure is in the answer it cites, not that the answer is true: the research brief of 1 Dec reported Aave's TVL as $2,333,941 from one miner, where DefiLlama gave about $16 billion. The Minds skill's liquidity and news parts have not yet been shown working end to end, and a Mind that equips the public skill needs its own Truvian key. OpenClaw ran for the first time on 4 Dec (its watch automation was not run), nothing is on ClawHub or the Hermes skills hub, and the MCP server speaks stdio only.