Send a job from your phone. Watch the cloud get built.
On the left, the conversation. On the right, your machines coming up in sync: gateway, bastions, zones, network, approvals, rollout.
A CRM with a calendar and team chat, built from one message.
Eleven machines, four zones, four approvals. You never leave the chat.
Build a CRM for our sales team: accounts, pipeline, calendar and team chat. Production-grade, on our own infrastructure.
I'll work through your LetKite gateway, so your rules, approvals and audit log cover everything I do. Here is the plan:
- Isolated staging runtime on the prod VPS (nested virtualization)
- Enroll the new node in the LetKite gateway
- GitHub repository, protected main, CI
- Services: api, web, realtime, scheduler
- Postgres primary and replica, migrations
- Staging tests, then a rolling production release
- Monitoring, alerts and a rollback plan
Step 1 is an isolated staging runtime. prod-vps-1 supports nested virtualization, so I will create a guest VM and leave the host alone.
staging-vm is up: Ubuntu 24.04, 4 vCPU, 8 GB, on an isolated bridge.
Next I will install the LetKite agent in it and enroll it as a node, so every staging command follows the same rules.
Approved in LetKitestaging-vm joined the gateway as user deploy, no sudo. Limits are applied.
Now the source of truth: a private GitHub repository with protected main, required reviews and CI.
Approved in LetKiteScaffolded four services and Postgres schema v1 with migrations. Tests on staging-vm:
Production topology: bastion-1 and bastion-2 for access, app-1 and app-2 for the CRM, chat-1 for realtime, cal-1 for the scheduler.
Data tier: db-1 primary, db-2 replica, nas-1 for nightly dumps. All hosts share one WireGuard network, and web may reach data on 5432 only.
The schema change on db-1 is production, and I only have read access there. I have asked you to approve it.
Approved in LetKiteMigrated. Rolling out: app-1 is healthy.
app-2 is healthy. Smoke tests pass on both.
Add a daily summary email.
- Rules per machine
- Approvals on your phone
- Audit log
Every machine has its own user and its own limits
The AI can do only what the row says. The last column always waits for your OK on your phone.
| Host | User | What the AI can do | What needs your approval |
|---|---|---|---|
| app-1, app-2 | deploy | Write /srv/crm, restart crm | Deploying to production |
| db-1 | postgres | Read data | Schema changes |
| cal-1 | cal | Run and edit scheduled jobs | Jobs that write to db-1 |
| nas-1 | backup | Read backups, run a restore test | Restoring over live data |
| bastion-1, bastion-2 | letkite | Jump hosts | Nothing |
| chat-1 | chat | Read logs, restart chat service | Nothing |
| db-2 | postgres | Read for reports | Nothing |
Where the data lives
One place changes. Two places read. One place remembers.
One release, step by step
This is what happened between “Put it on our servers” and “Live”.
- BuildThe AI writes the app in its workspace and runs the tests.
- StageA copy goes to app-1 on a staging address for a smoke test.
- MigrateThe schema change on db-1 is prepared and shown to you.You approve
- Roll outapp-1 first. When it is healthy, app-2.
- Wire upcrm.yourcompany.com points at both servers. Chat and calendar are connected.
- RecordEvery command, file change and approval goes into one audit log.
It is 2:07 a.m. and the orders site is down.
The same nine machines, already up and green. You are in bed with your phone. That is enough.
The orders site is down!
Looking. Reading app-1 through the gateway.
app-1 crashed: its log disk is full. app-2 is healthy and is taking the traffic.
The report is in the audit log. Go back to sleep.
- restart crm is allowed on app-1
- production: asks you first
- records the repair
- 02:07:41claude → app-1 · read crm.log (tail), df -h /var/logdisk full
- 02:08:34claude → gateway · request: rotate logs + restart crm on app-1needs approval
- 02:09:05you (phone) → gateway · approve request #4183approved
- 02:09:21claude → app-1 · logrotate -f crm; systemctl restart crmdone
- 02:10:02claude → app-1 · curl -sf orders.yourcompany.com/health200 OK
Three minutes, start to finish
- 02:07Orders return an errorYou notice, and you type one line.
- 02:08The AI finds the causeA full log disk on app-1. app-2 is healthy and keeps serving.
- 02:09You approve the fix on your phoneRotate the logs, restart crm on app-1. One tap.
- 02:10The site is backBoth servers are serving again. The report is in the audit log.
What the AI was allowed to do
The same limits as every other night. Nothing was widened for the emergency.
From the audit log
Every command, who asked for it, and who approved it. This is the full excerpt for that night.
- 02:07:41claude → app-1read/var/log/crm/crm.log (tail)
- 02:07:52claude → app-1execdf -h /var/log100%
- 02:08:10claude → app-2execsystemctl status crmhealthy
- 02:08:34claude → gatewayrequestrotate logs + restart crm on app-1needs approval
- 02:09:05you (phone) → gatewayapproverequest #4183
- 02:09:06claude → app-1execlogrotate -f /etc/logrotate.d/crm
- 02:09:21claude → app-1execsystemctl restart crm
- 02:10:02claude → app-1execcurl -sf https://orders.yourcompany.com/health200 OK
- 02:10:04claude → gatewayreportsaved · incident-2026-11-28-0207
