Work

Three systems we have designed end to end: a support triage agent, supplier invoice and order intake for a wholesaler, and a knowledge assistant for a professional services firm.

All three projects are concepts: designs that show our approach, not delivered client work.

We are a new lab. Rather than borrow someone else's case studies or hide behind logos we are not allowed to show, we have published the designs themselves. Each one is written up the way we would write up a real build: the problem, what we designed, how it works, and what we would hold ourselves to afterwards.

Software and SaaS

A support agent that drafts, routes and escalates

A triage layer in front of an existing helpdesk. It reads each inbound ticket, drafts a reply from the product documentation, and hands anything it cannot evidence to a person.

Concept project

Designed in house to show the approach. Not delivered client work.

The problem

The support team we designed this for handles a few hundred tickets a week with four people. Most of those tickets have already been answered somewhere: how to reset a password, how to move a user between plans, where the export lives. They are cheap to answer and expensive to queue.

The cost is not the easy tickets. It is the hard ones sitting behind them: a failed integration, a billing dispute, a bug that only appears on one customer's data. Those are the tickets where a slow reply actually costs something.

The usual fix is a macro library. It works for a quarter. Then the product changes, nobody updates the macros, and everyone goes back to typing.

What we designed

Not a bot that answers customers on its own. A drafting and routing layer that sits between the inbox and the agent queue, and that is allowed to be unsure.

  • Every ticket gets an intent, an urgency and a queue, whether or not a draft is possible.
  • A draft is only offered when the answer can be traced to a documentation passage, and that passage is shown beside it.
  • Confidence is a gate, not a label. Below the threshold the agent sees no draft at all. An empty box is more honest than a fluent guess.
  • A person presses send. The send action is never pre-armed and no draft goes out on a timer.

Four things break systems like this, so the design starts from them rather than discovering them in month three.

  • Documentation that has moved on. Every draft carries the page it came from and the date that page last changed. Drafts built on pages older than six months are marked for the agent before they read a word of them.
  • Tickets that are not really support. Billing disputes, cancellations, security reports and anything mentioning legal action sit on a never-draft list. They are labelled and sent to a named person, and the drafting step is skipped entirely.
  • Frustration. A ticket written in anger skips drafting too. A smooth, templated reply to an angry customer reads as a brush-off, and no amount of accuracy fixes that.
  • Rubber-stamping. If nine drafts in ten are good, the tenth gets sent unread. The citation stays in view, the confidence band is visible, and a sample of sent replies is read back each week by a human being.

One more, less obvious: a reply halfway through a long conversation needs the conversation. The agent is given the whole thread and the customer record, never just the most recent message.

How it works

  1. Receive the thread

    A webhook from the helpdesk passes the whole conversation, the customer record and the plan they are on.

  2. Classify and screen

    Intent, urgency and product area, plus a check against the never-draft list. Anything on that list stops here and goes to a person.

  3. Retrieve the evidence

    Search the documentation and recently resolved tickets with the same intent. Keep the passages, their headings and their dates.

  4. Draft against the passages

    Write a reply using only what was retrieved, each claim tied to a passage. A second pass checks that nothing in the draft is unsupported.

  5. Score and route

    Above the threshold, the draft is attached to the ticket. Below it, the ticket is labelled and queued with no draft at all.

  6. Human review

    An agent edits and sends. Every edit is stored against the draft it came from.

  7. Learn from the edits

    Heavily rewritten drafts drive the weekly review: which intents are weak, and which documentation pages do not exist yet.

What we would measure

  • First response time, median and ninetieth percentile, split by whether a draft was offered.
  • Share of drafts sent with light editing. It is the only honest measure of draft quality, because a draft that is rewritten from scratch helped nobody.
  • Escalation accuracy in both directions: tickets sent to a person that did not need one, and tickets kept back that came straight back.
  • Reopen rate, as the counterweight to speed. A fast reply that resolves nothing is not an improvement.
  • Documentation gaps found per week, which is the quiet second product of the whole system.

We would not report deflection. It is the easiest number on the list to move and the least honest: a customer who gives up and goes away is counted as a success.

The stack

  • Helpdesk API
  • Python
  • Postgres and pgvector
  • OpenAI or Anthropic
  • Rules engine
  • Audit log
  • Evaluation harness

The model is a replaceable part and we would expect to change it at least once. Retrieval, the never-draft rules and the evaluation set are the parts worth owning.


