
How to build an AI app in seven steps: pick a problem AI changes, choose API, retrieval or custom model, design the data and review loop, build a pilot, evaluate, harden for production and protect what is new. Building an AI app is not hard to start and surprisingly hard to finish. A demo takes a weekend. A product that gives correct answers on a Tuesday afternoon, to a user you have never met, inside a budget, is engineering. This guide walks through the process Speer uses to take AI products from idea to production, written for founders and product leads who need to make the decisions, not write the code.
Start from a task where being wrong is cheap to catch, not from the model. Most first versions should use a hosted model plus retrieval over your own data. Custom models come later, if ever. Evaluation is the product. If you cannot measure whether the answers are good, you cannot ship. Costs are driven by tokens and traffic patterns. Design for them before launch, not after the first invoice.
The best first AI feature is a task people already do, that takes time, has a clear right answer, and where a human can check the output. Summarizing a clinical note for a doctor. Extracting fields from an invoice. Answering a tenant’s question from the building handbook. Bad first problems are open-ended (“an AI assistant for everything”) or high-stakes with no review (“approve the loan”).
There are three ways to put a model in a product. Call a hosted model directly, which is fastest and fine for drafting and classification. Add retrieval, where the app finds the relevant passages from your own content and gives them to the model with the question, which is the right default for anything that has to be accurate about your business. Or fine-tune or train a model, which is justified when you have large proprietary data, strict latency or cost targets, or offline requirements. Nine out of ten first products should be the second option.
Decide what the model is allowed to see, where that data lives, and who checks the output. In regulated sectors this is where HIPAA, PIPEDA and PCI requirements enter: data stays in your environment, access is logged, and anything that affects a person gets a human review step. Design this before writing a prompt; it is far harder to add later.
One user group, one task, real data, four to eight weeks. The pilot should run next to the current process so you can compare. Keep the interface minimal; the value is in the answers, not the chat bubbles. This is also the point to pick a stack: a web front end, a backend that owns prompts, retrieval and permissions, a vector store if you are doing retrieval, and the model provider behind an interface you can swap.
Build a test set of real inputs with known good outputs. Start with fifty, grow it with every failure you find, and run it on every change. Measure accuracy, refusal rate, latency and cost per request. An AI app without an evaluation suite is a demo with a login page.
Rate limits, caching, fallbacks when the provider is slow, monitoring of answer quality over time, cost controls per user, and a way to roll back a prompt change the way you roll back code. Add governance documentation: what the system does, what data it uses, what it must not do, who reviewed it.
If your app solves a technical problem in a new way, document it as you build. Some of it may be patentable; some is better kept as a trade secret. Our guide on whether software can be patented covers the test. Either way, make sure contracts put ownership of code, prompts and data with your company.
An audit and plan in two to three weeks, a pilot in four to eight weeks, a production first release three to five months after kickoff. Cost is driven by the number of integrations, the compliance requirements, how much evaluation data has to be created, and token usage at your traffic. The two mistakes we see most are launching without an evaluation suite and discovering per-request cost after launch.
Choosing the model before the problem. Letting the model answer from general knowledge when it should answer from your documents. No human review step on decisions that affect people. Measuring “it seemed good in the demo” instead of a test set. Treating prompts as code nobody owns, versions or tests. If you want a team that has shipped this before, see custom AI development or book a call.
Pick a task with a checkable right answer, choose between a hosted model, retrieval over your own data or a custom model (usually retrieval), design the data and review loop, build a pilot in one workflow, evaluate against a test set, harden for production and protect what is new. Expect three to five months to a production first release.
You can prototype one with no-code tools and a model API, and that is a good way to test demand. A product that handles real users, private data and compliance requirements needs engineering.
Start with a current hosted model from a major provider behind an interface you can swap. The choice matters less than retrieval quality and evaluation. Move to fine-tuned or custom models only when data, cost or latency demands it.
Cost depends on integrations, compliance, evaluation data and traffic rather than on the model. A scoped pilot is the cheapest way to find out what a production version will take.
A pilot in four to eight weeks; a production first release typically three to five months from kickoff.
An AI development company like Speer takes a product from audit through pilot to production as an embedded team, and can also act as a fractional CTO if you need the decisions made as well as the code written.












