All guides

Build a First Prototype from a Requirement with Replit Agent

Turn a small idea into a clear request, review the task list in Plan mode, then let Agent build and check the first version item by item.

AINavWritten / Updated Sources checked
On this page

At a glance

This tutorial is for someone using Replit Agent for the first time, with only a rough idea and a wish for a first version they can open and inspect. The official documentation says you can describe what you want in everyday language in the Project Editor chat, and Agent plans, writes code, sets up the environment and tests. The tutorial covers writing a requirement you can verify, reading the plan before anything is built, and checking the result yourself afterward.

Workflow

  1. Requirement layer

    Confirm the text says who uses the app, which actions must work, and what is out of scope. If the requirement is vague, Agent has to guess.

  2. Plan layer

    Plan mode does not change code or data while you review the plan; approve the plan before building.

  3. Result layer

    After the build, walk through each required action with sample data, then decide whether to refine, roll back or publish.

Each stage cites official sources.

Before you start

  • You can open the Project Editor and see the chat input.
  • You have a requirement text with no real names, emails or account details; this guide uses a made-up reading-club book list.
  • You know that Free Mode, Power and Max differ in cost, and you will decide yourself whether to confirm any paid action.

1. Switch to Plan mode first

Enable Plan in the chat input before submitting the substantive app requirement. Plan mode does not change code or data while you review the plan. Review and approve its task list using the later steps before building.

2. Write a requirement you can verify

Type it into the Project Editor chat with three parts: who uses it, the actions that must work, and what is not needed yet. For example: an organizer records a book title and recommender, can mark a book as read, and login and payments are excluded. Use invented data only.

3. Decide whether to pick a project type

The docs describe project type as optional (web app, mobile app, slides and so on). If your description is clear, Agent works out the setup. For a first version, keep to one type; others can be added to the same project later.

4. Review and adjust the task list

Compare each task with your requirement: does every required action have a task, and is anything unrequested present? Say in chat what to remove or add, let Agent update the list, and approve only when it matches.

5. Approve, watch the build, and watch for paid prompts

After approval Agent starts building. The docs say that when a request needs more than Free Mode, Agent may offer a paid Allow once option and asks for confirmation before it starts. Decline if you do not want to spend; Usage in Settings shows consumption.

6. Check the first version with sample data

Open the result and perform each action: add a fictional book, mark it read, refresh and confirm it persists. Note any mismatch and request one change per message, stating what you saw and what you expected.

7. Decide when to stop or publish

When every required action works you can stop; if not, keep refining in chat. The docs place publishing after you are ready, so do not publish until you have confirmed. If a change makes things worse, see the separate checkpoint-restore tutorial.

Original example

Sample requirement (fictional): Build a reading-club book list page. The user is the organizer, who enters a title and a recommender, sees every book in a list, and can mark one as read. No login, payments or notifications for now. Enable Plan before entering the requirement, and expect a task list roughly covering the data structure, an entry form, a list view and a read marker. If login shows up, reply asking to remove the login task, then approve. After the build, add Sample Book One recommended by Member A, mark it read, and refresh to confirm the state is kept. Confirm unrequested login, payment and other features were actually removed. Asking for removal is insufficient; revise and withhold publication if they remain.

Completion checks

  • Every task maps to an action in your requirement.
  • Confirm unrequested login, payment and other features were actually removed. Asking for removal is insufficient; revise and withhold publication if they remain.
  • A sample book can be entered, listed and marked as read.
  • If a paid prompt appeared, you knowingly chose to continue or not.
  • You walked through all acceptance actions yourself before publishing.

Limits

  • The docs say Agent tests its own work, which does not prove your requirement is fully met; verify it yourself.
  • Allowances, prices and available capabilities follow the official Agent billing page and your plan; this guide does not judge cost.
  • Keep real personal data, keys and account details out of prompts and sample data.
  • This covers only a first prototype, not connected services, database migration or several outputs at once.

Verification scope

Based only on reading the official documentation. Login, installation, product API execution, file upload and generated output were not tested; the sample requirement and task list are original illustrations, not real Agent output.

Article sources

Original editorial content; official descriptions and checking suggestions are distinguished.

  1. Replit Agent · Official sources
    View details