Developers
The SDK and its documentation are published at launch. This is the shape of the API.
$ npm install @keshi/sdkSend money
import { Keshi } from "@keshi/sdk"; const keshi = await Keshi.signIn(); // passkey await keshi.money.transfer({ to: "@bob.keshi", amount: "12.50", memo: "Lunch", // encrypted end to end mode: "standard" // or "stealth" });
Create an agent
const agent = await keshi.agents.create({ name: "research-bot", policy: { maxPerPayment: "5.00", dailyLimit: "50.00", allowedDomains: ["api.example.com"] } }); // shown once; re-derivable from the passkey const credential = await keshi.agents.credentialFor(agent.id);
Pay an x402 API
import { KeshiAgent } from "@keshi/sdk"; const bot = new KeshiAgent({ apiKey, credential }); // 402 → quote → NEAR policy check → paid → retried const res = await bot.fetch("https://api.example.com/v1/report"); const data = await res.json();
Each guide below is published with the SDK.
Quickstart
Sign in, deposit, send.
SDK
money, agents, view keys, webhooks.
API reference
Every endpoint under /v1.
Agents and x402
KeshiAgent, policies, traces.
Accepting x402 payments
scheme: "keshi", X-PAYMENT, parseX402Payment.
Webhooks
Events and signature verification.
Changelog
What shipped, by date.