> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendykit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SendyKit Documentation

> Agent-first, human-friendly email ops. SendyKit wraps around Sendy without modifying core, giving humans and agents a modern API, CLI, analytics, AI, health diagnostics, and managed email operations.

## What is SendyKit?

SendyKit is **agent-first, human-friendly email ops** — a Go-powered layer that wraps around your existing [Sendy](https://sendy.co) installation without touching core and gives humans and agents a modern API, CLI, analytics, AI, health diagnostics, and managed email operations.

Think Iron Man's suit: Sendy is the person inside. SendyKit is the armor, the HUD, the weapons systems, the AI assistant, and the flight capability.

<Card title="Quick Install" icon="rocket" href="/quickstart" horizontal>
  Get SendyKit running in under 5 minutes with one command.
</Card>

## Why SendyKit?

<Columns cols={3}>
  <Card title="125 REST Endpoints" icon="code">
    Modern JSON API with proper HTTP methods, pagination, filtering, and structured errors. Sendy's 7 legacy POST endpoints → 125 RESTful endpoints.
  </Card>

  <Card title="240+ CLI Commands" icon="terminal">
    Full CLI with shell completion. Agent-friendly, composable with pipes. No other email platform has this.
  </Card>

  <Card title="AI Authoring" icon="wand-magic-sparkles">
    Generate subject lines, full emails, A/B variants, campaign insights. Bring your own AI provider key.
  </Card>

  <Card title="Analytics Intelligence" icon="chart-mixed">
    Engagement scoring, geographic breakdown, send-time optimization, bot detection, Apple MPP filtering.
  </Card>

  <Card title="Health Doctor" icon="stethoscope">
    68 automated diagnostic checks across 9 categories. Auto-fix safe issues. Scheduled monitoring with alerts.
  </Card>

  <Card title="Multi-Provider SMTP" icon="envelope">
    Use SendGrid, Brevo, Postmark, or any SMTP — not just SES. Encrypted credentials. Automatic failover.
  </Card>
</Columns>

## How It Works

```
┌──────────────────────────────────────────────────────────┐
│                  SENDYKIT EXOSKELETON                    │
│                                                          │
│   REST API  ·  CLI  ·  Admin UI  ·  Visual Editor       │
│   Analytics · AI · SMTP · Doctor · Audit · Billing       │
│                         │                                │
│              reads (never writes core tables)             │
│                         ▼                                │
│              ┌───────────────────┐                       │
│              │  SENDY PHP CORE   │                       │
│              │  Unchanged · $69  │                       │
│              └───────────────────┘                       │
└──────────────────────────────────────────────────────────┘
```

SendyKit reads Sendy's MySQL database and adds its own tables (prefixed `sendykit_`) via versioned migrations. Sendy keeps working exactly as before.

## Choose Your Path

<Columns cols={2}>
  <Card title="Self-Hosted" icon="server" href="/self-hosted/licensing">
    One-time purchase. Install on your server alongside Sendy. Full feature access. Optional managed SMTP pool and AI credits.
  </Card>

  <Card title="SaaS" icon="cloud" href="/billing/overview">
    Managed hosting at sendykit.dev. No Sendy license needed. Subscription pricing with included sending.
  </Card>
</Columns>

## For AI Agents

SendyKit is the **first email marketing platform built for agents as first-class citizens**. Not a dashboard with an API bolted on — an API with optional dashboards.

```bash theme={null}
# Agent manages email with CLI — no dashboard needed
sendykit subscribers add --email lead@example.com --list onboarding --brand 2
sendykit campaigns list --brand 2 --sort open_rate --limit 5 --json | jq '.[0]'
sendykit campaigns create --brand 2 --subject "Re-engagement" --template re-engage.html
```

Agents can also handle premium actions with Stripe-native machine-payment proofs. Use the API and CLI as the primary surfaces, with Stripe machine payments as the live premium-action path.

## By the Numbers

| Metric             | Count  |
| ------------------ | ------ |
| REST API endpoints | 125    |
| CLI commands       | 240+   |
| Admin pages        | 7      |
| Health checks      | 68     |
| Automated tests    | 351    |
| Spec documents     | 30     |
| Background workers | 6      |
| DB migrations      | 7      |
| Binary size        | \~10MB |
