Services · SaaS and software companies

AI automation for SaaS and software companies: where is the time going?

A working product, paying users, and an AI feature that is still a prompt in a notebook.

  1. 01Slow inference in productionIt worked in the notebook; in the product the request hangs until the gateway gives up.
  2. 02Agent prototype rescueThe agent demo works twice and loops on the third run, and nobody can say why.
  3. 03Document intelligence in your productUsers upload PDFs and scans and the feature returns free text that breaks the UI.
  4. 04From notebook to shipped featureThe prompt works in a notebook, and nobody owns getting it into the product.
  5. 05Evals, QA and inference costNobody can say whether the last prompt change made it better, and the API bill doubled.
  6. 06Support tickets and in-app helpThe support queue grows with every new customer, and the docs answer half of it.
  7. 07Billing, product and revenue dataStripe, the CRM and the product database each report a different MRR.
  8. 08Enterprise and self-hosted deploymentsThe enterprise deal is stuck in security review over where the AI feature sends data.
  9. 09Customer onboarding and data importEvery new customer brings a competitor’s export, and someone maps it into your schema by hand.
Change industry
SaaS and software companies · Slow inference in production

Still shipping an AI feature that works in the demo and times out in production?

  1. Queued jobs and polling instead of held requests

    A FastAPI job API and a GPU worker as separate services: jobs are queued and polled, not held open until they time out, and the expensive part scales on its own. Your Next.js app shows progress.

    Where a person decides: Every job is tracked from upload to result with status and timing, so your team can audit a run.

    AI productsComplex system · multi-week
  2. Self-hosted models where data must stay

    Open-weight models on your own GPUs, on RunPod or a hardened EU-resident server, served by the same job API and worker, so an enterprise security review does not stall on a third-party API.

    Where a person decides: You sign off the architecture sketch before the build starts.

    AI productsComplex system · multi-week
  3. Typed contracts on every boundary

    Model output validated into a fixed Pydantic schema before the UI sees it, so a new edge case fails loudly in one place instead of shipping as a hotfix. Added to the feature you already run.

    Where a person decides: Your team owns the schema; changes are reviewed like any code.

    AI productsQuick win · days to 2 weeks
  4. Streaming so users see progress, not a spinner

    Server-sent events from the FastAPI job API to your React or Next.js front end, with partial results and step names as they happen, so a long job reads as work in progress, not a hang.

    Where a person decides: Your designers decide what the user sees at each step.

    AI productsQuick win · days to 2 weeks
  5. GPU workers that scale to zero

    The worker runs on RunPod serverless: it starts when the queue fills and stops when it empties, with a warm pool sized to your traffic so the first job of the morning is not the slowest.

    Where a person decides: You set the spend ceiling and the warm pool size.

    AI productsStandard build · 2–6 weeks
  6. Retries, timeouts and dead-letter handling

    Jobs that fail at the model or the worker are retried with backoff, capped, then parked in a dead-letter queue with the error, so nothing silently disappears and nothing loops forever.

    Where a person decides: Your on-call engineer owns the dead-letter queue; no failed job is deleted automatically.

    AI productsQuick win · days to 2 weeks

Closest system I’ve shipped: DentaSmile AI. A live three-service SaaS: Next.js, FastAPI and a RunPod GPU worker, ~110 s per job, queued and polled. Built for dental clinics.

Change area
SaaS and software companies · Agent prototype rescue

