
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 分