
Before you begin
You’ll need:- A free Replit account (sign up at replit.com)
- A modern web browser (Chrome, Firefox, Safari, or Edge)
This tutorial uses Agent, which is included in the free Starter plan with daily credits. No credit card required.
Build your piano
Start with an idea
Agent is Replit’s AI that builds apps from natural language. You describe what you want, and Agent writes the code, designs the interface, and creates a working app.To communicate with Agent, you write a prompt - a text instruction describing what you want to build. Be specific about what you want to build, how you want it to look, and how it will work.
Start building
Select Start below to open Replit and start building.
Agent builds your piano
Agent will set up your app and start building. You’ll see real-time updates in the Progress tab as Agent creates your piano.
When Agent finishes, it will show you what it built. The process takes about five minutes.

Play your piano
Once Agent completes, navigate to the Preview tab to see and interact with your piano.Click the keys to hear them play and see the realistic press-down animation.Click the keys labeled with these note names to play the tune.
When you find a direction you like, ask Agent to apply it back to your app. Learn more in Canvas.
Your piano design might look slightly different since Agent can generate varied results from the same prompt.
Try playing a tune
Use the note names shown on your piano to play “Mary Had a Little Lamb”:Take it further: Explore design variations on the Canvas
Want to reimagine your piano’s look? Use the Canvas to generate multiple design directions and compare them side by side without touching your live app.Try prompting Agent: “Show me three design variations of the piano app on the canvas.”
Publish your app
Ready to share your piano? Click Publish in the Workspace to publish your app to a public URL that anyone can visit.Learn more in Publishing.
Continue your journey
Now that you’ve built your first app, here’s what to try next:- Build something new: Try creating a game, drawing app, or anything you can imagine with Agent
- Explore design variations: Use the Canvas to generate multiple versions of your app and compare them side by side
- Make visual tweaks: Use the Visual Editor to adjust colors, text, and layout without writing code