# Kapable — The AI-native Backend-as-a-Service

> A backend platform where AI agents and humans build, deploy, and operate full-stack applications. One SDK, one dashboard, one bill.

- **Website:** https://kapable.dev
- **Docs:** https://developer.kapable.dev
- **Console:** https://console.kapable.dev
- **API (JSON):** https://kapable.dev/api/features
- **OpenAPI:** https://api.kapable.dev/openapi.json
- **LLM Docs:** https://developer.kapable.dev/llms.txt

## Core Platform

### Dynamic Data API
Create tables and CRUD rows via REST. Typed or JSONB storage modes. Full-text search, pagination, ordering. Schema branching for safe experimentation. PostgreSQL underneath.

### Real-time (SSE)
Subscribe to any table via Server-Sent Events. Sub-second latency from PostgreSQL WAL. Multiplexed connections, automatic reconnection with exponential backoff.

### Identity & Auth
Sessions, RBAC (owner/admin/member/viewer), JWT tokens with scope bindings for row-level security, OAuth providers (GitHub, Google), SSO (SAML/OIDC), API key management with rotation. Built in, not bolted on.

### Serverless Functions
TypeScript compiled to WASM via Javy. Fuel-metered execution with native database access via Data ABI. Sync call and async invoke modes. Cron and data-event triggers.

### Kapable Apps
Deploy full-stack apps (React Router, Astro, SvelteKit, Hono) from Git. Auto-TLS, custom domains, blue-green deploys with deployment slots, per-environment variables, isolated containers.

## AI Services

### LLM Gateway
Route to any major LLM through one API endpoint via OpenRouter. Chat completions, multi-turn sessions, usage billing, token management. BYOK credentials with presets.

### AI Flows
Visual DAG-based AI workflow orchestration with 30 node types. Budget caps, cost tracking, human-in-the-loop approvals. Canvas editor for drag-and-drop composition.

### Image Generation
Text-to-image via fal.ai. Multiple models, aspect ratios, usage tracking.

### Video Generation
Text-to-video via fal.ai. Prompt-based generation with usage tracking.

### Voice TTS
Text-to-speech via ElevenLabs. Multiple voices, usage tracking.

### AI Transform
Apply natural language instructions to transform text — summarize, translate, extract, rewrite.

### Canvas Design
AI-powered UI design generation. Multi-screen support, design-to-React conversion, design system extraction.

### KAIT (AI IDE)
Give an AI agent a full development environment inside an isolated container. It codes, tests, and deploys safely. Claude-powered with platform awareness.

## Platform Services

### Object Storage
S3-compatible storage with per-org buckets. Presigned upload and download URLs. Persistent volumes that survive blue-green deploys.

### Transactional Email
Send via Resend. Templates, delivery logs, usage tracking, retry with backoff. Channel service for unified email + SMS with batch send.

### Webhooks & Scheduling
Outbound webhooks with HMAC-SHA256 signing, delivery history, and test-fire. Inbound webhooks for external integrations. Cron scheduling for recurring tasks.

### Payments
Stripe integration with BYOK. Checkout sessions, customer portal, subscription management.

### GitHub Integration
GitHub App for secure repo access. Branch-based deploys with webhook auto-deploy. Read-only clone tokens and read-write develop tokens.

### Feature Toggles
Boolean and percentage flags for progressive rollouts. Single and bulk evaluation. SDK included.

### Notifications
In-app notification system with send, list, mark-read, and user preferences.

### Git-backed Vault
Versioned file storage backed by git. CRUD, search, history, directory tree. Encrypted secrets with server-side pgp encryption.

### Pipeline System
Unified DAG pipeline engine for CI/CD. YAML definitions, matrix stages, approval gates, event streaming. Powers both app deploys and AI workflows.

### Schema Branching
Create isolated database branches for experimentation. Promote to main when ready. All data operations support branch routing.

## SDK & Developer Experience

- **TypeScript SDK:** `@kapable/sdk` — 45 resource namespaces, zero dependencies, works with Node 18+, Bun, Deno
- **Auto-retry:** `withRetry()` helper with exponential backoff for rate limits and transient errors
- **Typed errors:** `KapableError` with status, code, requestId, retryable flag
- **Real-time:** Multiplexed SSE with connection state monitoring and LAGGED event handling

## Pricing

| Plan | Price |
|------|-------|
| Hobbyist | $29/mo |
| Pro | $69/mo |
| Business | $199/mo |
| Enterprise | $399/mo |
| Dedicated | $799/mo |

## Getting Started

- **Sign up:** https://console.kapable.dev/signup
- **Docs:** https://developer.kapable.dev
- **API Reference:** https://developer.kapable.dev/api
- **Swagger UI:** https://api.kapable.dev/swagger-ui/

## Comparisons

- [Kapable vs Lovable](https://kapable.dev/compare/lovable)
