Most software rests on the assumption that the same input gives the same output, and that a wrong output means the code has a bug. An application with a model inside it breaks that assumption, because the model returns something plausible every time, some of it is wrong, the application cannot always tell which part, and the response takes seconds to arrive where ordinary code would take milliseconds. If the product is designed as though the model were an ordinary function, it will show wrong answers with the same confidence as right ones.
For that reason, most of the work is product and application engineering. For each place where AI output appears, we decide what the user can do when it is wrong, which might mean editing it, rejecting it, seeing where it came from or carrying on without it. We also decide what the screen shows while a response is being generated and what happens when the provider is slow or unavailable, and we make sure each correction a user makes is captured so the team learns which outputs fail, since none of these questions can be settled by improving the prompt.
We build the whole application, which covers the interface, the backend, the model calls, the data access, the tests and the operations around it. The AI parts sit behind clear interfaces, so they can be tested, measured and changed without touching the rest of the code. Where ordinary code can do a step reliably we write ordinary code and use the model only in the places where its value justifies its cost and its uncertainty.