AI & ML engineering

Models, pipelines and agents: what we have built and run.

Each card says where it runs.

How the assistant answers
Customerasks a questionAssistantstaged answer pathRetrieveembeddings + pgvectorGenerate7B model on GPUAnswerin about 1–3 s Customerasks a questionAssistantstaged answer pathRetrieveembeddings + pgvectorGenerate7B model on GPUAnswerin about 1–3 s
How new knowledge gets in
Admin portalnew content savedQueueevent per changeEmbed768-dimension vectorsVector storeanswerable in 3–4 s Admin portalnew content savedQueueevent per changeEmbed768-dimension vectorsVector storeanswerable in 3–4 s
Multi-agent incident investigator
Incidentsomething is wrongSupervisorroutes the workLog agentAPM agentDatabase agentScheduler agentRoot-cause agentjoins the evidenceReportfor the engineer Incidentsomething is wrongSupervisorroutes the workLogAPMDatabaseSchedulerRoot-cause agentjoins the evidenceReportfor the engineer
Agent teams that audit a cloud bill
Bill and usageread-only data12 specialistsone per area3 review stagesreject and de-duplicateReviewer agentattacks the numbersEngineersees what survived Bill and usageread-only data12 specialistsone per area3 review stagesreject and de-duplicateReviewer agentattacks the numbersEngineersees what survived
LLM serving · retrieval · test environment

Retrieval-augmented assistant on self-hosted models

The serving platform behind a banking chat assistant. The language model, the embeddings and the vector store are self-hosted, not called from an external model API.

answer path
staged: cheap matches first, and the language model only when they fail
embeddings
an open embedding model, 768 dimensions, served by a text-embeddings inference container
vector store
PostgreSQL with pgvector; session state in Redis Stack
generation
an open-weight 7B model, 4-bit quantised, on a T4 GPU behind an ECS capacity provider
ingest
admin portal → service → queue → container Lambda → embeddings → pgvector; new content is answerable 3–4 s after saving
tuning
match threshold set to 0.75 after measuring that unrelated questions score 0.45–0.60 cosine
latency
~26 s on CPU → about 1–3 s on GPU for generated answers; 0.1–0.3 s for matched answers
ML in production · vision and tabular

Face verification, de-duplication and a segmentation model

The machine-learning services behind customer onboarding and analytics, deployed and run across two clouds.

face match
Amazon Rekognition for face comparison and liveness in the onboarding flow
de-duplication
a face de-duplication service on GCP that checks a new applicant against existing customers
segmentation
BigQuery → feature engineering → K-Means clustering → reviewed labels → random-forest classifier for real-time inference
delivery
Cloud Build pipelines to Cloud Run on GCP; container services on AWS
my part
deployment, pipelines, networking and operations. The models themselves are not my work
Agents · operations · hackathon

Multi-agent incident investigator

Built with two teammates. An incident goes in, a root-cause report comes out.

graph
LangGraph supervisor routing to log, APM, database and scheduler agents, then a root-cause agent
tools
Loki and Prometheus query tools; a Redis event log feeding a live status dashboard
models
an open-weight 8B model on Ollama, with one model file (prompt and parameters) per agent role
runtime
FastAPI service; local stack with tracing, metrics and logs
Agents · FinOps · internal tooling

Agent teams that audit a cloud bill

Agents that collect, analyse and then argue with each other before a human sees a number.

audit
12 specialist agents and three review stages over one account
filtering
225 recommendations in; 22 rejected and 30 removed as duplicates by the review stages
standing agent
knowledge base, shell toolkit, savings ledger, over 20 documented failure patterns
safety
read-only by rule and allowlist; the audit was checked afterwards against every script it ran and the cloud audit trail, with no changes found
Agents · verification · internal tooling

An adversarial reviewer for AI output

A second agent whose only job is to break the first agent's conclusion.

labels
every claim marked tested, cited or asserted
memory
persistent record of verified facts, open claims and past mistakes
effect
overturned four headline figures in the cost agent's first baseline before anyone relied on it
LLM observability

Telemetry for AI coding assistants

Usage and spend for engineering AI tools, in the same stack as everything else.

pipeline
OpenTelemetry Collector → Prometheus and Loki
cost
daily sync of token usage and spend to dashboards
enablement
playbooks for shared context and token-cost reuse across an engineering organisation
Research · AI safety

What a guarantee on an LLM triager costs

My M.Tech project and IEEE submission: the audit budget needed to certify how often a model wrongly closes a real security alert.

methods
risk control, confidence sequences, inverse-propensity weighting, sequential tests
result
24 audited misses for one exact certificate; a public benchmark supplies 2.4
Read the research →