Still demoing an agent that loops on the third run?

  1. Prototype rebuilt with one typed shared state

    The prototype rebuilt as a LangGraph graph with one typed shared state instead of message passing, Pydantic-validated outputs at every agent boundary, a QA agent, and retries with correction capped at two attempts.

    Where a person decides: Outputs that fail QA twice are parked for a person with the reason. Nothing loops or fails silently.

    AI systemsComplex system · multi-week
  2. Provider-agnostic model layer

    Models swappable per agent, Claude, OpenAI, Gemini or an open-weight model, without touching orchestration. The typed state and the QA gate stay the same whichever model runs.

    Where a person decides: Your team chooses models per step and can change them any time.

    AI systemsQuick win · days to 2 weeks
  3. Tool calls made safe and idempotent

    Every tool the agent can call gets a typed input schema, a read-only or write flag, an idempotency key and a budget, so a retried step cannot send twice or charge twice.

    Where a person decides: You set the budget per run; a tool that exceeds it stops the run with the reason.

    AI systemsStandard build · 2–6 weeks
  4. Graph replay tests with recorded runs

    Real runs recorded as fixtures and replayed in pytest with model calls stubbed, checking routing, state transitions and tool calls rather than output quality, so a refactor of the graph fails in CI, not in a demo. Output scoring lives in the eval set.

    Where a person decides: Your team decides which runs become fixtures and when they are refreshed.

    AI systemsQuick win · days to 2 weeks
  5. Human-in-the-loop checkpoints inside the graph

    Named pause points in the LangGraph graph where the run waits for a person: approve, edit the state, or reject with a reason. The run resumes from the checkpoint, not from the start.

    Where a person decides: Your product team decides which steps need a person and who that person is.

    AI systemsStandard build · 2–6 weeks
  6. Run traces your support team can read

    Every agent step logged with inputs, outputs, model, tokens and time, viewable per run in a simple page, so “why did it say that” is a lookup rather than a reproduction.

    Where a person decides: You decide retention and who may open a trace that contains customer data.

    AI systemsQuick win · days to 2 weeks

Closest system I’ve shipped: LeadForge AI. 6 agents, one typed shared state, Pydantic at every boundary, pytest over the graph, QA retries capped at two. Built for lead research.

Change area
SaaS and software companies · Document intelligence in your product

Still returning free text from uploads and fixing the UI with hotfixes?

  1. Uploads extracted into your schema, then validated

    PDFs, scans and messy uploads extracted by text and vision models into your schema, with deterministic validation after the model: the model proposes, rules decide. Built into your existing app and API.

    Where a person decides: Records that fail the gate are queued for your team or your users to resolve.

    AI systemsComplex system · multi-week
  2. Entity resolution instead of one threshold

    An escalating matcher, exact to fuzzy in tiers, built for OCR noise, so names, references and codes from a scan resolve reliably against the records already in the user’s account.

    Where a person decides: Confidence thresholds are set with you and visible to users where it matters.

    AI systemsStandard build · 2–6 weeks
  3. Upload flow with progress and a review screen

    Drag-and-drop upload in your Next.js app, a queued extraction job with progress, then a side-by-side screen where the user confirms or corrects each field before it is saved.

    Where a person decides: Nothing is saved to the user’s account until they confirm it.

    AI productsStandard build · 2–6 weeks
  4. Corrections fed back into the eval set

    Every field a user corrects is stored with the original document and added to the extraction eval set as a regression case, so accuracy is measured against real corrections rather than a demo set.

    Where a person decides: You decide which customers’ documents may be used and how long they are kept.

    AI systemsQuick win · days to 2 weeks
  5. Tables, handwriting and multi-page documents

    Line-item tables, handwritten fields, stamps and documents that run over several pages handled as their own cases with their own checks, instead of one prompt that works on the clean sample.

    Where a person decides: You bring the ugly real documents; the acceptance set is agreed before the build.

    AI systemsStandard build · 2–6 weeks
  6. Per-customer document layouts mapped once

    A customer’s recurring layout, their supplier’s invoice or their own form, is mapped once and stored per layout, so the second document of that kind extracts with the same checks and no new prompt.

    Where a person decides: A new layout is confirmed by the user before the mapping is saved.

    AI systemsStandard build · 2–6 weeks

Closest system I’ve shipped: Tournament Document Intelligence. 412 records from HTML, PDFs and scans, 0 validation errors, with an 8-tier resolver and a hard gate. Tournament data, not a SaaS product.

Change area
SaaS and software companies · From notebook to shipped feature

