pip install wispr
from wispr import Wispr
w = Wispr(api_key="wispr_sk_...") # pins the enclave measurement
r = w.chat([{"role": "user", "content": "Summarise this agreement and flag the risks."}],
web_search=True, plan="fundamentals")
print(r["choices"][0]["message"]["content"], r["wispr"]["cost_usd"], w.verify_receipt(r["wispr"]))
npm i @wispr/sdk
import { Wispr } from "@wispr/sdk";
const w = new Wispr({ apiKey: "wispr_sk_..." });
const r = await w.chat({ model: "auto", messages: [{ role: "user", content: "Summarise this agreement and flag the risks." }], read_links: true }, { plan: "fundamentals" });
console.log(r.choices[0].message.content, r.wispr.cost_usd, await w.verifyReceipt(r.wispr));
npx wispr login # email, or username + phrase (never sent)
npx wispr keys create --name laptop --budget 25 --cap 0.5
npx wispr ask "Explain the interactions between these three medications."
npx wispr ask --web --effort high --plan split --file notes.md "What is missing from these notes?"
npx wispr image --model chroma --enhance "a lighthouse at dusk, film grain"
npx wispr speak --model kokoro-tts --out hello.mp3 "Read this back to me."
npx wispr attest # enclave measurement vs published build
npx wispr receipt verify receipt.json
npx wispr topup 25 --coin usdc