Blog

AI 7 min read

AI that has to survive a real Tuesday

A chat widget is not a product. AI in production means grounded answers, clear limits, human handoff and an audit trail - running on the same infrastructure as the rest of your system. Here is how we build it.

Cover illustration: AI that has to survive a real Tuesday

TL;DR

  • Start from a specific job (route a ticket, draft a reply, check a receipt), not from a model.
  • Ground every answer in your own data - orders, docs, policies - and refuse when the data is missing.
  • Never let the model take irreversible actions alone: refunds, prices and account changes go through a human or strict rules.
  • Log prompts, sources, answers and escalations so you can audit and improve.
  • Treat the model as one more vendor API: timeouts, fallbacks, cost limits, monitoring and a way to roll back.

Plenty of companies have an AI demo. Far fewer run AI in production - in a support queue, a back office or a sales flow where a wrong answer costs money or trust. The difference is rarely the model. It is everything around it: what data the model sees, what it is allowed to do, who checks it and what happens when it fails on a busy Tuesday. We build AI features into client platforms and into our own products, and these are the rules we follow.

1. Start from a job, not from a model

"Add AI to the product" is not a requirement. A good AI feature has a narrow job, a measurable result and a clear source of truth. Examples from work we have shipped:

  • Quality checks: in the Prism mystery-shopping platform, AI assistants help editors check grammar, receipts, visit duration and client-specific rules, while speech-to-text with PII redaction turns visit videos into searchable transcripts.
  • Drafting: Integrono Job drafts a proposal from a job posting; a person edits and sends it.
  • Support replies: Integrono Talk drafts answers from a knowledge base inside a shared inbox.
  • Support assistant: a retrieval layer over help-center articles and order status, with escalation to humans.

If you cannot name the job and the data it depends on, you are buying a demo.

2. Ground the model or do not ship

A general model knows nothing about your refund policy, your prices or this customer's order. If you let it answer anyway, it will invent something plausible. Grounding means:

  • Retrieval: fetch the relevant documents, order data or policy snippets and pass them to the model with the question.
  • Instructions to stay inside the sources: "answer only from the context; if the answer is not there, say so and escalate".
  • Citations: keep the IDs of the snippets used, so a human can see why the model answered as it did.
  • Fresh data: live facts such as order status come from your API at question time, not from an index built last week.

A simplified flow:

question  -> classify intent (order status? policy? something else?)
          -> fetch sources (help-center search + order API for this customer)
          -> if no relevant sources: escalate to a human
          -> model drafts answer using only the sources
          -> checks: no prices/refunds promised, language matches, length ok
          -> send (low risk) or queue for human approval (high risk)
          -> log question, sources, answer, decision

3. Guardrails are product work

Guardrails are not a line in the prompt. They are rules in your code:

  • No irreversible actions by the model. Refunds, cancellations, price changes and account access go through a human or a deterministic rule.
  • Roles and permissions. The assistant only sees data the current user is allowed to see.
  • PII handling. Redact personal data before it goes to an external model when it is not needed for the task.
  • Locale awareness. Answer in the customer's language and follow local formats and rules.
  • Rate and cost limits per user and per workspace, so one loop cannot burn the monthly budget.
  • Confidence and escalation. When sources are weak, the topic is sensitive or the customer is upset, hand over to a person - with the conversation and the snippets attached.

4. Keep a human in the loop where it matters

Full automation is the wrong goal for most business processes. A better goal is that people spend their time on decisions rather than on typing. The patterns that work:

  • Draft and approve: AI prepares, a person sends. Good for proposals, support replies and emails.
  • Triage: AI classifies and routes, people handle. Good for tickets and leads.
  • Second reader: AI flags issues, a person decides. Good for quality checks and compliance.
  • Auto-answer with escalation: only for narrow, low-risk questions with strong sources.

5. Log everything you will need for an audit

When a customer complains or a regulator asks, "the AI said so" is not an answer. For every AI interaction we store:

  • The input, the retrieved sources and the model and prompt version.
  • The output and whether it was sent, edited or rejected by a human.
  • Escalations and their reasons.
  • Latency, tokens and cost.

This log is also your best improvement tool: the questions that escalate most often show you which documents are missing.

6. Run the model like any other vendor API

An AI feature that cannot be monitored or rolled back is not production. Put it on the same infrastructure discipline as your payments:

  • Calls go through a queue or have strict timeouts; the user interface never hangs on a slow model.
  • Keys live in secret storage; usage is capped per environment.
  • A fallback exists: another provider, a simpler model or "a person will answer shortly".
  • Prompts are versioned in git and changed through review, like code.
  • Monitoring covers error rate, latency, cost per day and escalation rate.

Wrapping the provider behind your own interface also keeps you free to switch models when prices or quality change - which in our experience happens several times a year.

7. Measure outcomes, not wow

Pick metrics before launch: share of questions answered without escalation, time to first response, editor time per item, number of corrected AI drafts. Compare with the baseline for a few weeks. If the numbers do not move, change the job, not just the prompt.

Production checklist

  1. Narrow job and success metric written down.
  2. Sources identified, accessible and up to date.
  3. Refusal and escalation path tested.
  4. No irreversible actions without a human or a rule.
  5. PII, roles and locales handled.
  6. Full logging and a review screen for humans.
  7. Timeouts, fallbacks, cost limits, monitoring.
  8. Prompt and model versions in git, with a rollback plan.

How we can help

We design and build AI automation that ships in production: grounded assistants, ticket routing, document processing and drafting tools wired into your CRM, billing and support. If you want to check an idea before building, a consultation is the fastest way to find the narrow job worth automating first.

Read also: AI integration for business: a practical 90-day roadmap

Frequently asked questions

What does "grounded AI" mean?

The model answers using your own data - documents, orders, policies - retrieved at question time, and declines or escalates when the data does not contain the answer.

How do you stop an AI assistant from inventing refunds or prices?

Do not give it the authority. Irreversible actions go through a human or a deterministic rule, the model is instructed to answer only from sources, and outputs are checked before sending.

Which AI model should we use?

The one that does your specific job reliably at an acceptable cost. Wrap the provider behind your own interface so you can switch models without rewriting the feature.

Is it safe to send customer data to an AI provider?

Send only what the task needs, redact personal data where possible, check the provider's data-processing terms and log what was sent. For sensitive cases, consider a self-hosted model.

Free discovery call

Bring a messy stack or stalled integration - Integrono will map the smartest first move.

You get a senior take on budget traps, dependencies and whether to buy, glue or build - before paid work starts. The CEO stays in the loop.