# Ploy > Ploy is an open-source, self-hostable serverless deployment platform. Connect a GitHub repository for automatic builds and branch deployments, run serverless workers with SQLite databases, message queues, and durable workflows, and ship AI-powered apps through a built-in OpenAI-compatible gateway. Managed user auth and a local development emulator are included. ## Key facts - GitHub integration with automatic builds and branch-based deployments, including deployment status tracking and build logs. - Serverless workers with fast cold starts, per-worker SQLite databases, message queues, durable workflows, file storage, cron, and timers. - Built-in OpenAI-compatible AI gateway and managed user authentication (email/password, sessions, React components). - Develop locally with the `@meetploy/cli` (`ploy dev`, `ploy build`) and `@meetploy/emulator`; build workers with the `@meetploy/start` SDK and integrate with `@meetploy/nextjs`. - Open source and self-hostable via Docker/Kubernetes, or use the managed cloud. Docs: https://docs.meetploy.com · Site: https://meetploy.com ## Product pages - [Home](https://meetploy.com): Open-source serverless deployment platform. - [Pricing](https://meetploy.com/pricing): Plans and pricing. - [Changelog](https://meetploy.com/changelog): What shipped recently. - [Blog](https://meetploy.com/blog): Guides and announcements. ## For LLMs - [llms-full.txt](https://docs.meetploy.com/llms-full.txt): The full text of every page below, concatenated into one file. - Append `.mdx` to any docs URL (or prefix it with `/llms.mdx`) to fetch that page as raw markdown. ## Getting Started - [Configuration](https://docs.meetploy.com/configuration): Configure your Ploy projects with ploy.yaml - [Introduction to Ploy](https://docs.meetploy.com/): Ploy is an open-source, self-hostable serverless deployment platform. Deploy from GitHub, run serverless workers with databases, queues, and durable workflows, and host it all on your own infrastructure. ## CLI - [ploy dev](https://docs.meetploy.com/cli/dev): Start the local development server with hot reloading. - [CLI Overview](https://docs.meetploy.com/cli): The Ploy CLI for local development, type generation, and building workers. - [ploy types](https://docs.meetploy.com/cli/types): Generate TypeScript type definitions from your ploy.yaml bindings. - [ploy vite](https://docs.meetploy.com/cli/vite): Run Vite apps with ploy.yaml-managed config. ## Ploy Start SDK - [Authentication](https://docs.meetploy.com/start/auth): Add user authentication to your Next.js application with Ploy Auth. - [Database](https://docs.meetploy.com/start/database): Integrate Drizzle ORM with databases in Ploy Start. - [Getting Started](https://docs.meetploy.com/start): Build type-safe Cloudflare Workers with Ploy Start framework. - [Queues](https://docs.meetploy.com/start/queues): Handle queue messages with type-safe payload validation. - [Routes](https://docs.meetploy.com/start/routes): Define type-safe HTTP routes with Zod validation. - [Workflows](https://docs.meetploy.com/start/workflows): Build durable workflows with step functions and automatic retries. ## Next.js - [Database](https://docs.meetploy.com/nextjs/database): Use SQLite databases in your Next.js app with Ploy. - [Next.js](https://docs.meetploy.com/nextjs): Deploy Next.js applications with Ploy's serverless runtime. - [Queues](https://docs.meetploy.com/nextjs/queues): Process background jobs in your Next.js app with Ploy queues. - [Workflows](https://docs.meetploy.com/nextjs/workflows): Build durable multi-step processes in your Next.js app with Ploy workflows. ## Vite & TanStack Start - [TanStack Start](https://docs.meetploy.com/tanstack-start): Run TanStack Start apps on Ploy with the ploy() Vite plugin — server routes, prerendering, and ploy.yaml config. - [Vite](https://docs.meetploy.com/vite): How the Ploy Vite integration works and how to configure it for Vite apps. ## Features - [AI Integration](https://docs.meetploy.com/features/ai): Build AI-powered applications with OpenAI-compatible models in your Ploy workers. - [Authentication](https://docs.meetploy.com/features/auth): Add managed user authentication to your applications with Ploy Auth. - [Cache](https://docs.meetploy.com/features/cache): Add a Redis-backed, ephemeral key-value cache to your workers with optional TTL expiry. - [Cron Triggers](https://docs.meetploy.com/features/cron): Schedule your workers to run on a recurring basis using cron expressions. - [Databases](https://docs.meetploy.com/features/db): Add SQLite databases to your workers with Ploy. - [Environment Variables](https://docs.meetploy.com/features/env-vars): Use environment variables in your workers with .env file support and dashboard secrets. - [File Storage](https://docs.meetploy.com/features/file-storage): Store and retrieve files with an S3/R2-like API. - [Monorepos](https://docs.meetploy.com/features/monorepos): Deploy multiple Ploy projects from one repository and share local emulator state across them. - [Queues](https://docs.meetploy.com/features/queues): Add message queues to your workers for background processing. - [Sandboxes](https://docs.meetploy.com/features/sandboxes): Run commands, manage files, and execute code in isolated, long-lived sandboxes from your workers. - [Skew Protection](https://docs.meetploy.com/features/skew-protection): Pin a client's requests to the deployment that served its page, avoiding version-skew errors after a new deployment goes live. - [State](https://docs.meetploy.com/features/state): Add durable key-value storage to your workers with a Cloudflare KV-compatible API. - [Timers](https://docs.meetploy.com/features/timers): Schedule durable one-shot and recurring timers that fire your worker at a specified time. - [Workers](https://docs.meetploy.com/features/workers): Deploy serverless workers on Ploy with Cloudflare's workerd runtime. - [Workflows](https://docs.meetploy.com/features/workflows): Build durable, multi-step workflows with automatic retries and state persistence. ## Agent SDK - [Commands](https://docs.meetploy.com/agent-sdk/commands): Built-in commands for workspace management, debugging, and MCP server control. - [createAgent()](https://docs.meetploy.com/agent-sdk/create-agent): Configure and create an AI agent with a single function call. - [Hooks](https://docs.meetploy.com/agent-sdk/hooks): Lifecycle hooks for reacting to agent events with full env and tool access. - [Agent SDK](https://docs.meetploy.com/agent-sdk): High-level SDK for building AI agents on Ploy with built-in tools, durable workflows, and per-user state. - [State & Workspaces](https://docs.meetploy.com/agent-sdk/state): Per-user workspace management and the StateManager API. - [Tools](https://docs.meetploy.com/agent-sdk/tools): Built-in tools and type-safe custom tool definitions with defineTool(). - [Workflows](https://docs.meetploy.com/agent-sdk/workflows): How the durable agent tick loop processes messages and survives failures. ## AI Tooling - [AI Skills](https://docs.meetploy.com/ai-skills): Agent skills for AI coding assistants to build Ploy applications ## Self-Hosting - [Self-Hosting Quickstart](https://docs.meetploy.com/self-host-quickstart): Get Ploy running on your own infrastructure in minutes. - [Self Host Ploy](https://docs.meetploy.com/self-host): Deploy Ploy on your own infrastructure using Docker.