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" })

All Modules

39 MCP tools

Deploy

Build, deploy, and manage releases

4 tools

Database

Provision and manage PostgreSQL

5 tools

Domains

Custom domains with auto-SSL

5 tools

Env Vars

Secrets and configuration

3 tools

Scale

Replica management and restarts

3 tools

Errors

Error tracking with deploy correlation

4 tools

Performance

Latency, throughput, error rate

3 tools

Uptime

HTTP health checks and monitoring

5 tools

Logs

Application and build log queries

2 tools

Webhooks

Event-driven HTTP notifications

5 tools