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.
- 01Slow inference in productionIt worked in the notebook; in the product the request hangs until the gateway gives up.
- 02Agent prototype rescueThe agent demo works twice and loops on the third run, and nobody can say why.
- 03Document intelligence in your productUsers upload PDFs and scans and the feature returns free text that breaks the UI.
- 04From notebook to shipped featureThe prompt works in a notebook, and nobody owns getting it into the product.
- 05Evals, QA and inference costNobody can say whether the last prompt change made it better, and the API bill doubled.
- 06Support tickets and in-app helpThe support queue grows with every new customer, and the docs answer half of it.
- 07Billing, product and revenue dataStripe, the CRM and the product database each report a different MRR.
- 08Enterprise and self-hosted deploymentsThe enterprise deal is stuck in security review over where the AI feature sends data.
- 09Customer onboarding and data importEvery new customer brings a competitor’s export, and someone maps it into your schema by hand.
Still shipping an AI feature that works in the demo and times out in production?
- Queued jobs and polling instead of held requestsAI productsComplex system · multi-week
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.
- Self-hosted models where data must stayAI productsComplex system · multi-week
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.
- Typed contracts on every boundaryAI productsQuick win · days to 2 weeks
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.
- Streaming so users see progress, not a spinnerAI productsQuick win · days to 2 weeks
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.
- GPU workers that scale to zeroAI productsStandard build · 2–6 weeks
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.
- Retries, timeouts and dead-letter handlingAI productsQuick win · days to 2 weeks
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.
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 areaStill demoing an agent that loops on the third run?
- Prototype rebuilt with one typed shared stateAI systemsComplex system · multi-week
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.
- Provider-agnostic model layerAI systemsQuick win · days to 2 weeks
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.
- Tool calls made safe and idempotentAI systemsStandard build · 2–6 weeks
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.
- Graph replay tests with recorded runsAI systemsQuick win · days to 2 weeks
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.
- Human-in-the-loop checkpoints inside the graphAI systemsStandard build · 2–6 weeks
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.
- Run traces your support team can readAI systemsQuick win · days to 2 weeks
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.
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 areaStill returning free text from uploads and fixing the UI with hotfixes?
- Uploads extracted into your schema, then validatedAI systemsComplex system · multi-week
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.
- Entity resolution instead of one thresholdAI systemsStandard build · 2–6 weeks
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.
- Upload flow with progress and a review screenAI productsStandard build · 2–6 weeks
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.
- Corrections fed back into the eval setAI systemsQuick win · days to 2 weeks
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.
- Tables, handwriting and multi-page documentsAI systemsStandard build · 2–6 weeks
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.
- Per-customer document layouts mapped onceAI systemsStandard build · 2–6 weeks
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.
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 areaStill carrying an AI feature as a prompt in a notebook, six months on?
- Feature scoped from the notebook, with acceptance setAI systemsQuick win · days to 2 weeks
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.
- LLM pipeline with structured outputs, behind a flagAI systemsStandard build · 2–6 weeks
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.
- Search and answers over each customer’s recordsAI systemsComplex system · multi-week
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.
- Vision features over user photos and screenshotsAI systemsStandard build · 2–6 weeks
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.
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 areaStill changing prompts by feel and finding out from the invoice?
- Eval set built from real inputs and outputsAI systemsQuick win · days to 2 weeks
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.
- Prompt and model changes gated in CIAI systemsStandard build · 2–6 weeks
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.
- Live outputs sampled and scored dailyAI systemsStandard build · 2–6 weeks
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.
- Prompt caching and model routing to cut costAI systemsQuick win · days to 2 weeks
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.
- Inference cost per tenant, in your databaseData systemsStandard build · 2–6 weeks
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.
- Rate limits, budgets and kill switch per tenantAI productsQuick win · days to 2 weeks
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.
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 areaStill answering the same ten questions in Intercom while the queue grows?
- Tickets triaged and routed with a reasonAutomationQuick win · days to 2 weeks
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.
- Replies drafted from your docs and the accountAI systemsStandard build · 2–6 weeks
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.
- In-app help assistant with ticket handoffAI productsComplex system · multi-week
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.
- Bug reports turned into structured issuesAutomationQuick win · days to 2 weeks
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.
- Weekly support digest: what customers are askingAutomationQuick win · days to 2 weeks
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.
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 areaStill explaining to the board why Stripe and the CRM disagree on MRR?
- Stripe, CRM and product data into one warehouseData systemsComplex system · multi-week
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.
- MRR, churn and payouts reconciled line by lineData systemsStandard build · 2–6 weeks
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.
- Usage metering that matches what you billData systemsStandard build · 2–6 weeks
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.
- Board metrics in Power BI, refreshed nightlyData systemsStandard build · 2–6 weeks
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.
- Morning product and revenue digest in SlackAutomationStandard build · 2–6 weeks
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.
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 areaStill losing enterprise deals in security review over the AI feature’s data flow?
- Single-tenant deployment in the customer’s cloudAI productsComplex system · multi-week
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.
- Per-tenant isolation, region pinning and retentionAI productsStandard build · 2–6 weeks
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.
- Bring-your-own-model for enterprise tenantsAI productsStandard build · 2–6 weeks
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.
- Audit log of every model call, per tenantAI productsQuick win · days to 2 weeks
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.
- MCP server over your product APIAI productsStandard build · 2–6 weeks
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.
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 areaStill onboarding every new customer by hand from a competitor’s CSV?
- Competitor exports mapped into your schemaAI systemsStandard build · 2–6 weeks
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.
- Import as a queued job with a reportAI productsStandard build · 2–6 weeks
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.
- Parity check before the customer goes liveData systemsQuick win · days to 2 weeks
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.
- Duplicates matched on import, flagged not mergedAI systemsStandard build · 2–6 weeks
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.
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 areaScoped 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