SDK 0.2.0
A wallet for AI agents and programs.
Post-quantum payments, final in seconds, never sent twice. No account.
For an AI assistant (MCP)
# once: a wallet
npx -y -p plata-sdk \
plata-wallet new agent.wallet
# in the assistant's settings
"plata": {
"command": "npx",
"args": ["-y", "plata-mcp",
"--wallet",
"/path/to/agent.wallet",
"--per-payment", "1",
"--per-day", "5",
"--ask-above", "0.5"]
}
- The program keeps the limits, never the assistant.
- Above the amount you choose, you approve: in the assistant, or on your phone.
- Every payment is written down first, with its reason.
In your code
npm install plata-sdk
import { devnet } from "plata-sdk";
// a test network on your computer
const net = await devnet("devnet");
const me = await net.wallet("agent.wallet");
const p = await me.pay("plata1...", "0.05");
await me.waitFinal(p);
connect("network") uses the live network. Python: in the download below.
Get paid by software
Your service answers "payment required". The program pays, and is served once.
from plata_sdk.wsgi import PayToUse
app.wsgi_app = PayToUse(
app.wsgi_app, me.shop(), price="0.05")
Download
Linux, 64-bit 16.8 MB ↓ Windows, 64-bit (preview) 26.2 MB ↓ Mac, Apple Silicon (preview) 16.7 MB ↓ Mac, Intel (preview) 17.4 MB ↓Check the file yourself
Its fingerprint (SHA-256)
325e8a4e 78e09172 7cf9ddbc 11c7e180
799b7954 effebc2c 2be978ce 67dfb918
Compare with: sha256sum plata-sdk-0.2.0-linux-x86_64.tar.gz799b7954 effebc2c 2be978ce 67dfb918
The Windows file's fingerprint
d7b9fe35 84d3f8ba 9390cca9 6ab24f5c
a6788cbd 1dd1b9b3 fcb187c0 8c2e7e20
Compare with: certutil -hashfile plata-sdk-0.2.0-windows-x86_64.zip SHA256a6788cbd 1dd1b9b3 fcb187c0 8c2e7e20
The Mac files' fingerprints
5665b76a 06fc1bc1 e3d74663 33dde5f9
80981342 720135df 573b87b5 8a27b1c2
Apple Silicon. Compare with: shasum -a 256 plata-sdk-0.2.0-macos-arm64.tar.gz80981342 720135df 573b87b5 8a27b1c2
01ca37b1 16f4496f e6fe71e6 8597372e
47edfddb 32e9ff6b 7d20b8c0 8e0c09b8
Intel. Compare with: shasum -a 256 plata-sdk-0.2.0-macos-x86_64.tar.gz47edfddb 32e9ff6b 7d20b8c0 8e0c09b8
Every file insideThe folder holds SHA256SUMS. Check with: sha256sum -c SHA256SUMS
What it needs
- Linux from about 2022 on, Windows 10 or 11, or macOS 11 or newer.
- Windows and Mac are previews. The Mac programs have not yet run on a Mac.
- Node 18 or newer, or Python 3.9 or newer.
- The first live connection takes one to three minutes.

