All patterns

Replit Agent by Replit/Coding

Save points you can go back to

Replit's agent saves a checkpoint after each piece of work, with a description and a screenshot of your app. When you go back, it says exactly what will be restored: your files, the agent's memory and, if you choose, the database.

A checkpoint in the chat: what was done, when, a thumbnail of the app, and Rollback here or Changes.
A checkpoint in the chat: what was done, when, a thumbnail of the app, and Rollback here or Changes.

About Replit Agent. Replit is a coding platform in the browser. Its agent builds and changes apps from requests written in plain English.

01

What to notice

  1. 1

    Each checkpoint says what was done

    It's named after the task, like "Update dealflow cards to reflect selected filters".

  2. 2

    A screenshot of the app

    A small picture shows what the app looked like, so you find the right moment fast.

  3. 3

    It's clear what goes back

    Files and the agent's memory are restored. The database is a separate checkbox, because it's riskier.

02

Why it works

01

Easy undo makes people braver

People let an agent try bigger changes when going back is simple.

02

The agent's memory goes back too

If only the code went back, the agent would still remember the newer version and get confused.

03

Real data needs extra care

Keeping the database separate means nobody loses real user data by accident.

03

Use it in your product

Do this

  • Save a checkpoint people can return to after every meaningful agent step.
  • Name checkpoints after the task and show a picture of the result.
  • Say exactly what going back will reset, before people confirm.
  • Treat data, code and the agent's memory as separate things to restore.

Watch out

  • Too many checkpoints become noise. Save one per finished task, not per edit.
  • Some things can't be undone, like sent emails or payments. Say so clearly instead of implying everything is reversed.
TagsUndoVersioningAgentsSafetyScreens: Replit

Join the aidesign.gallery list

For new patterns, guides and the book we are writing. It is free.

Unsubscribe anytime. Privacy policy

Related patterns