Documents · Aiora Code
Build your first application
Describe an app, watch the files appear, run it in the browser panel, then keep iterating in the same conversation.
[Aiora Code](/code) is a conversation with a real development environment behind it. You describe what you want; the agent writes files, runs commands and starts the app. This walkthrough takes one small build from the first message to a running app.
Before you start: Aiora Code is part of Aiora membership, and turns are metered in credits; each turn shows what it cost. Read [What Aiora Code is](/docs?a=code-overview) and [Permissions, approvals and Stop](/docs?a=code-approvals) first if you have not.
1. Start a conversation
Open [Aiora Code](/code) and press **New** in the left rail (or type `/new`). A conversation is the project: the files it writes, the terminal it runs and the app it starts all belong to it, so returning to the conversation returns you to the work.
2. Choose how it should work
- **Work mode**: start in **Plan** if you want to agree the approach first, or **Go** to build straight away.
- **Permission mode**: **Accept edits** is the default and suits a first build.
- **Model**: leave it on **Auto** unless you have a reason to pin one.
3. Describe the application
Say what you want in plain language, and be specific about the one thing it must do rather than listing ten features. A first request that works well names the shape and the outcome.
- “A single page with a form that converts pounds to kilograms, styled simply.”
- “A to-do list that saves to local storage and survives a refresh.”
- “A small tool that turns a CSV I paste into a table I can sort.”
The first turn is usually a plan. Read it before it runs: correcting a plan is cheaper than correcting code.
4. Watch the workspace fill up
As the agent works, files appear in the editor and commands run in the terminal with their output shown. Nothing is hidden behind a spinner: when it says it created a file, the file is on disk, and when it says the server is up, the port answers.
If an approval card appears, read what it wants to do and choose **Allow** or **Deny**. The run waits for you.
5. Run it and open the browser panel
Ask it to run the app, or open the terminal (type `/terminal`) and run it yourself. A running app is served on its own port and shown in the browser panel (`/browser`). That panel is your app answering, so you can click, type and test it for real.
If the browser panel stays blank: It needs a server that is actually listening. Check the terminal for the port it started on and for an error above it. If the app failed to start, the terminal says why, and the fastest fix is to paste that error back into the conversation. See [Troubleshooting](/docs?a=troubleshooting-centre).
6. Iterate in the same conversation
Do not start a new conversation to make a change. Describe the change in the one you are in, and the agent edits the files it already knows about. A new conversation has no memory of the project it just built.
Changes to existing files are shown as diffs before they land, and **Changes** (`/diff`) shows everything since the last commit, so you can see exactly what moved. To try a different direction without losing this one, type `/fork` and continue in the copy.
7. What it costs
Each turn holds credits first, is charged for what it used, and releases the rest. It is never charged more than the hold. Every turn shows its own duration, the tools it used and its cost as it runs, and the settled amounts appear as Code entries in the [Ledger](/credits?tab=ledger).
**Auto** with the default reasoning depth is chosen to be economical. Picking a heavier model or `/think max` is a deliberate choice you make.
8. Come back to it later
A run lives on the workspace, not in your browser tab. You can refresh, navigate away or close the laptop, and the work continues; reopening the conversation replays what happened while you were gone. That is also why closing the tab is not the same as stopping: use **Stop** when you mean stop.
Where to go next
- Start from a ready-made project in [Templates](/templates) and open it in Code.
- Save a prompt you use often as a custom command with `/commands`.
- Learn the craft properly in the [Academy](/academy).
- Aiora Code: Start a conversation and build.
- What Aiora Code is: The environment behind the conversation.
- Permissions and Stop: How much runs without asking.
- Troubleshooting: When the app will not start or a task stalls.
- Templates: Starter projects you can open in Code.