Skip to content
pearse.dev

01 MTS platformJul 2026 – Present

MTS Hub

One system of record where there used to be spreadsheets, a FileMaker system and three separate tools.

Operations platform and system of record for a wetlab-education company — congresses, courses, contacts, bookings, packing, inventory, staffing, tickets, certificates, comms.

Role
Platform lead, sole engineer (agent-assisted)
Period
Jul 2026 – Present
Code
Private repository
automated tests
6000+
ADRs
22
  • Python 3.12
  • Django 5.2
  • DRF
  • django-unfold
  • Celery + Redis
  • Channels / Daphne
  • PostgreSQL
  • Tailwind v4 + DaisyUI
  • HTMX + Alpine
  • ReportLab
  • pytest

What it does

  • Single source of truth for contacts, faculty, courses, congresses and bookings; replaces spreadsheets and a FileMaker system.
  • Course planning from rooms to stations to equipment, with template-driven packing lists per session.
  • Live multi-user packing screen over WebSockets; warehouse inventory and vehicle capacity planning.
  • Staff scheduling with a daily roster, plus time and expense tracking on an append-only ledger with dated statutory rate tables.
  • Certificate platform with public verification pages; event ticketing with Apple Wallet passes.
  • Sponsor vouchers and a pricing pipeline with scenario forecasting.
  • GDPR tooling — PII inventory, erasure and anonymisation, and a human-approval gate before any email leaves the system.
  • Magic-link login for external participants, German and English localisation, QR and RFID asset identification (experimental).
How it fits together
MTS Hub architectureMembers of the public verifying certificates, participants signing in by magic link and staff in the browser all reach one Django 5.2 application, which keeps Congress, Course, Session and Contact records in PostgreSQL. The live packing screen runs over WebSockets through Channels and Daphne, with Redis as the channel layer. Django queues tasks in Redis for Celery workers, and any email they prepare waits for a human approval before it leaves the system.Publicverify certificatesParticipantsmagic-link loginStaffbrowserDjango 5.2DRF APIdjango-unfold adminReportLab PDFsWallet passesChannels / Daphnelive packing screenPostgreSQLCongress · CourseSession · ContactRedisqueue · channel layerCelery workersbackground jobsHuman approvalevery emailOutbound emailHTMXWebSockettasksemailPublicParticipantsStaffDjango 5.2DRF · unfold adminDaphneWebSocketPostgreSQLCongress · CourseSession · ContactRedisqueue · channelsCelery workersbackground jobsHuman approvalevery emailOutbound emailtasksemail

MTS runs hands-on surgical training at medical congresses across Europe. Before Hub, that business lived in spreadsheets, a FileMaker database, a legacy CRM and two small Django tools I had built over the previous year, one for packing and fleet and one for event feedback. Each one knew part of the story: who was coming, what to pack, how the feedback looked. None of them knew the whole thing.

Hub is the whole thing. It took the domain language from the packing tool, the feedback tool and the old CRM, settled it in a glossary and a set of ADRs, then rebuilt the model once. Everything downstream — rosters, packing lists, certificates, tickets, invoices — hangs off the same Congress, Course, Session and Contact records.

The scale that mattered was not users but consequences. A certificate is a professional credential. A packing list is what gets loaded onto a truck at 5am. A GDPR erasure has to actually erase. So the test suite is large, the sensitive paths have approval gates, and the decisions that would be expensive to reverse are written down.

What it does in depth

Packing, inventory and fleet

Began as a standalone packing tool in Feb 2026.

A wetlab travels in boxes. The packing list became a recipe — rooms, stations, equipment — and the checklist a shared screen rather than a clipboard. It replaced paper packing lists and the knowledge in one warehouse manager's head.

  • Calendar-to-event import from Microsoft 365.
  • Deterministic recipe packing lists per course type.
  • Real-time collaborative checklist on the warehouse floor, over WebSockets.
  • Serialised equipment tracking, vehicle capacity and staff scheduling.
  • Seven roles and around 140 permissions.
  • Django Channels
  • Celery
  • Microsoft 365 calendar

