Documentation
Learn how to deploy, observe, and manage your infrastructure with While.
The Loop
SHIP → SENSE → FIX → repeat
While is an agent-first PaaS. Your AI agent connects via MCP, deploys your app, monitors production, and closes the feedback loop autonomously.
$ while.deploy.trigger({ env: "staging", git: "github.com/you/app" })
Guides & Reference
Deep Dives
All Modules
Deploy
Build, deploy, and manage releases
Database
Provision and manage PostgreSQL
Domains
Custom domains with auto-SSL
Env Vars
Secrets and configuration
Scale
Replica management and restarts
Errors
Error tracking with deploy correlation
Performance
Latency, throughput, error rate
Uptime
HTTP health checks and monitoring
Logs
Application and build log queries
Webhooks
Event-driven HTTP notifications