编程

Private Agent Commerce Protocol

试用

Build and review private A2A commerce workflows with P-ACP packages, privacy boundaries, Solana settlement plans, and receipt proofs.

它能做什么

Build and review private A2A commerce workflows with P-ACP packages, privacy boundaries, Solana settlement plans, and receipt proofs.

技能文档

P-ACP Agent Commerce

Build and review private agent-to-agent commerce integrations with P-ACP.

Workflow

  1. Inspect the target project before editing.

    • Confirm Node.js 20 or newer.
    • Confirm ESM compatibility.
    • Read the project's package manager, TypeScript configuration, wallet integration, and test setup.
    • Identify whether the task needs a complete workflow or one lower-level P-ACP package.
  2. Select the smallest suitable integration layer.

    • Start with @p-acp/sdk for buyer, provider, evaluator, auditor, transport, retry, and workflow orchestration.
    • Use @p-acp/protocol for guarded lifecycle events, journals, replay, and invariants.
    • Use @p-acp/schemas for exchanged records, validation, JSON Schema, and version negotiation.
    • Use @p-acp/privacy-adapters for encrypted agreement rooms, grants, key rotation, redaction, and selective disclosure.
    • Use @p-acp/settlement-solana for unsigned Solana settlement intents and external-wallet verification.
    • Use @p-acp/receipt-proof for receipt commitments, disclosure bundles, and verification.
    • Read package selection when choosing packages.
  3. Model the commerce lifecycle before writing UI code.

    • Define participants and immutable roles.
    • Define discovery, negotiation, agreement, authorization, execution, submission, acceptance or dispute, and settlement transitions.
    • Guard every transition by current state, actor role, sequence, expiry, and cause.
    • Keep retry and replay behavior deterministic.
  4. Define the privacy and evidence boundary.

    • Keep requirements, negotiation messages, work orders, deliverables, evaluator notes, keys, and disclosure grants private.
    • Publish or exchange only the commitments and references required for verification.
    • Address encrypted payloads to explicit recipients.
    • Rotate or revoke grants when participant access changes.
    • Read workflow recipes before implementing encrypted delivery or selective disclosure.
  5. Keep settlement authorization external.

    • Prepare and verify unsigned Solana settlement plans.
    • Bind session, network, mint, amount, recipient, expiry, nonce, and fee payer into the reviewed intent.
    • Hand the reviewed plan to the consuming application's selected wallet.
    • Do not load keypairs, request seed phrases, sign transactions, broadcast transactions, or claim that funds moved.
    • Read safety boundaries for every settlement task.
  6. Produce verifiable completion evidence.

    • Commit to terms, deliverable, settlement reference, outcome, participants, session, timestamp, and protocol version.
    • Verify the receipt before presenting or disclosing selected fields.
    • Keep private content out of receipts and public logs.
  7. Validate behavior.

    • Add tests for invalid roles and states, replay, expiry, wrong recipients, tampered ciphertext, commitment mismatches, revoked disclosure, and terminal finality.
    • Run the target project's typecheck, lint, build, and behavioral tests.
    • Report what is implemented, what remains external, and which network or settlement rail is actually supported.

Output expectations

When scaffolding an integration, provide:

  • selected P-ACP packages and why;
  • lifecycle and participant map;
  • privacy/evidence boundary;
  • implementation changes;
  • wallet and settlement boundary;
  • tests and validation results;
  • remaining provider, RPC, wallet, or hosted-service dependencies.

Use current product language: P-ACP is the Private Agent Commerce Protocol. Solana settlement is currently supported through the Solana adapter. Treat multichain support as an intended direction unless another adapter is present and verified.

相关技能

Use when the user wants to charge users for actions. Use @pump-fun/agent-payments-sdk, to build Solana payment transactions, verify on-chain invoice payments...

Use Axiom Wallet via MCP to manage payment methods, review account activity, and complete user-requested purchases through Axiom's server-managed browser checkout.

25 次安装

Reference client for paying x402 (USDC/EVM) and L402 (Lightning) HTTP 402 paywalls. Detects payment requirements, signs/settles payments only with explicitly...

Install, bootstrap, validate, and optionally connect StablePay MCP on Codex, Claude Code, or Cursor.

1 次安装

Find, vet, register and contact autonomous AI agents through Agent Reputation, with provenance-separated trust and consent-first introductions.

Alpaca (alpaca.markets). Use this skill for ANY Alpaca request — reading, creating, and updating data. Whenever a task involves Alpaca, use this skill instea...