---
skill_id: ap2-mandate-implementation-guide
evaluation: free
price_usd_full: 6.99
challenge: https://lvlltd.com/api/pay?skill=ap2-mandate-implementation-guide
outline: https://lvlltd.com/skills/ap2-mandate-implementation-guide/outline.json
standards: x402, ERC-7857
---

# Free sample — AP2 Mandate Implementation Guide

**Skill ID:** `ap2-mandate-implementation-guide`  
**Full unlock:** $6.99 USDC via x402 on Base  
**Challenge:** https://lvlltd.com/api/pay?skill=ap2-mandate-implementation-guide  
**Outline JSON:** https://lvlltd.com/skills/ap2-mandate-implementation-guide/outline.json

## Summary

Implement AP2 Intent/Cart/Payment mandates so your agent can spend under human-signed limits on x402 merchants (including lvlltd.com) with an audit-ready authorized-purchase signal.

## When to use

- You want a Buyer Agent to buy skills within a $N/month budget without human-in-the-loop each time
- Enterprise buyers require proof that a human authorized agent spend (audit trail)
- You are composing AP2 mandates with existing x402 challenge/settle flows
- You need Cart vs Intent mandate selection for human-present vs delegated purchasing

## Decision criteria (buy vs skip)

- You need this when: You want a Buyer Agent to buy skills within a $N/month budget without human-in-the-loop each time
- You get capability: AP2 mandate type decision matrix (Intent / Cart / Payment)
- Budget fits: full unlock is $6.99 USDC on Base
- You can automate unlock via HTTP 402 without a browser
- You only need teaser/outline first — sealed src/ops stay locked until payment

## Outline (preview)

1. Map AP2 roles: human principal, shopping/buyer agent, merchant (lvlltd.com), settlement rail (x402/USDC)
2. Choose mandate type: Intent (bounded autonomous), Cart (exact SKU+price), Payment (network visibility)
3. Define spend bounds: max_per_purchase, period_limit, merchants, optional SKU allowlist, intent_expiry
4. Human signs canonical mandate message (EIP-191 personal_sign) and registers via /api/mandates
5. Agent purchase path: 402 → USDC settle → POST unlock with X-PAYMENT + X-AP2-MANDATE
6. Handle rejections: expired, over cap, wrong agent wallet, SKU not allowed
7. Emit audit bundle for Agent Auditor: mandate snapshot + pay receipt + verified_authorized_purchase flag

## Capabilities (preview)

- AP2 mandate type decision matrix (Intent / Cart / Payment)
- LVL spending-mandate message template + register/revoke API usage
- Optional X-AP2-MANDATE composition on x402 unlock requests
- Period spend tracking and remaining-budget checks
- Compliance handoff fields for Agent Auditor skill
- Human-not-present policy checklist (what not to pre-authorize)

## What you get after payment

- SKILL.md (teaser public)
- agent-install.json (public meta)
- src/index.js (stub public; full after unlock)
- Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT

## Agent buy path (zero human UI)

```
GET  https://lvlltd.com/skills/ap2-mandate-implementation-guide/outline.json
GET  https://lvlltd.com/api/pay?skill=ap2-mandate-implementation-guide   → HTTP 402
# transfer maxAmountRequired USDC to payTo on Base
POST https://lvlltd.com/api/pay
  X-PAYMENT: {"txHash":"0x…","skill":"ap2-mandate-implementation-guide"}
# response.sealed_pack.files = full pack
```

## Sample excerpt

# AP2 Mandate Implementation Guide

**Price:** $6.99 USDC  
**Category:** Commerce  
**Version:** 1.0.0  
**Protocols:** x402, ERC-7857  
**Tags:** ap2, mandate, x402, a2a, commerce, agent-payments, intent-mandate, premium, authorization  

## Summary

Implement AP2 Intent/Cart/Payment mandates so your agent can spend under human-signed limits on x402 merchants (including lvlltd.com) with an audit-ready authorized-purchase signal.

## Description

Hands-on guide for agent builders and buyers who need cryptographic authorization before autonomous x402 spend. Covers Google’s Agent Payments Protocol (AP2) mandate types, the Coinbase A2A x402 extension composition pattern, human-present vs human-not-present flows, and how to register a spending mandate on lvlltd.com so a Buyer Agent can stay within a monthly cap without re-prompting MetaMask every unlock. Pairs with Async Agent Payments Specialist (settlement rails) and Agent x402 A2A/A2B/A2C Business Models (monetization). Original LVL playbooks and schemas—not a rebrand of Google sample code.

## When to use

- You want a Buyer Agent to buy skills within a $N/month budget without human-in-the-loop each time
- Enterprise buyers require proof that a human authorized agent spend (audit trail)
- You are composing AP2 mandates with existing x402 challenge/settle flows
- You need Cart vs Intent mandate selection for human-present vs delegated purchasing

## After purchase (lvlltd.com)

1. Pay USDC on Base via x402 to the treasury
2. POST `/api/pay` with `X-PAYMENT: {"txHash","skill":"ap2-mandate-implementation-guide"}`
3. Receive `sealed_pack.files` (code + docs)
4. Install: `node scripts/install-unlocked-pack.mjs unlock.json ./skills`
5. `import { createSkill } from './skills/ap2-mandate-implementation-guide/src/index.js'`

## Standards

- x402 micropayments (Base USDC / USDbC)
- ERC-7857 sealed iNFT ownership record (marketplace unlock ≠ runtime design)
- Operational packages ship as sealed pack files after verified payment

## Safety

- No secrets, private keys, or exploit content
- Human escalate on high blast-radius actions
- Not legal, tax, medical, or financial advice
