AI & Data Solutions

AI Features and Data Systems That Hold Up After the Demo

Getting a language model to produce an impressive answer takes an afternoon. Getting it to produce a correct, affordable and safe answer every day, inside software people already depend on, is the actual engineering work. This is the part I focus on: the data plumbing, the guardrails, the evaluation and the plain code around the model.

AI & Data

AI & Data Solutions services

  • AI Agent Development

    Agents that call your tools, read your data and take bounded actions, with permissions, approvals and monitoring designed in from the start.

  • Machine Learning Development

    Classical machine learning for tabular data, forecasting and classification, from feature engineering through deployment and drift monitoring.

  • AI Automation

    Automation for document- and message-heavy processes, combining fixed workflow steps with model steps, confidence thresholds and human review.

  • NLP Development

    Text classification, extraction, summarisation, search and sentiment, including multilingual text, using LLMs or smaller fine-tuned models as the task requires.

  • Computer Vision & OCR

    Document OCR and layout extraction for invoices, IDs and forms, with validation, human review and privacy controls for real-world image quality.

Start from the workflow, not the model

Most useful AI products are ordinary software with one or two model calls in the right place. A support tool drafts replies but an agent still sends them. A sales CRM suggests a personalised opening line but the rep edits it. An operations team uploads invoices and only reviews the ones the system is unsure about. In each case the value comes from fitting the model into a step people already do, with clear inputs, a defined output format and an obvious way to correct mistakes.

Integrating a model into an existing application is usually less about the prompt and more about everything around it: which data the model is allowed to see, how responses are streamed to the UI, what happens when the provider times out, and where outputs are stored so they can be reviewed later. I built AI prompt tooling for a CRM on the OpenAI API with WebSockets for real-time updates, and the hard parts were exactly these: state, latency and making the output editable rather than final.

Agents, tool calling and retrieval

Tool calling lets a model request a structured action, such as looking up an order or creating a ticket, which your code then validates and executes. An agent is a loop of these calls toward a goal. That loop is powerful and also where things go wrong, so the useful design questions are which tools exist, what each one is permitted to touch, and which actions need a human to approve them. See AI agent development for how those limits are set.

Retrieval-augmented generation (RAG) is how a model answers from your documents, tickets or product data instead of from its training data. Content is split into chunks, embedded and stored in a vector index such as PostgreSQL with pgvector or a dedicated engine like Qdrant. At query time the most relevant chunks are retrieved, filtered by the user's permissions, and passed to the model. Retrieval quality decides answer quality far more than model choice does, and permission filtering is not optional when the data includes anything private.

Automation, documents and prediction

Not every AI problem is a chat problem. Several common needs map to different techniques, and picking the right one saves money and reduces risk.

Matching the problem to the technique
ProblemUsual approachWhere it is covered
Repetitive email, form or ticket handlingDeterministic workflow with model steps for reading and classifyingAI automation
Pulling fields from invoices, IDs or scanned formsOCR and layout extraction, then validationComputer vision and OCR
Classifying, extracting or searching text at volumeLLMs or smaller fine-tuned modelsNLP development
Churn, demand, risk or pricing on tabular dataClassical ML such as gradient-boosted treesMachine learning development
Knowing what happened and what is likely nextData pipelines, a warehouse, dashboards, forecastingData science and predictive analytics

Underneath all of these sits the same requirement: clean, reachable data. If customer records live in three systems with different IDs, the first deliverable is often a pipeline that reconciles them, not a model.

Evaluation, monitoring, security and cost

A model-backed feature needs the same discipline as any other production code, plus a few things specific to probabilistic output. I write about the evaluation and cost side in more detail in building AI features that ship.

  • Evaluation: a set of real examples with expected outcomes, run every time a prompt, model or retrieval setting changes, so improvements are measured rather than assumed.
  • Monitoring: logged inputs, outputs, latency, token usage and user corrections, with alerts when error rates or costs move.
  • Prompt injection: any text the model reads, including emails, web pages and uploaded files, can contain instructions. There is no complete fix, so the defence is limiting what the model can do: least-privilege tools, validated outputs and confirmation for sensitive actions.
  • Data privacy: sending only the fields a task needs, redacting personal data where possible, and checking each provider's retention and training terms before production data goes anywhere.
  • Cost: choosing the smallest model that passes the evaluation set, trimming context, caching repeated prompts where the provider supports it, and batching work that does not need an instant answer.

When conventional software is the better choice

Some problems that arrive labelled as AI are better solved without a model. If the rules can be written down, a rules engine or a few well-tested functions will be faster, cheaper, fully predictable and easy to audit. Routing a form by its dropdown value, calculating a discount, validating an IBAN or sending a reminder three days before a due date are all deterministic tasks.

The same applies to analytics. A well-built dashboard that answers the questions a team asks every week is often worth more than a predictive model nobody trusts. Prediction makes sense once the descriptive numbers are reliable and someone has a decision that a forecast would change.

Technology

Technologies used in AI & Data Solutions

Model providers

  • OpenAI API
  • Anthropic API
  • Google Gemini

Orchestration and agents

  • LangChain
  • LangGraph
  • Node.js
  • NestJS
  • Bull Queues

Retrieval & vector search

  • PostgreSQL + pgvector
  • Qdrant
  • Embeddings

ML and data

  • Python
  • FastAPI
  • Hugging Face
  • scikit-learn
  • BigQuery

Delivery

  • WebSockets
  • Docker
  • GCP (Cloud Run, Pub/Sub)
  • GitHub Actions
Related work

Projects in this area

Products from my portfolio that involved this kind of work.

  • Instantly.ai preview

    Web

    Instantly.ai

    B2B CRM for cold-email outreach with AI-powered personalization, deliverability and warm-up. Built core CRM modules, AI prompt tooling and real-time updates.

    • Next.js
    • NestJS
    • OpenAI
    • WebSockets
    • Postgres
    View product
  • Publishing.ai preview

    Web

    Publishing.ai

    Generative-AI self-publishing platform that helps authors draft, refine and market full manuscripts end-to-end.

    • Next.js
    • Node
    • OpenAI
    • GCP
    View product
  • Podimetrics preview

    Web

    Podimetrics

    Remote patient monitoring dashboard for diabetic-foot-ulcer prevention. Heatmaps, trends and alerts on top of the smart-mat data pipeline.

    • React
    • Node
    • Data Viz
    • GCP
    View product
  • All projects
Further reading

Related articles

FAQs

Usually not. Most product features work well with a hosted model from OpenAI, Anthropic or Google combined with good prompts, structured output and retrieval over your own data. Training or fine-tuning becomes worth considering when you have a narrow, high-volume task, enough labelled examples, and a cost or latency target that a general model cannot meet.

More services

Other service areas

  • Web Development

    Web apps, stores and content sites built for speed, search visibility and years of maintenance.

  • Mobile App Development

    iOS and Android apps planned around store review, offline use and the backend they depend on.

  • UI/UX & Product Design

    Interface and product design grounded in how it will be built, tested with users and handed off cleanly.

  • Technology Consulting

    Independent technical advice on architecture, data, AI and scope before you commit budget.