Documentation

Complete guide to integrating IntentGuard

Getting Started

## Installation Install the IntentGuard SDK: ```bash npm install intentguard ``` ## Quick Start 1. Create an account and get your API key from the dashboard 2. Initialize the client: ```typescript import { createIntentGuardClient } from "intentguard/sdk"; const ig = createIntentGuardClient({ apiKey: process.env.INTENTGUARD_API_KEY!, baseUrl: "https://your-deployment.vercel.app", }); ``` 3. Verify a payment intent: ```typescript const decision = await ig.verify({ intent_id: "pay_2026_0001", agent_id: "ag_expense_manager_v1", amount: 250, currency: "USD", recipient: "billing@stripe.com", agent_context: "Renewing approved SaaS subscription.", }); ```