Skip to main content

← Examples

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.
  1. 1You

    Pick a filter on the screen. You already know where it is.

    ExampleStatus → Late
  2. 2Screen

    The component updates the filter state and re-renders the table.

    ExamplesetFiltros({ status: 'atrasado' })
  3. 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.

Interactions: 0Use the filters above. Someone who knows the screen solves it in three clicks.
14 orders · R$9,355
OrderCustomerCityValueStatus
#1042Ana SouzaSão PauloR$820Late
#1043Carlos LimaRio de JaneiroR$310Delivered
#1044Mariana RochaSão PauloR$1,290Late
#1045João PedroCuritibaR$145In transit
#1046Beatriz AlvesBelo HorizonteR$560Late
#1047Rafael CostaSão PauloR$230Late
#1048Juliana MeloRecifeR$975In transit
#1049Lucas FerreiraRio de JaneiroR$640Late
#1050Fernanda DiasCuritibaR$410Delivered
#1051Gabriel NunesSão PauloR$1,540In transit
#1052Patrícia GomesBelo HorizonteR$280Delivered
#1053Thiago RibeiroSão PauloR$705Late
#1054Camila BarrosRecifeR$330Late
#1055Diego MartinsRio de JaneiroR$1,120Delivered

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