Vibe Coding Guide logoVibe Coding Guide

How to Use Replit Agent for Beginners: Build Your First App Step by Step

Replit Agent is the AI builder for the beginner who wants everything in one place. You describe your app in plain words, and the Agent builds it, sets up the database, and puts it on a live link — all in one tab. You do not open three services, you do not wire anything together, and you do not need to know what a database is before you start.

It is also the builder for the beginner who might want to learn code one day, because the code is right there on screen next to the chat. You can ignore it completely — or you can open a file one day and read what the AI wrote. This guide builds a habit tracker with Replit Agent, step by step, with prompts you can copy.

Table of contents

The short answer

Open Replit, start the Agent, and describe your app in one paragraph: what it does, who it is for, and what the first screen should show. The Agent builds a working preview, usually in a few minutes. Then you fix what is wrong one small change at a time, test it like a real user, and publish it to a live link. That is the whole process — the five steps below are just that process, slowed down so nothing gets skipped.

Beginner at a laptop with an AI app builder workspace open, chat panel and app preview side by side


What you need before you start

Almost nothing — that is the point of Replit Agent. But two minutes of preparation saves twenty minutes of fixing later:

  • A Replit account. Free to create, no card. The free Starter plan includes 1 published app, and Free Mode gives you up to 30 hours of chat and up to 60 projects.
  • One tiny idea. A habit tracker, a to-do list, a recipe box. Pick something you would actually use — you will test it far more honestly than an idea you do not care about.
  • One paragraph describing it. Write it before you open Replit: what the app does, who it is for, the three things on the first screen. The guide below gives you the exact paragraph to copy.

That is all. You do not need to install anything, you do not need to know HTML or JavaScript, and you do not need to understand databases — the Agent sets the database up for you.

If you have never vibe coded before, read How to Vibe Code: Step-by-Step Guide for Beginners first. If you want to compare Replit with the other two big beginner tools, read Replit vs Lovable vs Bolt: Which AI App Builder Is Best for Beginners?.

Step 1: Describe your app to the Agent

Open Replit and start a new Agent session. You will see a chat box and an empty preview. Type this prompt — copy it, and change only the words in brackets:

Build a habit tracker app called [Daily Habits] for one person. The first screen shows today's habits as a list with checkboxes: drink water, morning run, read 20 minutes. Checking a box marks that habit done for today and shows a streak count of 7 days at the top. Keep the design clean and simple, with big buttons that are easy to tap on a phone.

Then press send, and wait. The Agent will work for a few minutes — it writes the code, sets up the database, and builds the preview. Agent 4, released 11 March 2026, is noticeably better at finishing a whole app from one description instead of stopping halfway, so let it run until it tells you the preview is ready.

Three things make a first prompt work:

  1. One app, one paragraph. Do not ask for five features at once. The habit tracker above has one list, one streak, one screen.
  2. Name the things on the screen. "A list with checkboxes" is better than "a nice interface" — the Agent can build what you named, and it has to guess what you did not.
  3. Say who it is for. "For one person" tells the Agent not to build logins, teams or sharing — all things that would slow your first build down.
Close-up of hands typing on a laptop keyboard beside a notebook


Step 2: Check the first preview and fix what is wrong

When the preview appears, do not ask for new features yet. First, check what is already there:

  • Click every checkbox. Does the streak count go up?
  • Refresh the page. Are yesterday's ticks still there, or did they vanish? (If they vanished, the database is not saving — tell the Agent.)
  • Open the preview on your phone. Is everything readable, are the buttons big enough to tap?

Now fix what is wrong, one change per message. This is the most important habit in vibe coding: one change, then check. If you ask for five fixes at once, you will not know which one broke something.

Copy a fix prompt like this:

The streak count does not go up when I check a habit. Fix it so checking a box adds one to today's streak, and refreshing the page keeps the streak.

And if something looks wrong but you cannot name it, describe what you see: "The checkboxes are too small on my phone, make them bigger." The Agent is good at visible problems described in plain words.

If you get stuck, Vibe Coding Mistakes Beginners Make (And How to Fix Them) covers the five mistakes almost everyone makes — including asking for too much at once.

Step 3: Add the next feature, one at a time

Once the basic tracker works, add one feature. Just one. Good second features for a habit tracker:

FeaturePrompt to copy
Add a habitAdd a button that lets me add my own habit with a name I type.
Delete a habitAdd a small delete button next to each habit.
Weekly viewAdd a weekly view that shows the last 7 days as a row of ticks and crosses.
Reminder textUnder the list, show one encouraging line that changes each day.

Send one prompt, wait for the preview, test it, and only then send the next. A habit tracker built this way — one feature at a time, each one tested — ends up working. A tracker built by asking for everything at once ends up half-working in five places.

One warning: if the Agent says a feature is done but the button does nothing, do not ask for another feature. Say "The add button does nothing when I click it. Fix it so clicking it adds the habit I typed." Fix first, add later.

Step 4: Test it like a real user

