Skip to content

technology

What's underneath the AI?

Mostly, things that don't need it.

Most of what I build isn't AI. It's the plain, checkable system underneath: the records, the rules and the arithmetic. A model does only the reading and drafting nobody should be doing by hand, and a person makes every call that matters.

01the split

Who does what.

Every build splits the work four ways before a line of code is written. It's why the systems are cheap to run and easy to trust.

The workGoes toFor example
Reading and judgementThe modelReading a document, proposing a match or a code with its reason, drafting a reply, answering a question over your own files.
RecordsThe databaseDocuments, statuses, approvals and registers. Never a chat log.
ArithmeticCodeTotals, GST, ageing, balances, thresholds and dates. Every figure is calculated, never generated.
Decisions with consequencesYouPosting, paying, lodging, sending, approving credit. The system prepares it; a person does it.
The model reads. Code counts. You decide.
02the systems

Five systems, over and over.

Almost every operation I've mapped comes down to some mix of the same five systems. Knowing which ones you need is most of the design.

01

Reconciliation engine

Two sources that should agree, checked until they do.

What you get
Every record matched, and a short list of the ones that aren't, ranked by money and age.
Where AI is allowed
Explaining why an exception looks wrong. It never decides a match.
What it's built to catch
An exception quietly left unresolved. Nothing unmatched disappears.
02

Scheduler

People, equipment and time, allocated under the rules you actually work by.

What you get
A proposed schedule you commit, re-planned only where something changes.
Where AI is allowed
Turning a free-text request into a structured one. Nothing else.
What it's built to catch
A schedule that looks right but breaks a rule: a lapsed licence, a double booking.
03

Recurring documents

The same report, statement or pack, every cycle.

What you get
Figures pulled and fixed by code, commentary drafted in one pass, released by you.
Where AI is allowed
The written commentary only. Never a figure.
What it's built to catch
Numbers and prose blurring together. Anything that gets filed stays fully calculated.
04

Obligation register

Everything with a deadline, a renewal or a limit, in one place.

What you get
What breaches in the next 7, 30 or 90 days, and whose it is.
Where AI is allowed
None. It doesn't need it.
What it's built to catch
Duplicate alerts, and alerts that silently never fire.
05

Position ledger

One true count that several systems each keep a slightly wrong copy of.

What you get
Stock, assets or balances per location, corrected only by a count or an adjustment with a reason.
Where AI is allowed
None.
What it's built to catch
Selling stock that isn't there, or using an asset that shouldn't be used.
The reconciliation engine, in eight stepsRead top to bottom: sources, one common record, queue, matcher, exceptions, you resolve, ledger, reports.SOURCESbank · ledger · sales channelsONE COMMON RECORDevery source, one shapeQUEUEretries safely, never double-countsMATCHERexact → close → scoredEXCEPTIONSranked by value × ageYOU RESOLVEeach fix becomes a ruleLEDGERadded to, never overwrittenREPORTSevery figure from code
The reconciliation engine, end to end. Some version of it shows up in almost every operation I've mapped.
03the plumbing

Boring on purpose.

By default a build is a straight line: small functions, and a queue that retries safely when something fails. It's cheap to run, easy to read and easy to fix.

An agent framework only earns its place in three situations:

  1. 01A step that can't be undone has to pause for a person, then pick up exactly where it left off, even after a restart.
  2. 02Free-text intake genuinely branches in many directions and has to come back together.
  3. 03A rejected submission has to be fixed and resubmitted until an outside system accepts it.

If it doesn't pass that test, it stays a straight line.

04the checks

How the AI is kept honest.

  1. Cite or refuse.

    When a system answers a question over your files, every answer points to its source, or it says it can't answer.

  2. Tested before it's trusted.

    A set of real questions with known answers is written first, and every change is scored against it.

  3. Traceable.

    Every extracted value records which prompt and model produced it, so any result can be traced back.

  4. The smallest model that does the job.

    Quick classification goes to a small, fast model; careful reading and drafting go to a larger one.

05the stack

What it's built with.

Nothing exotic. Well-documented tools that are easy to hand over and will still be around in five years.

Languages
Python, TypeScript, SQL
Data
Postgres (Supabase), with pgvector for searching documents
AI
Claude (Agent SDK and API), OpenAI where it fits, MCP for connecting tools
Services
FastAPI, background queues, scheduled jobs
Interfaces
Next.js, React, Tailwind, and mobile-first screens for people who aren't at a desk
Documents
WeasyPrint for PDFs, python-docx for editable Word files
Scheduling
OR-Tools, when a schedule has hard rules
Orchestration
Plain functions first. LangGraph only when it passes the test above
Hosting
Vercel, Fly.io, or self-hosted with Coolify
Glue
n8n, self-hosted, for simple connections only
06the connections

What it connects to.

Your ledger and your tools stay where they are. The system reads from them and hands work back for approval. It doesn't replace them.

Accounting
Xero · MYOB · QuickBooks Online · Reckon · SAP Business One · Odoo · Dynamics 365
Practice and professional
Karbon · XPM · FYI · LEAP · Smokeball · Actionstep · Clio
Operations and industry
ServiceM8 · Cliniko · PropertyMe · Deputy · GoHighLevel
Commerce
Shopify · WooCommerce · Square
Everyday
Google Workspace · Microsoft 365 · email · spreadsheets
  • Every platform's API terms get read before anything is designed on its data. Some don't allow AI use, and that changes the design.
  • If a supplier only does email, the system reads email. I won't promise an API that doesn't exist.
07where it runs

Three ways it runs.

  1. Hosted

    A web app and a small service in the cloud, in an Australian region where your data needs it.

  2. Lightweight

    A web app on its own, for simpler builds that only need a model call and a screen.

  3. On your machine

    A packaged app on one computer in your office, for data that shouldn't leave the building.

You don't need to know any of this.

Bring the process that's costing you. The audit works out which of these it needs, or whether it needs any of them at all.