Three ways to put AI into software. Same task, different architectures.
Pick an approach and try to solve the task below. Notice how many steps it takes, who decides what shows up on screen, and what happens when the AI gets it wrong.
No AI model is called here. The answers are simulated on purpose, to show the architecture of each approach, not how smart the model is.
TaskFind the late orders from São Paulo above R$ 500.
How it works, step by stepUse the demo below: the steps light up and the examples turn into the real values of your interaction.
- 1You
Pick a filter on the screen. You already know where it is.
ExampleStatus → Late - 2Screen
The component updates the filter state and re-renders the table.
ExamplesetFiltros({ status: 'atrasado' }) - 3API
Always the same call: predictable and easy to test.
ExampleGET /pedidos?status=atrasado
Every click becomes a known call. What you see today is what you will see tomorrow. No model latency, no cost per interaction.
14 orders · R$9,355
| Order | Customer | City | Value | Status |
|---|---|---|---|---|
| #1042 | Ana Souza | São Paulo | R$820 | Late |
| #1043 | Carlos Lima | Rio de Janeiro | R$310 | Delivered |
| #1044 | Mariana Rocha | São Paulo | R$1,290 | Late |
| #1045 | João Pedro | Curitiba | R$145 | In transit |
| #1046 | Beatriz Alves | Belo Horizonte | R$560 | Late |
| #1047 | Rafael Costa | São Paulo | R$230 | Late |
| #1048 | Juliana Melo | Recife | R$975 | In transit |
| #1049 | Lucas Ferreira | Rio de Janeiro | R$640 | Late |
| #1050 | Fernanda Dias | Curitiba | R$410 | Delivered |
| #1051 | Gabriel Nunes | São Paulo | R$1,540 | In transit |
| #1052 | Patrícia Gomes | Belo Horizonte | R$280 | Delivered |
| #1053 | Thiago Ribeiro | São Paulo | R$705 | Late |
| #1054 | Camila Barros | Recife | R$330 | Late |
| #1055 | Diego Martins | Rio de Janeiro | R$1,120 | Delivered |
What to look for in each one
Still essential
Traditional software
- Predictable and fast
- Easy to train people and support
- No cost per interaction
- Rare tasks turn into backlog
- You need to know where everything is
My bet
AI-assisted
- Reuses the screen and rules that already exist
- Same permissions and audit as the product
- Optional shortcut: if you prefer clicking, you click
- Needs well described, typed actions
- The assistant must know when to ask
Worth experimenting
AI-generated
- Great for one-off analyses and reports
- Covers requests that would never become a sprint
- Once saved, the screen opens without calling the model
- Every generation comes out different: that's why the spec is saved
- Needs a component catalog and, above all, a data catalog
- A generated screen that is never reopened was just curiosity
I wrote about why, in most companies, adding AI to what already exists is worth more than rewriting everything.
Read the article