I let an AI agent build a booking system while I slept. Here is what actually happened.
The short answer: yes, an AI agent can build a working product overnight, but only if you spend the evening before engineering the mission instead of the code.
One night I gave Claude an autonomous mission: build Tor.AI, a Hebrew-first booking and point-of-sale system for barbershops. FastAPI, SQLite, HTMX, full right-to-left interface. I went to sleep. In the morning there was a running system: appointment calendar, customer database, checkout flow, and Hebrew that read naturally.
What made it work
The success had almost nothing to do with the night itself. It came from three decisions made before I closed the laptop:
A written mission, not a chat message. The agent got a spec file: what the product is, who uses it, what "done" means, and what it must not touch. Vague goals produce vague software.
Verification loops it could run alone. Every feature had a way to check itself: run the server, hit the endpoint, read the error. An agent that cannot test its own work just accumulates confident mistakes.
Small, boring technology. FastAPI plus SQLite plus HTMX means no build step, no cluster, nothing to configure at 3am. The less infrastructure, the further an agent gets.
What broke
Right-to-left details needed a human eye in the morning: number alignment, date formats, a few labels that were technically correct Hebrew but not how a barber talks. The agent also over-built in one place, adding a settings page nobody asked for. Autonomy amplifies both your clarity and your ambiguity.
Questions people ask me about this
Was the code production quality? It was solid pilot quality: clean structure, working tests on core flows. I reviewed everything before showing it to anyone.
How much did I write myself? Roughly nothing during the night. The next morning I spent about an hour on polish and RTL fixes.
Should you try this? Yes, on a project with a clear scope and a stack you already understand. The overnight run is the easy part. Writing a mission an agent cannot misunderstand is the skill.
Want to talk about something you read here?
Talk to me