Sign in Get started
Documentation

Build with confidence

Everything you need to integrate Spud into your agent stack. From quick start to advanced governance patterns.

📦

Agent SDK

The core TypeScript/JavaScript SDK. Wrap any agent or LLM call with governance in a single line.

View on GitHub →
🖥️

Server SDK

Server-side SDK for gateway-level enforcement. Deploy policies at the infrastructure layer.

Coming soon
🚀

Quick Start

Get up and running in under 5 minutes. Install, configure, and deploy your first governed agent.

Read guide →
💡

Core Concepts

Understand governance modes, policy evaluation, trust boundaries, and the Spud architecture.

Coming soon
🔌

API Reference

Full API documentation for the Spud platform. REST endpoints, webhooks, and event schemas.

Coming soon
🧩

Framework Adapters

Pre-built adapters for LangChain, CrewAI, AutoGen, and other popular agent frameworks.

Coming soon

Up and running in minutes

1 Install the SDK

npm install @spud/sdk

2 Configure your governor

import { SpudGovernor } from '@spud/sdk'

const gov = new SpudGovernor({
  apiKey: process.env.SPUD_API_KEY,
  mode: 'govern',
  policies: ['pii-protection', 'financial-limits'],
  localEval: true
})

3 Wrap your agent

// Works with any agent framework
const governedAgent = gov.wrap(myAgent)

// Every action is now evaluated against your policies
const result = await governedAgent.run('Process Q4 invoices')

4 Monitor in the dashboard

# Open the Spud dashboard to see real-time agent activity
# → https://spud-admin.vercel.app