New: “The Map of AI”, my book on artificial intelligenceMy book: “The Map of AI”Discover it

Building sites and apps with AI

Describing an app in words and watching it get built is now within everyone's reach. Making one other people can use, with no exposed keys and no surprises, takes method. Here is the right tool, the five-step method and the security checklist not to skip.

Mattia PanattaUpdated 7 minIntermediate
Building blocks forming a browser window
AI-generated illustration
On this page
  1. From “vibe coding” to engineering with agents
  2. Which tool
  3. The five-step method
  4. Security: the checklist not to skip
  5. This site is an example
  6. Mistakes to avoid

In 30 seconds

  • Today you can build a site or a small app by describing it in words. For a prototype it’s revolutionary; for something other people use, you need a method.
  • The most complete environments are Claude Code and Codex; then Cursor, Google Antigravity, Lovable and Replit. They can be used even without coding.
  • The secret is a written description before starting and a plan to approve before the agent builds.
  • Golden rule: never secret keys in code that runs in the browser, and before publishing, test like a real user.

If you’ve already picked your tool, skip to “The five-step method”.

You have an Excel sheet you use for quotes, and every time you send it to someone a formula breaks. Or a business with no website, or one that can’t be read on a phone. Until recently there was one way: pay someone or learn to code. Today there’s a third: describe what you want and have an agent build it, while you stay the one who decides and checks.

From “vibe coding” to engineering with agents

In 2025 Andrej Karpathy coined vibe coding: building software by describing what you want and accepting the code without even reading it. It works surprisingly well for prototypes, personal pages, internal tools.

Then the conversation moved on: agents work for hours on real projects, write tests, run them, fix errors. Karpathy himself talks about agentic engineering: you no longer write code line by line, you design, instruct and verify. The craft changes, it doesn’t disappear, and the part that stays yours is the most important: knowing what to ask for and recognising a good result.

Which tool

Tool For whom Good to know
Claude Code Whoever wants the whole result: site, app, automations, documents My first choice: works on your files, tests in the browser, corrects itself
Codex (OpenAI) People already using ChatGPT Very capable, can also work on several tasks in parallel in the cloud
Cursor Whoever wants to see the code An editor with built-in agents and choice of model
Google Antigravity People living in the Google ecosystem Agentic environment with Gemini
Lovable Whoever wants a prototype online in an hour Very simple; deep customisation is harder
Replit Whoever wants an app with a database, all in the browser Hosting and database included, billed separately

Lovable and Replit feel easier at first because everything is ready in the browser. But Claude Code, Codex and Antigravity are now polished enough to be used even without coding: you describe what you want in plain language, the agent proposes a plan, builds, tests and shows you the result. It takes method, not code.

The five-step method

1. Write what you want before opening the tool

One written page is worth hours of corrections: who will use it, what they must be able to do, which pages or screens, what data it stores, what it should look like, what it must not do. If you don’t know where to start, get interviewed.

Ready-made requestGet interviewed about the project

I want to build [a site for my business / a small quoting app]. Before writing any code, ask me the questions you need, one at a time: who will use it, what it must do, what data it handles, how it should look, what it must not do. At the end write a one-page description I can correct, with a list of the things I must decide. Explain technical choices in plain words.

2. Plan first, then build

With today’s agents you don’t need to go one feature at a time: give the full description, with materials and examples (a site you like, a screenshot, your logo), and ask for a plan to approve. That’s when a correction costs one line. Then let the agent work; it builds and tests on its own in the browser.

3. Test like a real user

Click everything, on computer and phone. Enter wrong data, empty fields, very long text. When something is wrong, describe it the way you’d describe it to a technician: what you did, what you expected, what happened, with the error message. OpenAI’s official Codex guide insists on exactly this: the steps to reproduce the problem matter more than a general description.

Ready-made requestReport a problem so it gets fixed

Problem: [what happens, for example “after pressing Send the form says ‘sent’ but the request doesn’t arrive”].

How to reproduce: 1) [step] 2) [step] 3) [step]. I expected: [result]. What happens: [result, with any error message]. It happens on [phone / computer / always].

Reproduce the problem, find the cause, fix it with the smallest possible change and then repeat the steps to show me it works. Don’t change anything else.

4. Save versions

Use Git or the tool’s version history. When the AI breaks something that worked (it happens) you go back in a second. You can ask the agent to save a version at every step you approve.

5. Publish calmly

Services like Vercel, Netlify or Cloudflare publish a site in minutes, often free for small projects. Before sharing it, the checklist below.

Security: the checklist not to skip

  1. Secret keys only on the server. A key written in the page’s code can be copied by anyone, and someone will use your credit. It goes in the platform’s protected settings, and never passes through the chat.
  2. Spending limits in the dashboard of every pay-per-use service.
  3. Access and permissions. A user must not be able to read another’s data by changing a number in the address.
  4. Personal data. Collect only what’s needed, write a privacy notice, choose suppliers with proper contracts.
  5. Dependencies. Check that installed packages are well known and maintained.
  6. Review. For money, health data or client data, have the project reviewed by a developer before going live.
Ready-made request · Claude Code, CodexA security review before publishing

Before publishing, do a security review of the project: look for keys or secrets in the code sent to the browser, pages or data accessible without permission, forms without submission limits, personal data collected without need, little-known or abandoned packages. For each point tell me the file, the risk in plain words and the fix. Don’t fix anything until I approve.

When you need a developer

Payments, health or financial data, many simultaneous users, integration with company systems: in these cases AI speeds up the work enormously, but you need someone able to judge it. The cost of a mistake far exceeds the savings.

This site is an example

I built this site with Claude Code: pages in two languages, the assistant that answers by searching the pages, the book sale with automatic delivery, the newsletter, bookings. Each piece came from a written description and a final test: a test payment, an email that actually arrived, a page opened on the phone. Not everything was smooth: a couple of problems showed up only after publishing, not on my computer. I tell the story in the book, because they are the most useful mistakes to know in advance.

Mistakes to avoid

  • Starting from the tool instead of the description. The result is a beautiful site that does the wrong thing.
  • Accepting “it works” without trying it on a phone. Many problems only show there.
  • Going live without the security checklist. Especially the rule on keys.
  • Checking only locally. Verify what was actually published: sometimes it differs.

Try it this week

Take an Excel sheet you use often (a quote calculator, a recurring calculation) and ask Claude Code to turn it into a small web page, starting from the “Get interviewed about the project” request. It’s the perfect exercise: a real problem, simple data, a result you can verify by comparing the numbers with the sheet.

In one lineWrite it down, approve the plan, test like a real user: the agent builds, you decide.

Sources

Informational content. Prices, models and rules change often: check official sources before deciding. Written with the support of AI tools.

Found it useful? Keep going

The book · €19.90“The Map of AI”, my bookEverything behind the guides, in a single path, as PDF and EPUB. The first chapter is free.Discover the book →Private lesson · €60/hourOne hour with me on Google MeetWant to apply it to your case? In one hour we set it up together, screen shared.Book a lesson →
Newsletter · freeEvery Monday, what matters

Next guide →How to choose a model and a planEvery week a model comes out "that beats everyone". If you follow the rankings you change plan every month and never learn to use any of them well. Here is what the numbers really measure, and the five-task test that beats any ranking.