MINY Agent Vault docs
Architecture specs, integration guides, and API reference for AI-native treasury infrastructure on Base L2.
Live interfaces
Three ways to interact with the MINY Agent Vault API right now.
Architecture & vision
Strategic direction, data models, and engineering blueprints that define what MINY is and how it's built.
12-month roadmap from MVP to $500K–$2M ARR. Stack selection, wallet design, regulatory positioning, and risk controls.
- DoneTechnical Stack RecommendationFastAPI + Postgres + Stripe. Python for alignment with agent stack.
- DoneCore Wallet DesignWallet structure: owner_type, balance, risk_score, policy_id, NFC unlock.
- DonePolicy Engine (5-Point)Category check, daily cap, campaign budget, strategy match, decision log.
- DoneStrategy Database IntegrationAgent queries 1,597 strategies before spend. Reject if ROI/stage mismatch.
- DoneNFC + Physical IntegrationCollectibles unlock wallet tiers, increase caps, fund campaigns.
- DoneRegulatory Safe DesignClosed-loop, no yield, no profit promises, utility-only positioning.
- In Progress12-Month Revenue RoadmapPhase 1: pilot 10 artists. Phase 2: $10K–$30K MRR. Phase 3: white-label.
Production-ready engineering spec: Postgres schema (11 tables), 22+ API endpoints, security controls, 2-week MVP scope.
- DoneData Model (Postgres)wallets, ledger_accounts, ledger_entries, policies, agent_api_keys, spend_requests, onchain_intents
- DoneDouble-Entry LedgerEvery transaction = debit + credit. Fiat, USDC, ACP revenue all reconciled.
- DoneSpending & Settlement FlowsFlow 1: fiat via Stripe. Flow 2: onchain USDC settlement on Base.
- DoneBase Receipt ContractEvent-only MinyReceipt.sol: ~21K gas (~$0.001) per emission.
- DoneAPI Surface (22+ endpoints)Wallets, policies, agents, spending, strategies, x402, NFC, onchain, webhooks.
- DoneSecurity & ControlsHard caps, 2-step approval, key scoping, freeze switch, full audit trail.
Locked decision: fiat-ledger-first with Base for proofs, access gating, and optional settlement. Not a crypto custody platform.
- DoneBase Usage (v1)Onchain receipts, NFC access gating, optional settlement rail.
- DoneCoinbase Integration OrderOnramp (hosted first, headless later) + native USDC on Base.
- DoneSystem of RecordMINY Ledger (Postgres) = source of truth. Base = onchain proof surface.
- DoneAccount AbstractionSponsor gas via paymasters. Agents never manage ETH.
- DoneTransaction FlowsFlow A: fiat via Stripe + optional Base receipt. Flow B: Onramp USDC + onchain settle.
Integration specs
How MINY connects to Base L2, Coinbase infrastructure, and the Virtuals Protocol economy.
What Base provides, wallet primitive options, integration checklist. Agent-first path using Base only for proofs and settlement.
- DoneBase Chain (L2)Low-fee transactions for receipts, access passes, proofs, usage logs.
- DoneCoinbase OnrampCard/Apple Pay/bank funding to USDC on Base. Hosted first, headless later.
- DoneAA + Sponsored GasSmart accounts with gas sponsorship. No ETH management for agents.
- DoneWallet Primitive ChoicePattern 1: smart accounts per agent. Pattern 2: one treasury + offchain.
Coinbase x402 HTTP-native payments + Agentic Wallets. MINY is the policy/strategy brain; Coinbase provides payment pipes.
- Donex402 Protocol402 Payment Required. Agent signs USDC payload. Facilitator settles.
- DoneAgentic WalletsSelf-custody on Base, configurable caps, KYT screening, key isolation.
- Done3 Revenue StreamsStrategy-as-a-Service, Agent-to-Agent Commerce, NFC-Triggered x402 Credits.
- DoneRevised ArchitectureReplace custom key mgmt with Agentic Wallets. Keep policy engine + ledger.
Revenue Incentives for AI ($1M/month). ACP service registration, epoch tracking, dual-payout accounting. 76x revenue multiplier.
- Phase 1ACP Service RegistrationRegister 25+ strategies as ACP services with pricing and categories.
- Phase 1Epoch Revenue TrackingNew ledger types: ACP_SERVICE_REVENUE, ACP_USDC_INCENTIVE, ACP_TOKEN_BUYBACK.
- Phase 2Dual Payout Handling50% USDC auto-deposit + 50% token buyback tracking with vesting.
- Phase 3Revenue FlywheelAuto-reinvestment, dynamic pricing, agent-to-agent commerce.
- Phase 4TokenizationTokenize MINY through Virtuals. Connect token to service flywheel.
Developer guides
Step-by-step walkthroughs for common integration patterns. Coming soon.
5-minute quickstart: create a wallet, fund it, set a policy, propose a spend, and execute it.
- PlannedEnvironment SetupInstall dependencies, configure database, start the API server.
- PlannedCreate Your First WalletPOST /wallets with owner_type, fund with deposit, check balances.
- PlannedSet a Spending PolicyDaily cap, category allowlist, approval threshold. PUT /policies.
- PlannedPropose & Execute a SpendFull lifecycle: propose, policy eval, approve, execute, verify ledger.
Build autonomous agents that manage budgets, execute strategies, and settle transactions through MINY.
- PlannedAgent RegistrationRegister agent, receive scoped API key, configure wallet binding.
- PlannedStrategy Validation FlowQuery strategy DB, validate ROI thresholds, propose spend with strategy_refs.
- Plannedx402 PaymentsConfigure Agentic Wallet, handle 402 responses, sign USDC payloads.
- PlannedWebhook IntegrationListen for spend lifecycle events, settlement confirmations, policy alerts.
Common policy configurations for different use cases: artist wallets, campaign agents, marketplace agents.
- PlannedConservative Artist Policy$50/day cap, marketing-only categories, human approval over $25.
- PlannedCampaign Agent Policy$500/day, broad categories, strategy validation required, 1hr cooldown.
- PlannedACP Marketplace PolicyEpoch-aware limits, pricing validation, token vesting compliance checks.
Connect physical MINY collectibles to wallet capabilities. NFC tap to AccessPass.sol mint to agent activation.
- PlannedEdition SetupCreate NFC edition, program chips, configure access tiers.
- PlannedTap ProcessingNFC tap event, signature verification, AccessPass.sol mint on Base.
- PlannedWallet ActivationMap AccessPass ownership to wallet permissions and budget credits.
API reference
Comprehensive endpoint docs, data model schemas, error codes, and contract ABIs.
Full request/response reference for all 22+ endpoints across 10 route groups. For interactive exploration, see /docs.
- Live at /docsHealth & WalletsGET /health, POST /wallets, POST /wallets/{id}/fund, GET /wallets/{id}/balances
- Live at /docsPolicies & AgentsPUT /policies, POST /agents, GET /agents/{id}, scope management
- Live at /docsSpending LifecyclePOST /spend/propose, POST /spend/{id}/approve, POST /spend/{id}/execute
- Live at /docsStrategies & x402GET /strategies, POST /strategies/recommend, x402 paywall integration
- Live at /docsNFC & OnchainPOST /nfc/tap, GET /nfc/editions, POST /onchain/intents
Recommended reading order
- BLUEPRINT.md — Strategic vision, regulatory posture, 12-month roadmap
- TECHNICAL-SPEC.md — Data models, API surface, MVP scope
- FIAT-LEDGER-SPEC.md — Decision: fiat-first with Base for proofs
- BASE-INTEGRATION.md — Chain integration, wallet primitives, AA
- X402-AGENTIC-WALLETS.md — Coinbase pipes + 3 revenue streams
- VIRTUALS-INTEGRATION.md — ACP economy, 76x multiplier, epoch payouts