Wholesale and distribution

Supplier invoices and orders read, checked and queued

A mailbox that turns supplier emails, PDFs and scans into checked records in the ERP, and sends anything doubtful to a person with the document in front of them.

Concept project

Designed in house to show the approach. Not delivered client work.

The problem

A wholesaler takes orders and invoices from several hundred suppliers and customers by email. Some arrive as tidy PDFs. Some are scans of paper, photographed at an angle on somebody's phone. Some are a spreadsheet, and some are three lines typed into the body of the message.

Two people retype all of it into the ERP. Retyping is slow, and it is quietly wrong: a transposed quantity, a case read as a single unit, a supplier code that nearly matches two different products. The mistakes are small, and they surface weeks later in a stock count or a payment query, by which time nobody can say where they came from.

Extraction on its own does not fix this. A system that reads documents and posts them without checking makes the same mistakes faster, and with more confidence.

What we designed

Three stages kept deliberately separate: extract, check, queue. Nothing reaches the ERP unless every field clears its own threshold and the document matches an open purchase order inside a tolerance that the finance team sets, not us.

  • Confidence per field, not per document. A clean invoice with one unreadable line is a one-field problem, not a rejected document.
  • No silent corrections. Where a supplier code does not resolve to a SKU, the system offers the two closest matches and leaves the choice to a person.
  • Duplicate detection on supplier, document number and total, plus a hash of the file itself. The same invoice is forwarded twice more often than anyone expects, once by the supplier and once by the warehouse.
  • A review queue sorted by value at risk rather than arrival time, so a small discrepancy waits behind an expensive one.

The things that actually break document pipelines are mundane, and each one needs a specific answer rather than a better model.

  • Totals on the wrong page. Multi-page invoices put the lines on pages one and two and the total on page three, so the document is assembled before anything is read.
  • Credit notes. They look identical to invoices apart from a sign, and a credit note posted as an invoice is a real cash error. Document type is classified first and checked against the arithmetic.
  • Units of measure. A quantity of twelve means twelve cases from one supplier and twelve units from another, so units are resolved per supplier rather than globally.
  • Layout changes. Suppliers redesign their templates without telling anyone. Fields are found by their labels and their context, not by their position on the page, and a sudden fall in confidence for one supplier raises a flag rather than a queue of bad records.
  • Poor scans. Below a legibility threshold the document is not extracted at all. It goes to review with a note, because a confident reading of a blurred total is the worst outcome available.

How it works

  1. Collect

    A dedicated mailbox keeps every message, body and attachment exactly as received, and the original is retained for audit.

  2. Classify the document

    Order, invoice, credit note, statement or something else. Anything unrecognised goes to a person rather than into the pipeline.

  3. Extract the fields

    Supplier, document number, dates, currency, line items, quantities, units, prices, tax and totals. Each field carries its own confidence and the region of the page it was read from.

  4. Check the arithmetic and the context

    Do the lines sum to the total. Is this a duplicate. Does it match an open purchase order. Do the prices sit inside the agreed tolerance.

  5. Route

    Clean, matched documents go to the ERP. Anything that fails a check, or any field below its threshold, goes to the review queue.

  6. Review

    The document is shown beside the extracted fields with the uncertain ones highlighted, so a correction takes two clicks and no retyping.

  7. Post and record

    The ERP record links back to the original document, the values that were extracted and whoever approved them.

What we would measure

  • Straight-through rate per supplier, never as a single site-wide number. One bad supplier can hide twenty good ones, and the average tells you nothing about what to fix.
  • Time from email received to record created, median and worst case.
  • Correction rate per field, which tells you that the unit column is weak rather than that invoices are hard.
  • Value of exceptions caught before posting, which is the number the finance team actually cares about.
  • Duplicates caught, and duplicates missed. The second one only shows up in a payment run, so it is worth looking for deliberately.
  • Age of the oldest item in the review queue, because a queue nobody clears is a new backlog in a smarter coat.

We would not expect to automate every supplier. A first phase would target the twenty that send the most documents, and we would say plainly which suppliers are still manual and why.

The stack

  • IMAP mailbox
  • OCR
  • Document extraction model
  • Python
  • Postgres
  • ERP API
  • Review web app

The review screen is the part that decides whether this works. If correcting a field is slower than retyping the invoice, the team will go back to retyping the invoice.


