hn.today

We deleted almost all our agent code, and other lessons from 100k PRs

lovable.dev13 points2 comments
Screenshot of We deleted almost all our agent code, and other lessons from 100k PRs

Lovable’s development began with a deliberate focus: help non-programmers turn ideas into hosted applications. By targeting new projects and standardizing the technology stack, the team could control the runtime, inspect failures, and improve a shared setup. Its experience across more than 100,000 pull requests and 70 million user-created projects led to a recurring lesson: constrain AI agents to what current models can handle reliably. After experiments with autonomous, delegated agents became unpredictable, the team removed most of that machinery and returned to a more controlled flow: one request produced a bounded set of file edits, which users could review in a live preview. Smaller models selected relevant code, while written “knowledge files,” retrieved for each task, helped prevent recurring mistakes without model training. A later retrieval feature reduced the rate at which users got stuck by 5%.

The team also improved speed by keeping project sandboxes and development servers running, enabling incremental previews and checks rather than full rebuilds. It later developed stateful snapshots that preserve a machine’s memory, processes, and files, so agents can resume work or test alternative approaches from the same environment. The next challenges go beyond generating applications: safely automating testing, deployment, maintenance, and security; supporting many kinds of software and operating environments; and building stronger foundations for observability, synchronization, and verifiable privacy. The broader ambition is a platform people can trust to run businesses, not merely an AI tool that writes code.

Read on lovable.dev2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.