Before you publish, use the app the way a stranger would — because a stranger is about to. Run through this list:

  1. Open the app in a private browser window, as if you have never seen it. Can you understand it in ten seconds?
  2. Check every habit, refresh, and check again. Is everything still there?
  3. Add a habit with a very long name. Does the layout break?
  4. Add a habit, then delete it. Does the streak still make sense?
  5. Open it on your phone. Is anything cut off, too small, or overlapping?

If anything fails, go back to Step 2's method: one fix prompt, one check. Do not publish a tracker that loses data on refresh — that is the one bug your friends will notice first.

And before the link goes public, run the safety checks. Your tracker stores personal data, even if it is only your own habits — check that one user cannot see another user's data, and that no secret is visible in the code. The full checklist is in Vibe Coding Security Risks for Beginners: What Can Go Wrong and How to Stay Safe.

Step 5: Publish and share your link

When the tracker works, publish it. In Replit Agent, publishing is one action — the Agent deploys the app and gives you a live link. The free Starter plan includes 1 published app.

Know the free plan's limit before you share the link: the free published link expires after 30 days. If you want the link to last longer, that is the first reason to look at Core at $20 a month — or to rebuild the tracker in a tool with a longer-lived free link. For a first app, 30 days is plenty: share it, get feedback, and decide later whether it deserves a permanent home.

Share it with one person first. Ask them two questions: "What does this app do?" and "What confused you?" If they can answer the first and have nothing for the second, your app is ready for a wider audience.

A phone showing a published app with a green published banner, laptop behind it


What the free plan gives you

PlanPriceWhat you getWatch out for
Free Mode$0Up to 30 hours of chat, up to 60 projectsChat hours run out on long builds
Starter (free)$01 published appPublished link expires after 30 days
Core$20 a monthPaid plan with more usageCheck the pricing page for current limits

Prices checked 1 December 2026. For the full cost picture across all the tools, read Free Vibe Coding Tools for Beginners: What Your First App Really Costs. And if you are choosing between the big three, the comparison is Replit vs Lovable vs Bolt: Which AI App Builder Is Best for Beginners? — the same habit tracker built three ways would cost you nothing on any of their free plans.

Common mistakes

MistakeWhat happensFix
Asking for everything at onceHalf-working features in five placesOne feature per message, test each one
Never refreshing the previewData that vanishes on reloadRefresh after every feature, check the data is still there
Skipping the phone testButtons too small, layout cut offOpen every build on your phone before publishing
Publishing without the safety checkOther users' data visible, secrets exposedRun the 7-point checklist before sharing any link
Ignoring the 30-day link expiryYour shared link stops workingNote the expiry date, or move to Core if the app matters

The same idea built in Lovable is in How to Use Lovable to Build an App: A Beginner's Step-by-Step Guide — a habit tracker instead of this one, so you can compare the two tools. The Bolt.new version is How to Use Bolt.new to Build an App: A Beginner's Step-by-Step Guide. And if you want more project ideas after this one, Vibe Coding Tutorials: Build Real Projects has five, each with a copyable prompt.

Person holding a laptop showing a colourful habit tracker app with checked habits


Frequently asked questions

Is Replit Agent free for beginners?

Yes, to start. Free Mode gives you up to 30 hours of chat and up to 60 projects, and the free Starter plan includes 1 published app. The limit to know about is the published link: on the free plan it expires after 30 days. Core is $20 a month. Prices checked 1 December 2026 — check the pricing page for current limits.

Do I need to know how to code to use Replit Agent?

No. You describe the app in plain words and the Agent builds it. The code is visible on screen, but you can ignore it completely. The only reason Replit shows the code is that one day you might get curious — and on that day, you can open a file and read what the AI wrote.

What is the difference between Replit Agent and Lovable or Bolt.new?

Lovable and Bolt.new hide the code behind a chat box; Replit is a full workspace where the editor sits next to the chat. Replit also handles the database and the deployment in the same tab. Lovable's first preview usually looks more polished, and Bolt.new's free plan is more generous — Replit's advantage is that you are least likely to outgrow it.

How long does it take to build a first app with Replit Agent?

A habit tracker like the one in this guide takes one afternoon: an hour to build the first version, and another hour of fixing and testing. The Agent itself builds the first preview in a few minutes — the rest of the time is you checking it and asking for fixes, one at a time.

Can I build a habit tracker with Replit Agent for free?

Yes. The whole guide above uses the free plan — Free Mode's chat hours cover a habit tracker easily, and the free Starter plan publishes it. Just remember the published link expires after 30 days, so share it and gather feedback while it is live.

What if the Agent stops halfway or the preview breaks?

First, refresh the preview — half the time it is a loading problem, not a building problem. If the preview is genuinely broken, describe exactly what you see in one sentence ("The checkboxes do nothing when I click them") and ask for that one fix. If the Agent keeps failing on the same thing, simplify: remove the feature that is breaking and add it back later.

Published 1 December 2026. Prices checked 1 December 2026.

Comments