Public SDKs for YieldAgentX402 — MCP server, receipt verifier, CrewAI tools. Custody-free, policy-gated agent execution across 18 chains.
YieldAgentX402 SDKs
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> Public client libraries and integrations for **YieldAgentX402** — the custody-free, policy-gated, receipt-backed execution layer for AI agents.
Platform · MCP Docs · Try without signup · Get API key
This repo hosts the open-source distribution packages. The platform itself (gateway, ShadeGuard policy engine, TEE attestation, orchestrator, Filecoin/BTFS anchoring) lives in a separate private repository — we ship the bits agents need to *use* the platform here.
---
Packages in this repo
| Package | Registry | What it does |
|---|---|---|
| sdk-ts/ | npm: yieldagentx402 | **Typed TypeScript SDK.** Wraps all **18** MCP tools with first-class types, idempotency, webhook verify, Shade Agent helpers. Zero deps. Works in Node, browsers, Workers, Deno, Bun. |
| mcp-server/ | npm: agentx402-mcp-server | Stdio MCP wrapper. Drop into Claude Desktop / Code / Cursor / Windsurf for all **18** YieldAgentX402 tools across **18** chains. **Glama:** listing. |
| verify-lib/ | npm: yieldagentx402-verify | Zero-dependency WebCrypto verifier for receipts + webhook signatures. Works in browser, Node 18+, Cloudflare Workers, Deno. |
| crewai-tools/ | PyPI: crewai-yieldagentx402-tools | CrewAI tool wrappers — policy dry-run, x402 payment, secure workflow, receipt verify, Shade Agent MPC wallet status. |
| langchain-tools/ | PyPI: yieldagentx402-langchain | LangChain tool wrappers — discovery, policy preview, receipt verify, action planner (MCP gateway). |
---
Try without signup
No API key required. Returns all **18** tools, **18** chains, rate limits, fees, supported runtime configs.
Want an instant test key?
Returns a yax_test_* key (5 USD cap, 7-day expiry) for safe read-only tools.
---
What is YieldAgentX402?
A trust layer for agents that move money.
- **18 MCP tools** — discovery, secure workflow execution, x402 payment settlement, policy dry-run, approvals, receipt verification, attestation, finance/CRM skill tools
- **18 chains** — Base, Ethereum, **Bitcoin (native)**, Starknet, NEAR, Solana, Stacks, BNB, Rootstock, Filecoin EVM + native, Aptos, Sui, TON, Tron, XRPL, Stellar, Algorand
- **Custody-free wallet** — one NEAR MPC key authority derives EVM + BTC addresses on demand. No private keys held by the gateway or worker. Starknet uses Stark curve preset.
- **Intel TDX TEE attestation** — mrEnclave verifiable at /api/tee/report
- **HMAC-SHA256 receipts** — every call returns a signed receipt
- **Filecoin + BTFS dual anchoring** — permanent tamper-proof proof storage
- **x402 protocol settlement** — 0.25% protocol fee, machine-verifiable in /.well-known/x402 as extra.protocolFeeBps: 25
---
Custody-free wallet — one MPC key, three chains
| Chain | Address | Curve |
|---|---|---|
| EVM (Base/Eth) | 0x6905D04C3655625F6171f7b1e801a9325B1Fa1e8 | secp256k1 (MPC) |
| Bitcoin (P2WPKH) | bc1qcd8ljsj7x0rq3sw7drrt7ragqmmt3tfsfxs6gy | secp256k1 (MPC) |