Still carrying an AI feature as a prompt in a notebook, six months on?

  1. Feature scoped from the notebook, with acceptance set

    A week with your notebook and your real data: the feature defined as inputs, outputs and failure cases, an acceptance set of real examples agreed, and an architecture sketch your team can build or hand to me.

    Where a person decides: Your product owner signs off the acceptance set; it is the definition of done.

    AI systemsQuick win · days to 2 weeks
  2. LLM pipeline with structured outputs, behind a flag

    The prompt becomes a pipeline in your codebase: typed inputs, cached context, model call, schema-validated output, fallback when validation fails. Summarise a ticket, classify a record, pull fields from free text, draft a reply. Shipped behind a feature flag, eval set in CI.

    Where a person decides: Your team turns the flag on per customer; nothing reaches a user you did not choose.

    AI systemsStandard build · 2–6 weeks
  3. Search and answers over each customer’s records

    Retrieval over each customer’s own documents and records in your Postgres, with per-tenant isolation, citations in every answer, and a refusal path when the answer is not in their data. Built into your product, not a chatbot bolted on.

    Where a person decides: Your team sets what may be indexed per plan; users see the sources behind every answer.

    AI systemsComplex system · multi-week
  4. Vision features over user photos and screenshots

    Photo and screenshot inputs handled by a vision model with the output validated into your schema: damage reports, receipts, product shots, UI screenshots. Queued through the job API when the model is slow.

    Where a person decides: The acceptance set of real photos is agreed with you before the build.

    AI systemsStandard build · 2–6 weeks

Closest system I’ve shipped: LeadForge AI. LeadForge runs in production: Pydantic-validated outputs at every boundary, pytest over the graph, streamed into Next.js. Built for lead research.

Change area
SaaS and software companies · Evals, QA and inference cost

Still changing prompts by feel and finding out from the invoice?

  1. Eval set built from real inputs and outputs

    A few hundred real inputs from your product, labelled with your team, scored automatically on each change: exact fields by rules, judgement calls by a model grader you have checked against humans.

    Where a person decides: Your team labels the set; a grader is trusted only after it agrees with them.

    AI systemsQuick win · days to 2 weeks
  2. Prompt and model changes gated in CI

    Every prompt, schema or model change runs the eval set in GitHub Actions or GitLab CI, with the score diff posted on the pull request, so a regression is seen before merge, not after release.

    Where a person decides: Your reviewers decide whether a score drop is acceptable; the gate only reports.

    AI systemsStandard build · 2–6 weeks
  3. Live outputs sampled and scored daily

    A sample of yesterday’s production outputs scored each night against the same eval rules and grader, per model and per tenant, with an alert in Slack when the score drifts below the floor you set.

    Where a person decides: An alert opens a review by your team; nothing is rolled back or switched automatically.

    AI systemsStandard build · 2–6 weeks
  4. Prompt caching and model routing to cut cost

    Stable context cached so it is not paid for on every call, cheap models for easy cases and strong models for hard ones, with the routing rule explicit and the cost per request logged.

    Where a person decides: You set the quality floor from the eval set; cost is cut only above it.

    AI systemsQuick win · days to 2 weeks
  5. Inference cost per tenant, in your database

    Tokens, model, latency and cost written per request and per tenant into your Postgres or SQL Server, with a Power BI or Metabase view, so AI pricing and plan limits rest on numbers.

    Where a person decides: Your finance lead decides the plan limits; the system only measures and alerts.

    Data systemsStandard build · 2–6 weeks
  6. Rate limits, budgets and kill switch per tenant

    Per-tenant request limits, a daily spend ceiling and a switch that turns a feature off for one customer or everyone, enforced in the FastAPI layer, so an abusive script cannot run up the bill overnight.

    Where a person decides: Your on-call engineer holds the switch; limits are set by you per plan.

    AI productsQuick win · days to 2 weeks

Closest system I’ve shipped: Creative Generation Pipeline. Prompt caching cut per-image inference cost by 78%; every output carries its QA verdict and the rule. An education brand’s ads, not a SaaS.

Change area
SaaS and software companies · Support tickets and in-app help

