Introduction to Ploy
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.
Connect a GitHub repository and every push builds and deploys automatically, with its own URL for each branch. Your workers get SQLite databases, message queues, durable workflows, file storage, and managed user auth out of the box — with no servers to manage and nothing running when there is no traffic.
Get started
CLI
Develop locally with ploy dev, generate types, and build your project.
Ploy Start
Build type-safe workers with Zod validation, Drizzle ORM, and generated OpenAPI docs.
Next.js
Use databases, queues, and workflows from Next.js server components and actions.
Vite
Deploy Vite apps, including TanStack Start, with the ploy() plugin.
Configuration
Every ploy.yaml option: build settings, bindings, environments, and routes.
Self-Host
Run the whole platform on your own infrastructure with Docker.
Features
Workers
Deploy serverless functions with fast cold starts and standard fetch handlers.
Databases
Attach SQLite databases to your workers, with Drizzle ORM support.
Queues
Hand work off to background consumers with message queues built into the runtime.
Workflows
Run durable, multi-step processes with automatic retries and persisted state.
Authentication
Add managed user auth with email/password, sessions, and React components.
AI Integration
Call OpenAI-compatible models from your workers through the built-in gateway.
AI tooling
Ploy is built to be read and driven by AI agents as well as people.
llms.txt
Machine-readable index of every documentation page, for LLM consumption.
llms-full.txt
The complete documentation in a single file for full-context ingestion.
AI Skills
Packaged instructions that teach AI coding agents how to build Ploy applications.
Agent SDK
Build and deploy AI agents with tools, hooks, durable state, and workflows.
How deployments work
- Connect GitHub — authenticate and pick the repositories Ploy may access.
- Configure the project — set the build command and bindings in
ploy.yaml, and environment variables in the dashboard. - Push — every push builds and deploys; each branch gets its own URL.
- Monitor — follow real-time build logs and deployment status in the dashboard.
- Roll back — redeploy any previous deployment in one step.
Hosted or self-hosted
Ploy runs the same either way. Use the hosted platform at meetploy.com to skip setup entirely, or self-host it so your code, environment variables, and databases never leave your own infrastructure.
Next steps
- CLI — develop locally with
ploy dev - Ploy Start — the type-safe framework for building workers
- Configuration — every
ploy.yamloption - Self-Hosting Quickstart — get an instance running in minutes
How is this guide?
Last updated on