Uses a connected wallet, authenticated session, task account, and configured runtime. A signature is shown only after confirmation.
Launch app →Permission before payment
Pactlet gives each task a bounded budget, service allowlist, and expiry. A manager may delegate only narrower authority to specialist agents. The agents never receive a wallet key; they can only request purchases through the backend service.
Available amount equals allocation minus settled spend, pending reservations, and active child allocations. Reservation and availability are updated in one database transaction.
From wallet to bounded run
- 01Connect
Connect a Wallet Standard Solana wallet and sign the ownership nonce.
- 02Create
Describe the task and create its disposable backend-held payment account.
- 03Fund
Review payer, mint, base-unit amount, and recipient before signing on devnet.
- 04Run
Let the manager route a bounded request to the research or analysis agent.
- 05Inspect
Review delegations, decisions, remaining budget, and any confirmed Explorer signature.
Live and simulated stay separate
Runs entirely in the browser to explain allow, reject, cancel, and reject-after-cancel decisions. It signs and broadcasts nothing.
Try simulation →Configuration names
Set values in the deployment environment. Never put private values in browser variables, source control, screenshots, or chat.
NEXT_PUBLIC_APP_ORIGINPACTLET_SESSION_SECRETPACTLET_SIGNER_MASTER_KEYSOLANA_DEVNET_RPC_URLSOLANA_DEVNET_TOKEN_MINTX402_FACILITATOR_URLX402_MERCHANT_URLX402_MERCHANT_PAY_TOAI_API_KEYTYPESAFE_API_KEYRoute overview
/api/auth/nonceCreate a short-lived wallet ownership challenge.
/api/auth/verifyVerify the wallet signature and create the server session.
/api/tasksCreate a task and its narrower manager/specialist delegations.
/api/tasks/:id/funding-transactionBuild the reviewed devnet funding transaction.
/api/tasks/:id/runRoute the prompt and execute the bounded purchase flow.
/api/tasks/:id/cancelBlock new reservations for the research delegation.
Backend-enforced, chain-verified
Budget, service, hierarchy, expiry, cancellation, and idempotency checks are backend-enforced. Solana devnet proves the token transfer and transaction signature. Pactlet does not describe the current MVP as trustless or onchain-enforced.
Read the architecture source ↗What production still needs
- Dedicated signer and key-management infrastructure.
- A production custody and recovery model.
- Continuous reconciliation for unknown settlement states.
- Rate limiting, abuse controls, monitoring, and operational runbooks.
- Optional smart-account or onchain policy enforcement.