Still answering the same ten questions in Intercom while the queue grows?

  1. Tickets triaged and routed with a reason

    New tickets in Intercom, Zendesk, HubSpot or Front classified by topic, urgency and plan through their APIs, tagged and routed to the right queue, with the reason written on the ticket.

    Where a person decides: Anything tagged as outage, billing dispute or legal goes straight to a person.

    AutomationQuick win · days to 2 weeks
  2. Replies drafted from your docs and the account

    A draft reply built from your help centre, release notes and the customer’s account and recent events in your database, with the sources shown to the agent beside the draft.

    Where a person decides: A support agent edits and sends every reply. Nothing goes to a customer unreviewed.

    AI systemsStandard build · 2–6 weeks
  3. In-app help assistant with ticket handoff

    A help assistant inside your product over your help centre and release notes, that cites what it used, says when it does not know, and opens a ticket with the conversation attached when it hands off.

    Where a person decides: The assistant never changes account settings or billing; those actions go to a person.

    AI productsComplex system · multi-week
  4. Bug reports turned into structured issues

    Tickets that describe a bug become a Linear or Jira issue with steps, plan, browser and account ID filled from the ticket fields and the customer record, linked back to the conversation.

    Where a person decides: An engineer confirms the issue before it enters the sprint; duplicates are suggested, not merged.

    AutomationQuick win · days to 2 weeks
  5. Weekly support digest: what customers are asking

    A scheduled summary of the week’s tickets by topic, new versus recurring, and the questions the docs did not answer, posted to Slack with links to the tickets behind each line.

    Where a person decides: The support lead decides what gets a doc update or a product change.

    AutomationQuick win · days to 2 weeks

Closest system I’ve shipped: OpenClaw Analytics Agent. The analytics agent reasons over 4 live integrations and posts a source-linked digest to Slack on schedule. Marketing numbers, not support tickets.

Change area
SaaS and software companies · Billing, product and revenue data

Still explaining to the board why Stripe and the CRM disagree on MRR?

  1. Stripe, CRM and product data into one warehouse

    Stripe or Chargebee, HubSpot or Salesforce, and your product Postgres loaded through their APIs into SQL Server or Postgres staging, then stored procedures building customer, subscription and usage fact tables, every transformation inspectable in SQL.

    Where a person decides: Your finance lead signs off a parity audit against the current MRR sheet before cutover.

    Data systemsComplex system · multi-week
  2. MRR, churn and payouts reconciled line by line

    Subscriptions, invoices, refunds and Stripe payouts matched line by line, with proration, currency and failed payments handled explicitly, so MRR, churn and cash agree and the differences are listed.

    Where a person decides: Finance reviews the listed mismatches; nothing is averaged away or auto-adjusted.

    Data systemsStandard build · 2–6 weeks
  3. Usage metering that matches what you bill

    Product events from your database, Segment or PostHog aggregated into per-tenant usage tables and checked against the quantities on the Stripe invoice, so overage and plan limits are billed from the same number.

    Where a person decides: Billing changes are made by your team; the system reports the difference.

    Data systemsStandard build · 2–6 weeks
  4. Board metrics in Power BI, refreshed nightly

    MRR, net revenue retention, churn, activation and support load as a Power BI or Metabase model on the fact tables, refreshed nightly, with each metric’s definition written beside it.

    Where a person decides: Founders and finance agree each definition once; changes are reviewed like code.

    Data systemsStandard build · 2–6 weeks
  5. Morning product and revenue digest in Slack

    An agent reads the fact tables, Stripe and your product analytics overnight and posts one short message each morning: signups, activations, churn events and failed payments, every number linked to its source.

    Where a person decides: The team reads it. The agent changes nothing in Stripe or the product.

    AutomationStandard build · 2–6 weeks

Closest system I’ve shipped: E-commerce Fulfillment ETL. Staging, stored procedures and fact tables in SQL Server, 68,890 orders reconciled across 25 audited columns. A retailer’s fulfilment data, not SaaS billing.

Change area
SaaS and software companies · Enterprise and self-hosted deployments

