AI Lab / Engineering

Systems & Core Engineering

The engineering underneath the AI: ingestion and retrieval design, orchestration and state, concurrency and streaming, and security boundaries. Each area links to the real systems that prove it.

01 — FULL-STACK AI ENGINEERING

Full-Stack AI Engineering

Complete products, not notebooks. A Next.js and TypeScript multi-agent runtime with live streaming output, Google sign-in, Drive and Gmail integrations, Word and PDF exports and 138 test files; a FastAPI and React knowledge pipeline with Google Workspace sync and client-side PDF export; a multi-tenant FastAPI and React WhatsApp platform with a live staff dashboard, typed API contracts generated from the backend and about 190 automated tests; and content-driven business platforms on Next.js, a headless CMS and managed Postgres. All ship through GitHub Actions CI/CD.

Next.js + TypeScriptFastAPI + ReactLive streaming (SSE)Google OAuth, Drive & GmailHeadless CMS + PostgresTesting & CI/CD
02 — RAG & RETRIEVAL

RAG & Retrieval

Answers grounded in an organisation's own material. Custom ingestion cleans transcripts and documents and chunks them by speaker with overlap; sentence embeddings go into a FAISS index alongside a custom BM25 keyword index; every question is searched both ways and fused with Reciprocal Rank Fusion, narrowed by metadata such as project and date. A slot-state flow rebuilds each follow-up into a standalone query. A separate LangChain reference build lets us compare the framework approach against this first-principles one.

Custom ingestion & chunkingHybrid search (FAISS + BM25)Reciprocal Rank FusionMetadata filtersMulti-turn slot stateFramework vs first-principles comparison
03 — GENERATIVE AI ENGINEERING

Generative AI Engineering

Prompts managed as versioned content, schema-steered structured outputs validated and repaired in code, models bound per agent and per task across providers, prompt-injection defences that fail closed, and on-brand image generation with brand rules enforced in code. On the document side, single-pass, two-stage and chained pipelines turn unstructured transcripts into SDLC artifacts in the same templated structure every time. The reusable patterns are collected in the prompt library.

Prompt engineering & prompt librarySchema-steered structured outputsMulti-stage document pipelinesMulti-provider model tiersPrompt-injection defenceImage generation
04 — AGENTIC AI

Agentic AI

A multi-agent runtime built from first principles and delivered to a client, deliberately without LangChain, LangGraph or CrewAI: an orchestrator routing to six specialist agents, with a confidence-gated router, handoff envelopes for state, sequential and parallel rounds, a conflict scan with revision rounds, per-run cost ceilings, resumable runs and human confirmation before external actions. Autonomous tool-using agent loops are the designed next phase, not a finished capability.

Custom multi-agent orchestrationConfidence-gated intent routingHandoff-envelope stateConflict detection & revisionCost ceilings & resumable runsHuman-in-the-loop
05 — AI AUTOMATION & INTEGRATIONS

AI Automation & Integrations

Manual, repeatable work turned into pipelines: a design brief becomes print-ready assets and a production kit; an authenticated MCP gateway brings a third-party image model into Claude; a Google Workspace folder stays searchable through incremental ingestion; meetings become SDLC artifacts; booking changes drive WhatsApp notifications and reminders through a transactional outbox; and publishing in a CMS triggers site refresh and asset generation. Every event-driven step has a scheduled safety net, and AI drafts pass a human review gate.

Event-driven pipelinesTransactional outbox & scheduled jobsMCP connectorsIncremental syncHuman-in-the-loop reviewConfirm-before-act
06 — SYSTEMS, RELIABILITY & SECURITY ENGINEERING

Systems, Reliability & Security Engineering

The engineering underneath the AI. Explicit state machines for appointments, guided flows and conversations; Server-Sent Events streaming for live run timelines and dashboards; token budgets enforced through capped context and compressed hand-offs between stages; and concurrency control that guarantees two simultaneous bookings for one slot produce exactly one winner, with optimistic locking on edits. Security boundaries are enforced in code and in the database: tenant isolation at the database level, scoped roles and permissions, authenticated service-to-service events, secrets kept out of code, and data minimisation so models see only the text they need, never personal identifiers.

State machinesStreaming (SSE)Token budgetingConcurrency controlTenant isolation & scoped RBACData minimisation