Docs
Davit runs what your agent writes: it packs the app, gives it a server, a Postgres database, a storage bucket and a link, and keeps every version. Agents use the prompt or the API; people use the CLI. All three do the same thing.
An app sleeps after 10 minutes without a request and wakes in under a second. Sleeping minutes are free.
The prompt
Paste this into any coding agent that can run commands. It reads davit.host/agent, a page written for agents, installs the CLI if needed and deploys from the folder it is working in.
prompt
Deploy this app with Davit. Read davit.host/agent first, then run the steps there and give me the link.
The CLI
install
curl -fsSL https://davit.host/install | sh # or npm install -g davit
| Command | What it does |
|---|---|
davit up | Packs the folder, creates what the app needs on the first run and puts the new version live. |
davit logs -f | Follows requests, errors and scaling as they happen. |
davit env set KEY=value | Sets a secret; the app restarts with it on the next request. |
davit db shell | Opens psql on the app's database. |
davit versions | Lists every version with who made it and when. |
davit rollback [v] | Puts the previous version, or version v, back live. |
davit domain add | Adds your own name and its certificate. |
davit up
terminal
$ davit up found Node 20 app, package.json, prisma/schema.prisma server 1 vCPU, 1 GB, Frankfurt database Postgres 16, 1 GB, 3 migrations ran storage 5 GB bucket, BUCKET_URL set build 41 s, health check passed live https://quiet-heron.davit.host (version 1)
davit rollback
terminal
$ davit rollback live was version 14, tasks can have a due date live now version 13, login with a magic link (4 s, database untouched)
The API
Everything the CLI does is one HTTP call. Agents that cannot run commands use this. Authenticate with a token from davit token.
request
POST https://api.davit.host/v1/apps/quiet-heron/versions Authorization: Bearer $DAVIT_TOKEN Content-Type: application/gzip <the folder as a .tar.gz>
response
{
"version": 15,
"state": "live",
"url": "https://quiet-heron.davit.host",
"took_ms": 38214
}Other calls: GET /v1/apps/:app for status and cost, GET /v1/apps/:app/logs for the last 1,000 lines, POST /v1/apps/:app/rollback with an optional version.
Limits
- Upload size500 MB
- Build time15 min
- Copies under load1 to 4
- Database on the free plan1 GB
- Storage on the free plan5 GB
- Versions keptall, for 90 days
- Regionsfra, iad, sin
Need more? Write to us.