Event feedback and reports

Began as a standalone feedback tool in May 2026.

Feedback used to be a paper form at the door and a spreadsheet a week later. Now it is a QR code on the station and a branded PDF in the faculty's inbox the same evening, with no login for the people filling it in. It replaced a day of manual data entry after each event.

  • Per-session QR surveys; participants scan and answer, nothing to install or sign into.
  • Live analytics dashboard that polls over HTMX during the event.
  • Session benchmark percentiles across the whole event.
  • Session and event-level PDF reports with charts rendered server-side; CSV and XLSX export.
  • Custom branding per event.
  • ReportLab
  • matplotlib
  • openpyxl
  • HTMX

AI drafting with human approval

Began as a separate prototype in May 2026.

One rule: no AI output reaches a human audience without a human approving it first. The agents draft; the approval is a signed token in an email; Mailchimp only hears from the system after that token is used. The prototype stopped at its second sprint and its approval pattern moved into Hub's comms module.

  • Content ingestion from WordPress and PDFs into embeddings.
  • Multi-agent drafting with approval-by-email tokens before anything is sent.
  • Repurposing one approved piece into newsletter, LinkedIn and blog formats.
  • A self-hosted LLM behind an OpenAI-compatible API, chosen for data sovereignty.
  • LangGraph
  • Self-hosted vLLM
  • PostgreSQL + pgvector
  • Mailchimp

Company knowledge, as a graph

Started in Sep 2026, alongside the rest of Hub.

Most company knowledge dies in chat threads. This is a memory that agents and people can both use: a vault of Markdown notes with a strict schema, written to by Claude Code over MCP, fed by voice notes, and browsed as a graph. The graph app never writes and Telegram never writes directly, so there is exactly one place where the truth can change.

  • A Markdown vault as the source of truth — Products, Capabilities, Offers, Customers, Ideas — with typed relations between them.
  • Claude Code reads and writes the vault over MCP; a schema validator CLI keeps it honest.
  • Telegram voice intake — a voice note becomes a transcript, then concepts, then links into the vault, on self-hosted speech-to-text.
  • A read-only 3D graph app laid out with UMAP, with open GitHub issues as satellite nodes around the concepts they touch.
  • Five ADRs before the first feature, including "GitHub is the work tracker" and "the graph app is a read-only consumer".
  • Typer
  • FastAPI
  • Basic Memory (MCP)
  • claude-agent-sdk
  • UMAP + numpy
  • n8n
How it fits together Company knowledge, as a graph
Knowledge-base architectureA Telegram voice note goes through n8n to self-hosted speech-to-text. An intake agent turns the transcript into concepts, which pass the schema validator before they are linked into the Markdown vault, the single source of truth. Claude Code reads and writes the vault over MCP with Basic Memory. The 3D graph app, built on FastAPI with a UMAP layout, only reads the vault and shows open GitHub issues as satellite nodes.Telegramvoice noten8ncaptureSpeech-to-textself-hostedIntake agenttranscript → conceptsClaude CodeBasic Memory MCPMarkdown vaultsource of truth · typed relationsSchema validatorTyper CLI3D graph appFastAPI · UMAP · read-onlyGitHub issuessatellite nodesvoiceconceptslinksMCPread-onlyTelegramvoice noten8ncaptureIntake agenttranscript → conceptsSpeech-to-textself-hostedSchema validatorTyper CLIClaude CodeBasic Memory MCPMarkdown vaultsource of truth3D graph appFastAPI · UMAPread-onlyGitHubissuesconceptsMCPreads

One engineer, one platform: building an operations system of record with an agent team

How I built MTS Hub, a Django system of record for a wetlab-education company, as the sole engineer: 939 commits, 6000+ tests, 22 ADRs, and an agent team.

4 min

Want to see the code?

The code is private. Happy to walk you through how it was built on a call.

Email me about MTS Hub