Start here
How the build works
Building on AALY feels like working with a software architect. Your agent asks questions first, writes a plan (PRD) you approve, reviews the architecture, checks each rule against sample data, publishes the app and hands you a user guide.
When your agent connects to AALY, it receives this method along with the tools. This page describes it from your side of the conversation. You don't need to memorise it. It helps to know what's coming and why the agent asks before it builds.
The agent is told to talk to you in plain language. You'll hear "members", "classes" and "your studio", and you won't see tool names, record ids or error codes unless you ask for them.
The phases at a glance
| Phase | What you do | What gets written down |
|---|---|---|
| 0. Orient | Say whether this is a new app or one you started before | Nothing new |
| 1. Discover | Answer a few rounds of questions about your business | Notes, in your words |
| 2. Fit check | Agree how each need will be built | Notes on the agreed approach |
| 3. Plan | Read the summary and approve the plan | The PRD, marked approved with your words and the date |
| 4. Design | Approve the short list of hard-to-change decisions | Architecture and decisions documents |
| 5. Build the backend | Add secret keys if the app needs any | Updates to the architecture if anything changed |
| 6. Build the frontend | Pick a design direction | Where the source code lives |
| 7. Seed and verify | Nothing, unless a check can only be done by you | Test report |
| 8. Publish | Nothing | Test report updated with the live check |
| 9. Hand over | Sign in for the first time; read the guide | User guide |
A small change to a finished app doesn't need all ten. "Add a phone number to members" is a quick check on whether you'll ever filter by it, then build and test. A new app gets every phase.
Discovery: what you'll be asked
The agent starts with your story ("How do members book today, and what goes wrong?"), plays it back to you, and then asks about one topic at a time. Each question comes with a suggested answer. Typical topics:
- Who uses it, and what each person may do. Owner, staff, trainers, members. Every "only staff can..." becomes a written rule.
- Separate businesses or locations. Should Northside members ever see Riverside classes? This one is hard to change later, so the agent explains why it asks.
- How people get in. Open sign-up, or only people you add.
- Email confirmation and Google sign-in.
- The main things you track and their life story. A booking goes from booked to attended, no-show or cancelled.
- Edge cases. A full class, an expired pack, a late cancellation.
- Money, notifications, files, reports and integrations.
- How many people and records, and when you want to launch.
- The look you like.
If you say "whatever you think is best", the agent picks a common default, tells you in one line, and marks it as an assumption you can change.
It will also offer two or three ideas, such as automatic waitlist promotion, an audit trail of who changed what, or an owner's dashboard. Accepted ideas go in the plan. Parked ones go under "later".
The fit check
Before writing the plan, the agent maps every requirement to the way AALY builds it and agrees the approach with you, so there are no surprises later.
If you have an idea for AALY itself, the agent can vote for a feature request or file a new one with your situation in your words, with your OK. That's how the AALY team hears what to build next. If the agent hits something that looks like a bug in AALY, it files a support ticket with the details.
The plan (PRD)
The plan is written in your language but precise enough to test. It covers:
- the problem and two to four measurable goals;
- each role, what they can do and what they must not be able to do;
- how the businesses or locations are separated and how people join;
- features, each with acceptance criteria ("Given one spot left, when two members book at the same moment, exactly one gets it");
- the screens;
- numbered business rules, which the agent later checks against sample data;
- the integrations and keys needed, what's out of scope, and open questions.
You see a short summary first and can ask for any part in full. When you approve, the agent records your exact words and the date. "Just build it, I trust you" counts as approval. If you change your mind later, the plan gets a new version and the agent asks again only about the change.
Design: the decisions that are hard to change
Most things are easy to change later: labels, required fields, the options in a list, the rules in your Functions, the whole frontend. A few are not:
- whether your locations or businesses are separate;
- which details you can search and filter by;
- whether something holds one value or several ("can a class have more than one trainer?");
- what a link points to;
- the web address of the app.
Changing one of these later means a data migration. So the agent runs the draft design through AALY's design review, fixes what it flags, and shows you the short list in plain words before creating anything. Your OK is recorded in the decisions document.
Building
The backend is mostly configuration. The agent creates the project (which comes with its test and live tenants), defines your records and fields, switches on the sign-in settings you chose, and writes Python Functions for your own business rules, such as "cancelling less than 12 hours before class keeps the credit". Messages that members see when a rule refuses something are written for them: "This class just filled up. You're on the waitlist."
Rules about who may do what, such as "only staff can add classes", are enforced by a server-side check in the app's Functions, and the agent checks them against sample data like any other rule.
Then it writes the frontend. It offers two or three design directions tied to your business and recommends one. Every screen in the plan gets built, with sign-in, "Forgot password" and a reset-password page.
Things you add yourself. Secret keys (Stripe, Slack, an email provider)
stay out of the chat. You add each value in the AALY console at
app.aaly.io/projects/<id>/config, with click-by-click steps from the agent,
and the agent confirms they're in place. A
Google sign-in client, if you want one, is created in your own Google Cloud
account, and the agent walks you through that too.
Where the code lives. In Claude Code, Cursor or Codex, the frontend source stays in a folder on your machine (the agent suggests putting it in git). On claude.ai, the agent gives you the source to download or asks you to connect a repository.
Testing
Every project has a test tenant next to your real one. The agent fills it with believable sample data (a mix of full and empty classes, expired packs, a member with two no-shows) and checks each rule against that data. That includes what must be refused, and races such as two members booking the last spot at once. It runs the checks against the real API, fixes what fails, and re-runs them.
The result is a test report: each check, the rule it covers, pass or fail, and short evidence. A check the agent couldn't run is marked "not run", never "pass". Your live tenant gets no sample data.
Publishing
The agent publishes the frontend to https://your-name.aaly.cloud and waits
until the deployment reports that the address is reachable. The first publish
of a new site can take about 90 seconds. It then signs in on the live site as
the test user and walks the main path before telling you the app is live. It
can also switch the site back to any recent earlier version with no rebuild;
visitors see the switch within about 20 to 30 seconds.
Handover
You get a short message with your link, how to sign in the first time, and the few things you must know. The full user guide is saved in your project. It covers:
- what the app does and your link;
- your first sign-in ("Forgot password" with your AALY email, or Google if your AALY account uses Google and the app has Google sign-in on);
- how members and staff get in;
- each screen, with numbered steps and button names;
- the test area, and why to ignore it;
- what was tested;
- how to ask for changes, and where the code lives.
The project is then marked live, and the agent suggests two or three next steps from your "later" list.
What "done" means
An app is done when all of these are true:
- the plan is approved, and every feature in it is built or moved to "out of scope" with your agreement;
- each rule has been checked against sample data, and the test report records the result;
- the frontend is published and reachable, and the test user has signed in on the live address;
- sample data lives only in the test tenant;
- the user guide is saved, the project is marked live, and you know where the source code is.
The documents in your project
| Document | What it holds |
|---|---|
| Notes | Your answers in your words, assumptions, agreed approaches, design direction, where the source lives |
| PRD | The plan you approved, versioned |
| Architecture | How each requirement maps onto AALY, and where each rule is enforced |
| Decisions | The hard-to-change choices you approved, and anything decided on the way |
| Test report | Every check, its result and evidence |
| User guide | How to use the app, written for you and your staff |
Any agent you connect later reads these first. That's how a new conversation, or a different agent, picks up where the last one stopped.