
Policyvault
io.github.zapsoblige-hash由 GitHub 帳號 zapsoblige-hash 發布v1.6.2更新於 Oct 24, 2026
Non-custodial Kaspa policy enforcement for AI agents; signers retain custody.
概覽
PolicyVault 的 MCP 用戶端:讓 AI 代理在擁有者設定的 Kaspa 金庫契約限額內發起非託管的支出請求。
- 可以做什麼
- 向 PolicyVault 金庫發起委託支出請求,由契約執行單筆上限、週期預算與收款白名單
- 執行支援的模擬與試運行檢查
- 驗證具體操作,供外部簽署者在簽署前核對
- 讀取憑證權限範圍內的金庫、政策與稽核資訊
- 對無權處理的請求進行回報或拒絕
- 不提供簽署、提交或創世工具,工具本身不持有金鑰
- 適用情境
- 適用於希望讓代理、機器人或服務在擁有者設定的限額內發起 Kaspa 金庫付款、但絕不掌握保管權或簽署權的情境。適合已運行 PolicyVault 金庫(託管或自架)並希望由代理準備與驗證請求、由人工或外部簽署者保管金鑰的團隊。
- 執行需求
- 以 stdio 方式在本機執行 npm 套件 policyvault-mcp(需 Node.js)。需要 POLICYVAULT_MCP_SERVER_URL(託管或自架 PolicyVault 伺服器的裸來源位址)以及密鑰 POLICYVAULT_MCP_TOKEN(由金庫營運方依所需權限鑄發的機器身分 bearer 憑證)。選用的 POLICYVAULT_MCP_SCOPES 可縮小對外公布的工具有效範圍。需要能連線至 PolicyVault 伺服器的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Policyvault,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
PolicyVault
Non-custodial delegated-spending vaults on Kaspa L1 — for people and AI agents.
PolicyVault lets a vault owner hand a spending key to an agent — an employee, a service, a bot, or an AI agent — without handing over control of the funds. The spending policy is enforced by Kaspa L1 consensus through a covenant: even an agent who bypasses this entire application and talks directly to a Kaspa node cannot exceed the owner's policy.
The authority model, stated once and everywhere enforced:
AI MAY REQUEST. POLICYVAULT DETERMINISTICALLY DECIDES. THE COVENANT ENFORCES. SIGNERS RETAIN CUSTODY.
Production status (honest labels)
- x402 FACILITATOR (
integrations/x402-facilitator/, 2026-09-02): DESIGN FROZEN (owner-authorized;docs/postlaunch/x402-facilitator-design-freeze.md) · IMPLEMENTED · UNIT-TESTED · ADVERSARIAL-TESTED · INTEGRATION-TESTED (real HTTP service + real PostgreSQL claim store) · TESTNET-VERIFIED (real KAS + real frozen-v0.5 token payments on testnet-10;docs/testnet-x402-facilitator-evidence.json). A separately deployed, unprivileged, READ-ONLY chain verification / settlement attestation service for the proposed Kaspa schemepv-x402-kaspa-exact-upfront/1(network identifierskaspa:mainnet/kaspa:testnet-10are PolicyVault's provisional CAIP-2-syntax identifiers — no upstream registration is claimed). It never signs, broadcasts, escrows, or charges. NOT a hosted production service (a separate owner gate); no upstream Kaspa x402 scheme exists, so it is not "x402-compatible" without that qualification.
What the covenant enforces (consensus, not software)
- Owner-controlled vaults — create, manage, pause, recover, close.
- Delegated spending — up to 10 independent agents per vault, each with its own policy, spending real KAS within owner-defined limits.
- Per-transaction caps and cumulative periodic budgets (DAA-score-based accounting verified by consensus).
- Recipient allowlists — Merkle-committed; an agent can pay only owner-approved recipients.
- M-of-N approvals above an owner-set threshold.
- Covenant-controlled fee reserve — agents need no gas wallet; network fees come from a reserve the covenant accounts for exactly.
- Break-glass owner pause and terminal recovery — never gated by any hosted workflow.
What the platform adds ABOVE the covenant (hosted coordination, not authority)
- Intent manifests + independent browser verification — before any
signature, the browser re-derives what the transaction does from the exact
bytes to be signed and refuses on any mismatch (
web/verify-intent.js,docs/postlaunch/intent-manifest-spec.md,docs/postlaunch/browser-verification.md). - Governance — proposal/approval ceremony (Schnorr-verified,
domain-separated) for authority-expanding policy changes
(
docs/postlaunch/governance-spec.md). - Risk pipeline — restrictive-only configurable review/deny adapters
(
docs/postlaunch/risk-adapter-spec.md). - Budget reservations, hash-chained audit, webhooks/notifications,
machine identities + scoped capabilities, idempotency, dry-run simulation
(
docs/postlaunch/*). - Universal Signer Interface with KasWare mapping and an offline CLI
signer reference (
docs/postlaunch/signer-interface-spec.md,signer-kasware-mapping.md,signer-cli-reference.md). - Agent surfaces: REST platform API, MCP server, Python client, x402 + AP2 payment-protocol adapters — all thin consumers of one deterministic core; none holds independent financial authority.
PolicyVault's API and shipped MCP tools provide scoped reads, supported simulations and unsigned requests. The MCP tools hold no signing keys and expose no signing or submission operation. PolicyVault's verification tools let an external signer check the exact operation before signing. The broader API supports attaching externally produced signatures and separately authorized submission; the browser also uses an external wallet. An authorized delegate, including an agent using an external wallet or signer, operates within covenant limits, permitted recipients, budgets and required approvals. Requesting, signing, submitting and verified on-chain acceptance are distinct stages. Kaspa consensus enforces the covenant.
Repository map
Quick start (self-hosted, testnet-10)
Full instructions, including PostgreSQL-backed hosted mode, container builds,
covenant regeneration + byte-identity verification, and the VM suite:
docs/deployment.md, docs/hosted-deployment.md, docs/test-plan.md.
The VM workspace expects sibling checkouts of the public silverscript and
rusty-kaspa projects (see tests/vm/ and tools/stage-vendor.sh).
Product policy (permanent)
Free software and self-hosting — Apache 2.0, including commercial use.
Official hosted access is currently free. Kaspa network transaction fees still apply.
No patents on the protocol or its mechanisms. Voluntary KAS donations support
continued development and hosting:
kaspa:qyppakv5y7kmeynffldl9zshwgkjrl3fy9jjj8wf24v7f64v0gnuragz7ehdqhn
(public receiving address; nothing in this software ever asks for or handles
donation-wallet keys). Details: docs/product-policy.md.
Security
Read SECURITY.md for the security model, the exact claim → enforcement →
test → evidence discipline, what is PROVEN versus DESIGN TARGET, and how to
report vulnerabilities.
來源:README.md,提交 99a52d1
工具
0版本歷史
1- v1.6.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分