Overview
Ask Replit Agent to plan and prototype a small bill-splitting web app with made-up data, then use its browser-based App Testing to click through the main flows and read what it finds.
Problem or Objective
- Which agents turn a plain-language brief into a working app or prototype?
- Which agents write or run tests against an application?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Replit Agent
- Prerequisites
- A Replit account with access to Agent; App Testing may depend on your plan and project type, so check Replit's documentation and pricing.
How It Works
Write down what the prototype must do: add people, add shared expenses, choose who paid and how it is split, and show who owes whom. Ask Replit to plan first and wait for your approval, read the task list, trim anything extra, then approve it. Build the app as a Full Stack JavaScript or Streamlit project, the two kinds the App Testing page says it supports, and use only invented names and amounts. Turn on App Testing and let Agent click through adding people, entering uneven splits and settling up. Watch the replay, note what it fixed, then do your own pass with awkward cases such as a zero amount, a very long name or an odd number of people sharing a cost. Check the totals by hand. Use checkpoints to go back if a change breaks something, and do not deploy it as a real service.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Replit Agent.
- Connect the toolsConnect the tools this workflow relies on: Replit Agent.
- Check the prerequisitesA Replit account with access to Agent; App Testing may depend on your plan and project type, so check Replit's documentation and pricing.
- Gather your detailsCollect what the prompt asks for: Project type that App Testing supports, Ways to split an expense, Awkward case to test.
- Run the starter promptPaste the starter prompt below into Replit Agent and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.replit.com before you rely on it.
Practical Starter Prompt: Plan a bill-splitting prototype
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Plan, and wait for my approval before building, a small [Project type that App Testing supports] web app that splits shared expenses between friends. It must let me add people, add an expense with who paid and how it is split ([Ways to split an expense]), and show a settle-up summary of who owes whom. Use only made-up sample data and store nothing real. Do not add payments, logins or deployment. After I approve the plan, build it, use App Testing to click through the main flows and the edge case of [Awkward case to test], and tell me what you tested and what you changed.Approve the plan before building, review the test replay and changes, and keep the prototype private and on sample data.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Replit's documentation says Agent can plan and wait for approval, tests apps it builds in an actual browser, and creates checkpoints you can roll back to. It does not cover bill-splitting maths, speed or what a given run will cost, so check the split calculations yourself and watch the usage figures as you go.
Limitations and Considerations
Use made-up people and amounts only: do not enter real names, contacts or payment details into a prototype. The app is a sketch, not a payments tool, and rounding in shared costs is easy to get wrong, so verify totals by hand. Each build and test run uses your Replit allowance and paid actions need your confirmation, so check Usage in Settings and your plan before long sessions. App Testing is available for only some project types, so check yours is supported. Review the generated code before sharing the app with anyone, and keep it unpublished. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Replit - Replit (opens in a new tab)
Project documentation · docs.replit.com · Undated · Source checked 2 Dec 2026, 13:21 UTC
What this source supports
- If you want a plan without changes, ask Replit to wait for your approval before implementing.
- Replit also creates checkpoints as it works, so you can roll back to any previous state.
- Paid actions require confirmation before they start.
- App Testing - Replit (opens in a new tab)
Project documentation · docs.replit.com · Undated · Source checked 2 Dec 2026, 13:39 UTC
What this source supports
- App Testing lets Agent test the apps it builds using an actual browser.
- Agent navigates through your application like a real user would, clicking around and validating functionality.
- At this time, App Testing is available for Full Stack JavaScript and Streamlit Python web applications.