Trust + receipt layer that Solana agents call before and after paying over x402 — free preflight readiness cards, paid signed V5 trust receipts, and a wash/Sybil-resistant agent reputation corpus. MCP + HTTP.
Project description
twzrd-agent-intel
The trust + receipt layer that Solana agents call before and after paying over x402.
Before an autonomous agent pays a stranger's API, it should be able to answer one
question: should I pay this, and what proof will I get? twzrd-agent-intel answers
it. Free preflight readiness cards score any x402 resource on a wash/Sybil-resistant
reputation corpus; a paid trust endpoint returns a portable, offline-verifiable
signed V5 receipt. Live on Solana mainnet.
- Live API: https://intel.twzrd.xyz
- Public agent leaderboard: https://twzrd.xyz/leaderboard
- Agent card: https://intel.twzrd.xyz/.well-known/agent-card.json
- MCP card: https://intel.twzrd.xyz/.well-known/mcp.json
Install
pip install twzrd-agent-intel
This installs the MCP server console script twzrd-agent-intel-mcp and the Python
package twzrd_agent_intel.
Two surfaces, same data
| Surface | Best for | How to reach |
|---|---|---|
| MCP (recommended) | Claude Code, agent frameworks, tool-calling agents | twzrd-agent-intel-mcp (stdio) or --sse |
| HTTP | Direct calls, custom routers, testing | POST /v1/intel/preflight (free), GET /v1/intel/trust/{pubkey} (0.05 USDC) |
60-second flow: don't pay blind
The canonical pattern a well-behaved agent follows before spending:
- Call the free preflight with the resource you're about to pay and your intent.
- Inspect
decision,can_spend, andtrust_score. Fail closed onblock. - If you proceed and want durable proof, fetch the paid trust receipt and store the V5 leaf + preimage for later offline verification or on-chain anchoring.
# 1. Free preflight against the live mainnet API
curl -s -X POST https://intel.twzrd.xyz/v1/intel/preflight \
-H "Content-Type: application/json" \
-d '{
"resource_name": "Jupiter Quote Preview",
"seller_wallet": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P",
"agent_intent": "swap_quote"
}'
Returns the canonical ReadinessCard (decision, trust_score, can_spend, proof,
caveats, next_fixes, and the paid_deep_dive path).
# 2. Verify a signed receipt offline BEFORE you ever spend — free sample, no wallet
curl -s https://intel.twzrd.xyz/v1/receipts/example
The paid deep dive (GET /v1/intel/trust/{pubkey}, 0.05 USDC over x402) returns the
full trust object plus a portable, Ed25519-signed V5 receipt leaf you can verify
without trusting our server.
MCP: wire into Claude Code / Claude Desktop
{
"mcpServers": {
"twzrd-agent-intel": {
"command": "twzrd-agent-intel-mcp",
"type": "stdio"
}
}
}
After restart, agents see tools including:
get_readiness_card_tool— primary; returns the canonical ReadinessCard shapedexter_preflight— lower-level (full evidence,max_spend_recommendation_usdc, upsell)get_top_intel_agents— agent leaderboard discovery- Solana Market API market-intelligence tools (orderbook depth, visibility map, market shape)
The paid trust receipt is intentionally exposed over HTTP x402, not MCP.
Run the servers locally
# MCP (stdio — default for most agents)
twzrd-agent-intel-mcp
# MCP over SSE (remote / web agents)
twzrd-agent-intel-mcp --sse
# HTTP server
uvicorn twzrd_agent_intel.server_http:app --port 8001
Signal sources
By default the surface uses a small static research registry (good for testing). Point it at live data with environment variables:
TWZRD_SIGNAL_SOURCE |
What it does |
|---|---|
artifacts |
Aggregate your own real settlement volume from TWZRD_ARTIFACTS_DIR |
bazaar |
Pull the live cross-facilitator x402 catalog (CDP Bazaar /resources + /merchant) |
TWZRD is the judgment layer ("should this agent pay?") on top of the public x402
directories — it does not duplicate the listing function. Combine bazaar (discovery)
with artifacts (your receipt volume) for the strongest signal.
What makes the score trustworthy
- Wash/Sybil-resistant: circular-flow and reciprocal-wash discounting on a 42k-wallet cross-facilitator corpus; breadth floor on counterparties.
- Honest basis: trust components are renormalized (
score_version intel_renorm_v1) so arbitrary wallets aren't penalized for lacking TWZRD-native execution history. - Verifiable: every paid response carries a signed V5 receipt; verify it offline with
the free
/v1/receipts/example+/v1/receipts/verifyendpoints before you trust the paid path.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 twzrd_agent_intel-0.1.1.tar.gz.
File metadata
- Download URL: twzrd_agent_intel-0.1.1.tar.gz
- Upload date:
- Size: 106.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033358e830ce20ff0f110750d4325c651c0fad60f95ce7599995a9cbd96e2a78
|
|
| MD5 |
9f4072e16c54bb2459de4ada7bdf3f8e
|
|
| BLAKE2b-256 |
61b21c0c04b97d952dd4c60e6cf58b459140df1440722b80ab48959d11e80a6a
|
File details
Details for the file twzrd_agent_intel-0.1.1-py3-none-any.whl.
File metadata
- Download URL: twzrd_agent_intel-0.1.1-py3-none-any.whl
- Upload date:
- Size: 84.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bfa7a0d20047744f4967fb6784991646305ffe2a95720abfc6f12b73e096c31
|
|
| MD5 |
11dad55b6131b4293faeeeb87f798914
|
|
| BLAKE2b-256 |
4d1f89ef44ff1ab3d57e778e31032883be8b5476e9457f07e1bc51340bba3c10
|