Still losing enterprise deals in security review over the AI feature’s data flow?

  1. Single-tenant deployment in the customer’s cloud

    Your AI feature’s API, worker and models packaged with Docker and deployed as one tenant into the customer’s AWS, Azure or Hetzner account, nothing leaving their network. Delivered with a written data flow: what goes where, under which terms, for their questionnaire.

    Where a person decides: Your team and the customer’s security lead sign off the data flow before deployment.

    AI productsComplex system · multi-week
  2. Per-tenant isolation, region pinning and retention

    Each tenant’s documents, embeddings and model outputs under their own keys and schema, pinned to an EU or US region, retention and deletion per contract, a deletion job that proves what it removed, and the data flow written down for questionnaires.

    Where a person decides: You decide which tenants are pinned where; deletion runs only on a recorded request.

    AI productsStandard build · 2–6 weeks
  3. Bring-your-own-model for enterprise tenants

    Tenants that insist on their own Azure OpenAI, Bedrock or Vertex account plug in their endpoint and keys per tenant, with the same schema validation and evals running against it.

    Where a person decides: You decide which plans get this; the tenant’s keys are stored only in their config.

    AI productsStandard build · 2–6 weeks
  4. Audit log of every model call, per tenant

    Every model call recorded per tenant: who triggered it, which provider and region served it, what data left your network and when it is deleted, exportable as CSV or over your API for the customer’s compliance team.

    Where a person decides: You decide which fields the export carries; it is released only on the customer’s request.

    AI productsQuick win · days to 2 weeks
  5. MCP server over your product API

    An MCP server over your existing public API, so a customer’s Claude or other assistant can read and act in your product, with per-tenant OAuth scopes, read-only or write flags per tool, and every call logged.

    Where a person decides: Your team chooses which endpoints become tools; write tools are off by default per tenant.

    AI productsStandard build · 2–6 weeks

Closest system I’ve shipped: OpenClaw Analytics Agent. A hardened Hetzner VPS chosen for EU residency: key-only SSH, firewall, fail2ban, loopback-only services; MCP tools over 4 APIs. A marketing agent, not SaaS.

Change area
SaaS and software companies · Customer onboarding and data import

Still onboarding every new customer by hand from a competitor’s CSV?

  1. Competitor exports mapped into your schema

    CSV, XLSX and JSON exports from the tools your customers leave, and the PDFs they bring, mapped into your schema: a model proposes the column mapping, rules validate every row, and the import stops at the gate with the reason.

    Where a person decides: Your onboarding team confirms the mapping; rejected rows go to a review list, never silently dropped.

    AI systemsStandard build · 2–6 weeks
  2. Import as a queued job with a report

    Large files run as a queued job in your FastAPI backend with progress in your Next.js app, and a downloadable report of which rows were imported, skipped or need a fix, so a big file does not time out a browser request.

    Where a person decides: The customer or your onboarding team reviews the report before the import is committed.

    AI productsStandard build · 2–6 weeks
  3. Parity check before the customer goes live

    Imported records counted and compared field by field against the source export, with every difference listed in a report the customer can open, so they switch over on evidence rather than a sample.

    Where a person decides: The customer signs off the parity report; nothing in the old system is touched.

    Data systemsQuick win · days to 2 weeks
  4. Duplicates matched on import, flagged not merged

    Imported contacts, products or accounts matched against records the tenant already has, escalating from exact to fuzzy, so a migration does not create a second copy of every customer. Likely pairs are shown side by side.

    Where a person decides: A person decides each flagged pair; nothing is merged automatically.

    AI systemsStandard build · 2–6 weeks

Closest system I’ve shipped: E-commerce Fulfillment ETL. 68,890 orders loaded through staging and reconciled column by column against the legacy system before cutover. A retailer’s fulfilment data, not a SaaS import.

Change area
Four things I build

Scoped per project, whatever the industry.

I’m one senior engineer, not an agency. Every engagement starts with the problem in numbers and ends with an audited run.

  • AI systemsAgents, LLM pipelines, vision, structured outputs.2–6 weeks
  • Automationn8n, APIs, webhooks, CRM, WhatsApp and inbox.3 days – 2 weeks
  • Data systemsETL, SQL, reconciliation, BI-ready datasets.multi-week, custom
  • AI productsSaaS, async GPU inference, customer-facing AI.4–8 weeks