Yault AESP

xyz.yault由 yault.xyz 發布v0.2.0更新於 Oct 24, 2026

Crypto payments for the agent economy — policy-gated vault operations under human control

已驗證STDIO僅桌面金融安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,向 AI 助理開放 Yault 加密金庫操作——查詢餘額、存入、贖回與轉帳,並受政策約束與人工審核控管。

可以做什麼
透過 Yault 後端 API 查詢位址的金庫餘額、多幣別餘額明細以及操作員/授權額度狀態。將底層資產存入金庫,並贖回金庫份額。將金庫額度從父帳戶轉帳至子帳戶。讓支出操作經過政策引擎,依單筆與滾動預算上限、位址允許清單與時間窗限制,並將高風險操作升級至人工審核佇列。
適用情境
當希望助理在 Yault 上執行或檢視加密金庫操作,同時讓支出受政策與人工審核約束時使用。適合持有 Yault 金庫、希望讓代理在設定上限內查詢餘額或調動資金的終端使用者。
執行需求
透過 npm 套件 @yault/aesp 以 stdio 在本機執行,需要 Node.js 18 或更新版本。需要 Yault 帳戶及 API 金鑰,透過環境變數 YAULT_API_KEY 提供;YAULT_API_URL 為選用,用於設定後端基礎位址。需要能連線至 Yault 後端的網路。
安裝前請注意
此伺服器會調動真實資金:存入、贖回與轉帳會寫入金庫並產生實際支出。YAULT_API_KEY 與使用者金庫綁定並具備支出權限,應限制其範圍並綁定政策。README 提醒敏感操作應置於廣泛的代理金鑰權限之外,政策違規時回退至人工升級處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Yault AESP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

AESP - Agent Economic Sovereignty Protocol

Defining how AI agents operate economically under human sovereignty.

Website | npm

What Is AESP

AESP is a TypeScript SDK and MCP integration layer for agent payments under explicit human control. It is designed so that agents can execute economic actions while humans retain full economic sovereignty.

Core principles:

  • Policy-gated execution -- every spend action is bounded by configurable policy rules (per-tx limits, daily/weekly/monthly budgets, address allowlists, time windows).
  • Human override path -- risky actions are escalated to a review queue instead of being auto-approved.
  • Verifiable commitments -- execution context can be tied to EIP-712 signed intent, enabling on-chain settlement guarantees.
  • Practical integration -- MCP tools expose vault operations to AI agent frameworks; subpath exports let you import only what you need.

Install

bash
npm install @yault/aesp

Requires Node.js >= 18.

Quick Start

Add to Claude Desktop

Add the following to your Claude Desktop config (claude_desktop_config.json):

json
{  "mcpServers": {    "yault": {      "command": "npx",      "args": ["-y", "@yault/aesp"],      "env": {        "YAULT_API_KEY": "sk-yault-..."      }    }  }}

Add to Claude Code

bash
claude mcp add yault -- npx -y @yault/aesp

Then set the environment variable YAULT_API_KEY in your shell or .claude/settings.json.

Run standalone

bash
export YAULT_API_KEY="sk-yault-..."yault-mcp                  # if installed globallynpx @yault/aesp            # via npx

Get your API key

Go to yault.xyz to create an account and obtain your API key (sk-yault-*). The key is tied to your vault — each user manages their own key. Agent developers do not need a key unless they are also vault users; it is the end-user who configures their own key in the MCP client.

Use SDK modules

typescript
import { PolicyEngine } from '@yault/aesp/policy';import { getAllMCPTools } from '@yault/aesp/mcp';import { NegotiationStateMachine } from '@yault/aesp/negotiation';
const engine = new PolicyEngine(storageAdapter);await engine.load();
const tools = getAllMCPTools(); // 6 MCP tool definitions

Modules

AESP is organized into subpath exports so you can import only what you need:

SubpathDescription
@yault/aespUnified re-export of all modules
@yault/aesp/typesShared type definitions (AgentExecutionRequest, TransferPayload, ChainId, etc.)
@yault/aesp/policyPolicy engine with 8-check evaluation, budget tracking, and policy change classification
@yault/aesp/identityAgent identity derivation, certificate creation, and hierarchy management
@yault/aesp/negotiationOffer/counter-offer state machine with session management
@yault/aesp/commitmentEIP-712 structured commitment builder for dual-signed agreements
@yault/aesp/reviewHuman-in-the-loop review queue with freeze/unfreeze controls
@yault/aesp/mcpMCP tool definitions, argument validation, and server router
@yault/aesp/a2aAgent-card builder for cross-agent discovery (A2A protocol)
@yault/aesp/cryptoCryptographic helpers: signing, encryption, hashing, ZK proof bridge
@yault/aesp/privacyContext tagging, ephemeral address pools, and consolidation scheduling

MCP Tools

The stdio server exposes 6 backend-connected tools:

ToolMethod + EndpointPurpose
yault_check_balanceGET /api/vault/balance/:addressRead a wallet vault balance
yault_depositPOST /api/vault/depositDeposit underlying into vault
yault_redeemPOST /api/vault/redeemRedeem vault shares
yault_transferPOST /api/vault/transferTransfer vault allocation (parent to sub-account)
yault_check_authorizationGET /api/vault/agent-authorizationRead operator/allowance status
yault_get_balancesGET /api/vault/balances/:addressRead multi-balance breakdown

Backend Requirements

The MCP server is a thin API client. It expects a Yault backend providing:

  • GET /api/vault/balance/:address
  • GET /api/vault/balances/:address
  • GET /api/vault/agent-authorization
  • POST /api/vault/deposit -- { address, amount }
  • POST /api/vault/redeem -- { address, shares }
  • POST /api/vault/transfer -- { from_address, to_address, amount, currency? }

Authentication: Authorization: Bearer sk-yault-* via YAULT_API_KEY env variable.

Security Model

AESP is built around "bounded autonomy":

  • Agent API keys should be policy-bound before spend execution.
  • Spending controls should include per-tx and rolling limits (daily/weekly/monthly).
  • Destination constraints should be allowlist-driven where applicable.
  • Sensitive operations should stay outside broad agent key scopes.
  • Human escalation remains the fallback for policy violations.

For vulnerability reporting, see SECURITY.md.

Related Packages

PackageDescription
@yault/elizaos-plugin-aespElizaOS plugin wrapping AESP for agent frameworks

Development

Run tests:

bash
npm test

Build TypeScript:

bash
npm run build:ts

Build with WASM (requires acegf-wallet as a sibling repo, or set ACEGF_ROOT):

bash
npm run build:wasmnpm run build:ts

See CONTRIBUTING.md for the full development guide.

License

This project is licensed under the Apache License 2.0. See LICENSE for the full text.

來源:README.md,提交 73e8bc9

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分