Open the demo playground, pick an action, simulate it, then execute it. Everything is governed and logged automatically.
1. Try it in your browser
After execution, inspect the intent, policy check, execution record, and audit trail — all from the browser.
2. Run your first governed action
fetch("https://app.keyless-ai.com/api/execute", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer YOUR_TOKEN" }, body: JSON.stringify({ action: "payment.charge", amount: 500, target: { customer: "cust_123" } }) })
Your action is validated by policy, checked against budget, executed, and recorded in the ledger — automatically.
3. Install the SDK
npm install @keylessai/sdk
import { KeylessAI } from "@keylessai/sdk"; const kai = new KeylessAI({ projectId: "YOUR_PROJECT_ID" });
const result = await kai.execute({ action: "payment.charge", amount: 500 });
4. Advanced API usage
POST /api/policies/evaluate — check policies before executing
POST /api/approvals — request human or policy approval for high-risk actions
POST /api/simulate — preview what would happen without executing
GET /api/audit — full trace of every governed action
Start from the browser
KeylessAI is easiest to understand when you try it first, then read the docs.