# 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 - [Introduction to Ploy](https://docs.meetploy.com/): Ploy is an open-source, self-hostable serverless deployment platform. Deploy from GitHub or Ploy Git, run serverless workers with databases, queues, and durable workflows, and host it all on your own infrastructure. - [Delegated AI credentials](https://docs.meetploy.com/ai/delegation): Issue short-lived model-scoped credentials to tasks without sharing project credentials or platform signing keys. - [AI](https://docs.meetploy.com/ai): Call OpenAI-compatible models from your workers through the built-in Ploy AI gateway. - [React components](https://docs.meetploy.com/auth/components): Drop-in sign-in, sign-up, and account components for React with @meetploy/auth-react. - [Emails, sign-in links and passwords](https://docs.meetploy.com/auth/emails): Verify users' email addresses, sign them in with a one-time email link or code, let them reset or change their password, customize the emails, and choose the address Ploy Auth sends from. - [Hooks](https://docs.meetploy.com/auth/hooks): Run your own code when users sign up, sign in, verify their email, or change their password. Refuse sign-ups, edit new accounts, and sync users to other systems. - [Hosted pages](https://docs.meetploy.com/auth/hosted-pages): Ready-made sign-in and sign-up pages served on your own domain, with no UI code. - [Authentication](https://docs.meetploy.com/auth): Add managed sign-in with email and password, email sign-in links, passkeys, and Google, Apple, or GitHub to your applications with Ploy Auth. - [Migrating to Ploy Auth](https://docs.meetploy.com/auth/migrate): Map Supabase Auth and Clerk concepts and APIs to Ploy Auth. - [Next.js helpers](https://docs.meetploy.com/auth/nextjs): Read the session in Server Components, Route Handlers, and Server Actions, and protect routes with middleware. - [Passkeys](https://docs.meetploy.com/auth/passkeys): Passwordless sign-in with Face ID, Touch ID, Windows Hello, and security keys. - [React with Vite](https://docs.meetploy.com/auth/react): Add sign-in to a React single-page app built with Vite and deployed on Ploy. - [Sessions](https://docs.meetploy.com/auth/sessions): How long Ploy Auth sessions last, how active sessions are extended, the maximum session age, and the session cookie cache. - [Social sign-in](https://docs.meetploy.com/auth/social): Let users sign in with Google, Apple, or GitHub. - [Sessions across subdomains](https://docs.meetploy.com/auth/subdomains): Sign users in once across every subdomain of your verified custom domain. - [Users and data](https://docs.meetploy.com/auth/users): How Ploy Auth stores users, hashes passwords, and how to reference users from your own data. - [Email](https://docs.meetploy.com/email): Send transactional email from your projects using your organization's ploy.email domain or your own domain. - [Email in workers](https://docs.meetploy.com/email/workers): Send email from your worker code and receive email in an email() handler. - [Databases](https://docs.meetploy.com/databases): Add SQLite databases to your workers with Ploy. - [Configuration](https://docs.meetploy.com/platform/configuration): Configure your Ploy projects with ploy.yaml - [Deploy to Ploy button](https://docs.meetploy.com/platform/deploy-to-ploy): Let users clone a GitHub template, configure secrets, and deploy it to Ploy. - [Environment Variables](https://docs.meetploy.com/platform/env-vars): Use environment variables in your workers with .env file support and dashboard secrets. - [Platform](https://docs.meetploy.com/platform): How Ploy builds and deploys your projects โ€” Git sources, preview deployments, ploy.yaml, environment variables, and the rules that decide what gets deployed. - [Monorepos](https://docs.meetploy.com/platform/monorepos): Deploy multiple Ploy projects from one repository and share local emulator state across them. - [Move a project's source](https://docs.meetploy.com/platform/move-source): Move a project between GitHub and Ploy Git with its full history, or deploy from a Ploy Git mirror of a GitHub repository. - [Ploy Git](https://docs.meetploy.com/platform/ploy-git): Deploy without GitHub. Ploy hosts your repository; push to it with plain git and every push deploys. - [Product Analytics](https://docs.meetploy.com/platform/product-analytics): Identify consenting users, find their events and inspect connected Web and request activity - [Skew Protection](https://docs.meetploy.com/platform/skew-protection): Pin a client's requests to the deployment that served its page, avoiding version-skew errors after a new deployment goes live. - [Web Analytics](https://docs.meetploy.com/platform/web-analytics): Cookieless pageview, visitor and session estimates for your sites - [Queues](https://docs.meetploy.com/queues): Add message queues to your workers for background processing. - [Sandboxes](https://docs.meetploy.com/sandboxes): Run commands, manage files, and execute code in isolated, long-lived sandboxes from your workers. - [Cache](https://docs.meetploy.com/workers/cache): Add a Redis-backed, ephemeral key-value cache to your workers with optional TTL expiry. - [Cron Triggers](https://docs.meetploy.com/workers/cron): Schedule your workers to run on a recurring basis using cron expressions. - [File Storage](https://docs.meetploy.com/workers/file-storage): Store and retrieve files with an S3/R2-like API. - [Workers](https://docs.meetploy.com/workers): Deploy serverless workers on Ploy โ€” HTTP handlers with fast cold starts, plus cron triggers, timers, state, cache, and file storage. - [Service Bindings](https://docs.meetploy.com/workers/service-bindings): Call another deployment in your organization directly from a worker, over Ploy's private network instead of its public URL. - [State](https://docs.meetploy.com/workers/state): Add durable key-value storage to your workers with a Cloudflare KV-compatible API. - [Timers](https://docs.meetploy.com/workers/timers): Schedule durable one-shot and recurring timers that fire your worker at a specified time. - [Workflows](https://docs.meetploy.com/workflows): Build durable, multi-step workflows with automatic retries and state persistence. ## CLI - [ploy dev](https://docs.meetploy.com/cli/dev): Start the local development server with hot reloading. - [ploy git & ploy push](https://docs.meetploy.com/cli/git): Push to a project's Ploy Git repository from the command line. - [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 - [Cron Triggers](https://docs.meetploy.com/nextjs/cron): Run scheduled jobs in your Next.js app with Ploy cron triggers. - [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. ## 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.