Professional services

A knowledge assistant that cites its sources and keeps permissions

An assistant that answers staff questions from the firm's own guidance and past work, shows where every answer came from, and can only see what the person asking is already allowed to see.

Concept project

Designed in house to show the approach. Not delivered client work.

The problem

A firm of about 120 people keeps what it knows in four places: a shared drive, an intranet that was last tidied three years ago, the files from past engagements, and the heads of five long-serving people.

New joiners ask the same twenty questions. The five people get interrupted. And some of what would answer the question is confidential to a client or a matter, so the obvious fix, putting everything into one searchable place, is exactly the fix that gets the project stopped by the risk partner.

When these systems fail it is rarely the model's fault. It is a system that answers confidently from last year's rates, or shows one client's work to a team acting for another.

What we designed

A retrieval assistant with two things that are not negotiable: it never answers without a source, and it never reads a document the person asking could not open themselves.

  • Permissions travel with the content. Each passage is stored with its access list, the query is filtered against that list before retrieval runs, and a nightly job re-checks the index against the source system. A permission filter applied to the answer rather than to the search is not a permission model, it is a hope.
  • Every document has an effective date and a status. Superseded guidance stays indexed, because people do ask what the old rule was, but any answer drawn from it is labelled as superseded before the reader gets to the text.
  • Current guidance wins. A small curated set is preferred over everything else when both could answer the question, which keeps a stray draft in someone's folder from outranking the real policy.
  • Past engagement work is summarised, not quoted, unless the person asking already has access to that matter.
  • Not knowing is a feature. When nothing clears the retrieval threshold, the assistant says so and names the two people most likely to know.

The quiet failure is adoption. An assistant that lives on its own page is used enthusiastically for a fortnight and then forgotten. This one answers inside the chat tool the firm already uses and behind the intranet search box, so nobody has to remember it exists. The questions it cannot answer become a weekly list for whoever owns that piece of guidance, which is how the corpus gets better instead of older.

How it works

  1. Connect, read only

    Connectors to the document store and the intranet pull the files and the permission data together. One without the other is not usable.

  2. Prepare the passages

    Documents are split on their own headings, and each passage keeps its title, effective date, status, owner and access list.

  3. Ask in place

    The question arrives from the chat tool or the intranet search box, so there is no new application to remember.

  4. Retrieve inside the boundary

    The search runs only over passages that person can already open, then re-ranks, preferring current guidance over superseded.

  5. Answer with citations

    A short answer built from the retrieved passages only, every claim linked to the document and section it came from.

  6. Refuse clearly

    If nothing clears the threshold the assistant says it does not know, and offers two people to ask instead.

  7. Close the loop

    Feedback and unanswered questions go to a weekly list for the guidance owners, beside which documents are cited most and which are never cited at all.

What we would measure

  • Share of answers accepted without a follow-up question.
  • Share of questions with no confident answer. This is the most useful number on the page, because it is a reading list for whoever maintains the guidance.
  • Weekly active askers as a share of staff. Adoption, not query volume: a handful of enthusiasts asking fifty questions each is not adoption.
  • Interruptions avoided, asked directly of the five people who used to field them. It is a soft number and we would treat it as one.
  • Permission incidents, which must be zero. This is a gate, not a metric to trade off against speed.
  • Citations per answer, and how often a citation is actually opened. If nobody opens them, the answers are not being checked.

A measure we would avoid is answer volume. It rewards a system for being chatty and tells you nothing about whether anyone got on with their work.

The stack

  • SharePoint or Google Drive
  • Graph permissions API
  • Vector search
  • Re-ranker
  • OpenAI or Anthropic
  • Teams or Slack app
  • Owner dashboard

The permission model is the hard part and the part we would build first, before a single answer is generated. Everything above it is replaceable.


What next

What we would do for you

Work usually starts in one of two places: a system we have already designed once, or a workflow of yours that nobody has sat down and mapped.

If your problem looks like one of the three above, we would start from a ready-made version of it and spend the time on the parts that are specific to you: your documents, your rules, your systems and the people who have to live with it. If it does not look like any of them, we would start with a short discovery, map the workflow with the people who do the work, and come back with a proposal and a price for a first step.

Have a workflow that should run itself?

Tell us what it is. We will reply with how we would approach it and what a first step would cost.