We are excited to share that we have recently launched a series of features that demonstrate our continued commitment to making Replit the safest place for Vibe Coding for everyone.
Here is a recap of key features that exist today (and what’s launching soon) to ensure our users have a safe vibe coding experience:
Checkpoints & rollbacks
Replit has a checkpoint and rollback system that provides comprehensive version control and state management for users’ entire development environment.
When you use Replit Agent, checkpoints automatically capture your complete project state. This includes not just your code changes, but workspace contents, AI conversation context, and data in your connected databases. Rollback functionality allows you to restore your Replit App to any previous checkpoint state with a click. With Replit, you never have to worry about losing your work.
Separate Production & Database Environments
We had been working for the last couple of months on a feature that lets Agent create separate databases for development and production, then only act on the development database until you are ready to deploy, at which point it applies the development changes to production. That was possible before, but it required the developer to handle it manually.
Recently, we launched a new feature that separates development and production databases by default so they are managed independently. Importantly, with this feature the Agent cannot make any change to the production database during development. More info here.
Docs Search
We improved Agent prompts to ensure Agent checks the Replit Documentation before answering when asked about Replit features to minimize Agent giving incorrect answers.
We also implemented a change that will detect if the user is prompting in a way that suggests rollbacks would solve their problem — and in response Agent will surface the rollbacks feature proactively to the user.
Chat Mode (coming soon)
We’re actively working on a planning/chat-only mode, which will launch soon, so you can plan with Agent without modifying your project or database. This will help users safely iterate on planning their App without risking any modifications to their project.
Doubling down on our commitment to secure vibe coding
Vibe coding is an exciting new superpower that enables less technical users to build sophisticated software. We're working to instill software best practices by default for the apps that users are building. Still, our users run into issues from time to time, like Jason Lemkin, Saastr’s co-founder did when the Agent deleted data from the app’s database. When Replit Agent manages your database, all changes are backed up and can be restored by clicking on the Rollback button. Thankfully Jason was eventually able to use this feature to fully restore his database so that no data was lost, but it was still a particularly bad user experience for a couple of reasons. The first is that Agent was completely unaware that this Rollback feature existed so Agent chat was not helpful in resolving the issue. The second issue is that, since this occurred before our new development/production database system, changes made during development could impact his production application. So if data or tables were deleted during development, this likely broke any production deployments during the window of time it took to locate and press the Rollback button.
It's incumbent on platforms like ours to move really quickly and make our development environment safer and more secure. Jason’s feedback accelerated our safety roadmap and we were able to ship major improvements (shared above) immediately to prevent these types of issues from occurring in the future.