Senior Generative AI Engineer · Capgemini · Bengaluru

I design and build agentic AI systems.

I build AI agents that work together, remember what matters and get tested before they ship. Most of it runs on the client’s own hardware, for teams in automotive, healthcare and telecom.

13 systems4 measured or publishedRASSE 2025 paper
How my agent systems fit together Most projects below follow this shape
LANGGRAPH RUNTIMEGOALVERIFIEDRETRYRequestuser · eventPlannerorchestratorAgentretrieveAgentreasonAgentactToolsMCPMemoryA-MEMVerifyguardrails · evals · groundingActionhuman-approved
Live map

All 13 projects on one map

Each project is linked to its agents, databases, tools and models. When two projects use the same technology, they share a node. The map walks through one project at a time. Click anything to look closer, and open the case study from the side panel.

  • Project
  • Stack
  • Agent
  • Database
  • Tool
  • Model
4+ yrsShipping GenAI at Capgemini EngineeringJan 2023 – present
91.0%of 3,551 known attacks blocked liveARGUS · 1 Jul 2026 · one 16 GB GPU
45 → 6 min672-test LLM regression suite in CIMOP Agent · −83% peak memory
3–4 d → 10 minSurgical-device fault diagnosisPublished · RASSE 2025
01Selected work

What I’ve built, and how well it works

Each card shows how the system is actually wired. Open one to see how a request moves through it, where the data lives and which agents do the work.

Showing all 13 projects

13 projects shown

SERVESESSIONASYNCEVIDENCEINCIDENTSCONTAINMISSEDHOT-LOADClientsHTTP / APIEdge proxyreflex · rateAgent panel4–8 of 27 voteOriginno public portBehavioursession patternsDeep swarmLangGraphMCP tools280 · 19 serversSOC consoleMITRE-taggedResponsecontain · playbooksClosed loop154 learnedON-PREM OR AIR-GAPPED · 1× NVIDIA A2 · LOCAL MODEL ON VLLM5 / 29,251FALSE POSITIVES91.0%KNOWN ATTACKS
AI SecurityBuilt & measured

ARGUS

Autonomous Agentic-AI Cyber-Defence Platform
An agentic-AI web application firewall and security-operations platform for banks and government, on the client's own server. Every request is held at the edge while 4 to 8 specialist AI agents, drawn from 27, investigate it with real security tools and vote. A threat vote only counts if the agent quotes the attack from the request itself.
LangGraphvLLMMCP
PushSelectRun2 shardsLLM judgeMR report672 TESTS · 20 SUITES · 1 CELL = 4PEAK CI MEMORY / POD3.7 GB~650 MBFULL RUN / SHARD45 min~6 minEVERY PUSH · TEMPERATURE 0 · VERDICT + REASON IN THE MR83 → 672REGRESSION TESTS−83%PEAK CI MEMORY40 → 100%RIGHT PROMPT LOADED
LLMOps & EvalRunning in CI

MOP Agent

Automated LLM Evaluation & Testing in GitLab CI/CD with Promptfoo
The agent's behaviour lives in prompt and skill files, so I built a test suite for it. 672 Promptfoo tests run on every push, graded by an LLM judge. Each verdict and its reason lands in the merge request.
PromptfooPythonNode.js
DRAFTLESSONSCataloguesales kitSignalstenders · newsResearchMCP toolsDossierone offerApprovala person decidesOutreachworking hoursRepliesdraftedDealproposal107 agents · 58 MCP tools · local Qwen3.5-9B on vLLMSELF-HOSTED · NO OUTSIDE AI BY DEFAULT · EVERY SEND APPROVED
Agentic AIBuilt

Sales Engine

Agentic Sales & Outreach Platform
A self-hosted sales platform for an AI services company. It watches public tenders, funding calls, job adverts and news, matches them to what the company sells, researches each company, finds real contacts and drafts emails, replies, briefs, proposals and contracts. AI agents prepare the work and a person approves anything that leaves. Every model runs on the company's own server.
PydanticAILangGraphFastMCP
DEVICE LOGS10,000+ LINES / CASERCA REPORT21 CFR 820Log ParserIssue DetectionError AnalysisRoot Cause IdentificationCompliance3–4 d → 10 minFAULT DIAGNOSIS
Agentic AIBuilt · Published

Medical Device Log Intelligence & Root Cause Analysis

A 5-agent LangGraph pipeline reads 10,000-line surgical-device logs, finds the root cause and writes an FDA-compliant report. Diagnosis dropped from 3–4 days to about 10 minutes. Published at RASSE 2025.
LangGraphLangChainQwen 3 (8B)
6 · 24 · 72 HAskpin or questionPlanner27 capabilitiesRunon live dataValidatecan it see?Answerevidence · limitsRecordhash-chainedReviewconfirm / rejectWatch247 regionsSources~40 openMy part: architecture, plans, UIONE SERVER · ON-PREM OR AIR-GAPPED · A REFUSAL IS A RESULT~30QUESTIONS / PIN
Climate & GeoBuilt

GSA-SIP

Location & Climate-Risk Intelligence Platform
vLLMPostGISTimescaleDB
OUTCOME WRITTEN BACK“I’m cold”voiceA-MEMlinked memoryMemoryBlowerVentilationWindowVerify18–32 °CRust layeractuate4 COOPERATING AGENTS · QUALCOMM SA8255P
Agentic AIBuilt

A-MEM

Agentic AI-Based Automated Vehicle Climate Control
PythonRustTokio
Questionplain EnglishSafety gateresearch onlyPlannerparallel lanesLiteratureGenomicsProteinClinical trialsValidatorcitations · E1–E6Criticobjections · gapsScientistreview gate H2Reportrelease gate H3MCP gateway · 26 servers · 130+ tools · provenance on every resultLANGGRAPH · POSTGRES CHECKPOINTS · QDRANT + FULL-TEXT · NEO4J
Bio & HealthBuilt & measured

BioAI

Evidence-First Biomedical Research Platform
LangGraphMCP (FastMCP)FastAPI
SOURCE → ASTTREE-SITTERAnalyzerGeneratorValidatorcompile · runOptimizerfix · RAGUNTIL PASSGo · Python · Java
Agentic AIBuilt

GenAI-Powered Automated Unit Testing, Compilation & Debugging

LangGraphLangChainLlama 3
15+ SIGNALS3-LAYER LSTMDRIFT → RETRAIN · MLFLOWLearningProductivityEntertainmentDSCP QUEUES120+ apps
ML SystemsBuilt

AI-Based User Persona Prediction & Dynamic QoS Management

PyTorchLSTMStreaming features
REQUESTAPPROVEHRapprovesCoordinatorLangGraphA-MEMpolicy RAGRecruitmentResume ParserCandidate MatcherInterview SchedulerOnboardingPerformanceHR Chatbot
Agentic AIBuilt

Agentic AI HRMS

AI-Powered HR Management Platform
LangGraphLangChainA-MEM

Platform architecture

Fully designed, not built yet
EXPERIENCEVR / AR / MRWebXRInstructor consoleAPPLICATIONSTrainAssess & OSCEDiscoverValidateDOMAINSClinical skillsSurgical & hapticImagingAI SPINELLM hub + RAGAgent fabricGuardrailsCOREUE5Pulse physiologyScenario engineDATA & TRUSTFHIR / DICOMConsentProvenance
Simulation & XRSystem design

VITA

Virtual Intelligence & Twin Architecture for Medicine
Unreal Engine 5Pulse Physiology EngineOpenXR / WebXR
EXPERIENCETablet ARMRVRDesktop & webAPPLICATIONSLearnPractisePerformCertifyDOMAINSAsset packsFault engineInspectionAI FABRICVisionTechnician copilotApproval gateCOREUnity 6Part-tree importAuthoringDATA & TRUSTKnowledge graphDigital thread
Simulation & XRSystem design

PRAXIS

Practical Reality & AI for eXtended Inspection & Servicing
Unity 6Unity SentisRT-DETR / D-FINE
DOMAINSRoadHeavyAirSeaRailEDITIONSTrainAssessValidateRehearseAI SPINEAgentsOn-prem LLM + RAGScoringCOREFixed-stepUE5 IGScenario engineINTEROPOpenUSDOpenSCENARIOFMI 3.0SECURITYAir-gappedSBOM + ML-BOM
Simulation & XRSystem design

MOTUS

Multi-domain Operations, Training & Unified Simulation
Unreal Engine 5JSBSimProject Chrono
02Results

Before and after, measured on real hardware

Peak CI memory per pod

GitLab CI · per pod
−83%
Before3.7 GB
After~650 MB

Full regression run

per shard · 0 infra errors
45 → 6 min
Before~45 min
After~6 min

Regression tests in CI

13 → 20 suites
8×
Before83 tests
After672 tests

Surgical-device fault diagnosis

per incident · scale from 3 days
days → minutes
Manual3–4 days
5-agent chain~10 min

Attacks blocked through the live edge

3,551 known attacks · 1 Jul 2026 · earlier test estate · one 16 GB GPU
91.0%
Known attacks blocked91.0%
Genuine requests blocked (12 sent)0 of 12

Tests loading their intended prompt

prompt routing fixed
40 → 100%
Before40%
After100%
03Experience

Capgemini Engineering, since Jan 2023

Senior Generative AI Engineer (Professional I)

Bengaluru, India · Jan 2023 – Present

I build and ship agentic AI systems for automotive, healthcare and telecom clients, and I lead an internal agentic-AI R&D team and its internship programme.

  • MOP AgentI took LLM testing from POC to a 672-test Promptfoo suite in GitLab CI: peak memory 3.7 GB to ~650 MB, full run ~45 to ~6 min per shard.
  • A-MEMI built four cooperating LLM agents on A-MEM agentic memory for hands-free cabin climate control on Qualcomm SA8255P, with a Rust embedded layer.
  • Medical Device Log Intelligence & RCAI built a 5-agent LangGraph pipeline that cut surgical-device fault diagnosis from 3–4 days to ~10 minutes. Published at RASSE 2025.
  • User Persona Prediction & Dynamic QoSI built a real-time 3-layer LSTM persona classifier driving DSCP-based bandwidth allocation across 120+ apps.
  • GenAI Automated Unit TestingI built a four-stage LangGraph loop that writes, compiles, runs and fixes unit tests for Go, Python and Java.

RASSE 2025 publication

“Stateful Chain-of-Reasoning: Agentic LLMs Pipeline for State Transition Analysis and Redundancy Pruning in Surgical Robotics”

4× GEM Award

Capgemini, 2025–26: AI delivery

2× WOW Award

Capgemini, 2024–25: GenAI innovation

Global Data Science Challenge 2023

Rank 56 of 10,000+ participants in Capgemini’s international competition
04Capabilities & stack

What I build, and what I build it with

Agentic systems & copilots

Multi-agent workflows in LangGraph, with tools called over MCP, human approval gates, structured outputs and verification hooks.

RAG & agentic memory

Hybrid retrieval (dense + BM25) with re-ranking, knowledge graphs, and linked A-MEM memory that agents read and update over time.

LLM evaluation & guardrails

Promptfoo regression suites in CI, LLM-as-a-judge rubrics, NeMo Guardrails and deterministic checks that keep invented citations and unsafe output out.

Fine-tuning & local serving

LoRA / QLoRA, INT4 / INT8 quantisation and QAT; vLLM and Ollama serving on a single GPU or a fully air-gapped cluster.

AI security

Defence against prompt, jailbreak and tool injection, LLM app security, and licence-clean SBOM / model-BOM release gates.

Simulation, XR & digital twins

Geospatial and IoT digital twins, plus Unreal and Unity simulation platforms with an AI layer for scoring, tutoring and scenario generation.
05Research

Papers and R&D

PaperRASSE 2025

Stateful Chain-of-Reasoning: Agentic LLMs Pipeline for State Transition Analysis and Redundancy Pruning in Surgical Robotics

A peer-reviewed paper on the agentic LLM pipeline behind the medical-device root-cause system.

R&DInternal R&D

LLM architecture exploration & models from scratch

I built decoder-only transformers from scratch and encoder–decoder models, then took them through pre-training, fine-tuning and quantisation.

R&DInternal R&D

Multimodal AI for automated web development

I fine-tuned Stable Diffusion XL and Phi 3.5 Vision to turn text prompts into website mock-ups and working HTML, CSS and JavaScript. A LangGraph agent loop refines the design.

R&DLed an internal R&D team and its internship programme

Agentic AI framework & architecture exploration

I explored and benchmarked agent frameworks and agentic patterns.

06Contact

Working on something with AI agents? I’d like to hear about it.

keyurhirpara66@gmail.com
Case study 01 / 13
AI SecurityBuilt & measured

ARGUS Autonomous Agentic-AI Cyber-Defence Platform

An agentic-AI web application firewall and security-operations platform for banks and government, on the client's own server. Every request is held at the edge while 4 to 8 specialist AI agents, drawn from 27, investigate it with real security tools and vote. A threat vote only counts if the agent quotes the attack from the request itself.

LangGraphvLLMMCPOpenSearchKafkaNeo4jQdrantOpenCTIZeekFalco
SERVESESSIONASYNCEVIDENCEINCIDENTSCONTAINMISSEDHOT-LOADClientsHTTP / APIEdge proxyreflex · rateAgent panel4–8 of 27 voteOriginno public portBehavioursession patternsDeep swarmLangGraphMCP tools280 · 19 serversSOC consoleMITRE-taggedResponsecontain · playbooksClosed loop154 learnedON-PREM OR AIR-GAPPED · 1× NVIDIA A2 · LOCAL MODEL ON VLLM5 / 29,251FALSE POSITIVES91.0%KNOWN ATTACKS
91.0%of 3,551 known attacks blocked live1 Jul 2026, earlier test estate; none of 12 genuine requests blocked
5 in 29,251false positives against confirmed detectionslifetime counter, 4 Oct 2026
280security tools on 19 MCP servers4 to 8 of 27 active agents investigate each request
1,690compliance controls across 38 frameworkscoverage mapping, not a certified audit
01In plain words

Who it helps, what was going wrong, and how it works

Who it’s forSecurity teams at sensitive or regulated organisations, such as banks, hospitals, government sites and factories, that are not allowed to send their web traffic to a cloud AI service.
The situationTheir websites and APIs face a steady stream of attacks, and new kinds keep appearing.
What was going wrongAn ordinary firewall works from fixed rules, so it only catches what it has seen before. Asking a cloud AI for a second opinion would send private traffic outside, which these organisations cannot do.
How it works, step by step
  • 01Every visitor's request goes to ARGUS first. The real website has no public door of its own.
  • 02A visitor already verified as genuine has their clean follow-up requests served at once and checked in the background.
  • 03Each request is held for a moment while 4 to 8 AI security analysts, chosen from 27 by speciality (web attacks, identity, threat intelligence and more), look at it.
  • 04The analysts gather evidence with real security tools. Fixed signatures add their findings too, but they never block anything on their own.
  • 05A request is blocked only when an analyst quotes the attack from the request itself. Otherwise it is served.
  • 06Every decision becomes an incident report for the security team, tagged with the attack technique.
An exampleFor example, a login request hides an SQL-injection payload, encoded so that a simple rule would not recognise it. ARGUS holds it, the analysts decode it, find the injection and point to the exact text that proves it, so the request is blocked and the team can see why.
What changedThrough the live edge it blocked 91.0% of 3,551 known attacks and none of 12 genuine requests (1 July 2026, earlier test estate), on one 16 GB GPU with nothing leaving the building. Over its lifetime it has had 5 false positives against 29,251 confirmed detections, all on one GPU.
02Problem → solution
The problemRule-based firewalls miss new attack patterns, and a block that rests on a score nobody can read is hard to trust. Many banks and government bodies cannot send their traffic or telemetry to a cloud AI service at all. They need AI-grade detection that runs on their own hardware, explains every decision and lets genuine customers through.
Constraints
  • —No request data goes to any AI service, and it can run fully air-gapped with every outside call blocked
  • —The whole reasoning team runs on one server with one mid-range GPU (NVIDIA A2, 16 GB)
  • —Block a genuine customer as rarely as possible, because a blocked customer is an outage
  • —The protected application does not change; it simply accepts traffic only from ARGUS
What I built
  • 01I built the verify-before-serve edge. Each request is held while the agents investigate; a confirmed attack gets a 403 and its address goes on that application's block list, a genuine request is served. With no verdict a request is not served (the client retries), and a background reconciler gives every request a full verdict.
  • 02I built the agent panel on LangGraph. 4 to 8 specialists, drawn from 27 active agents, investigate each request with real tools and vote, and a threat vote counts only if the agent quotes the part of the request that is the attack and the quote is really there. Beyond the edge the same agents work as a SOC, with cases, threat hunting, forensics and response playbooks.
  • 03I built a deterministic detection engine of about 76 attack classes that gives the agents evidence and never decides on its own; alone it matched none of 580,402 benign requests (June 2026), so it adds no false positives of its own. When the agents catch an attack it missed, they draft a signature that goes live only if it matches no genuine traffic in the test set, passes a speed check and catches the attack. 154 signatures are learned so far, 152 of them drafted by the agents.
  • 04I built the tool grid: 280 security tools on 19 MCP servers, from threat intelligence (MISP, OpenCTI) and network sensors (Zeek, Suricata) to endpoint telemetry (osquery, Velociraptor, Falco), malware sandboxing, vulnerability scanning and AI-attack testing.
  • 05I built the SOC console. Every verdict is stored with each agent's vote, the evidence it cited, the tools it ran and the MITRE ATT&CK technique; evidence bundles are sealed with SHA-256 and an RFC 3161 timestamp, and the compliance view maps incidents to 1,690 controls in 38 frameworks.
  • 06In the reference deployment it protects five bank and government applications, from retail internet banking and a PSD2 open-banking API to a GenAI support assistant. On 4 October 2026 it had judged 239 requests there: 135 attacks blocked, 93 served and 11 held for review.
03How a request flows

One request, from the edge to a permanent lesson

Examplean unseen request with an encoded SQL-injection payload reaches a protected API.

CLIENTEDGE PROXYAGENT PANELFUSIONBEHAVIOUR ANALYSTDEEP SWARMRESPONSECLOSED LOOPSOC CONSOLE01Request02Hold03Investigate04Veto05Enforce06Watch the session07Investigate08Contain09Learn10Report
  1. 01 Client Request

    Every request reaches the edge proxy first. The protected app has no public port of its own.

  2. 02 Edge proxy Hold

    Fast gates first: rate limits and the application’s block list refuse a repeat attacker in milliseconds. Everything else is held until it has a verdict.

  3. 03 Agent panel Investigate

    The detection engine adds evidence, never the decision. 4 to 8 specialists drawn from 27 investigate with real tools (reputation checks, signature scans, threat intelligence, behaviour history) and vote.

  4. 04 Fusion Veto

    Votes are fused. A threat vote counts only if the agent quotes the part of the request that is the attack and the quote is really there.

  5. 05 Edge proxy Enforce

    Block: 403, IP ban and a SOC feed. Serve: forwarded to the origin.

  6. 06 Behaviour analyst Watch the session

    Catches payload-free abuse, such as ID enumeration, from the session pattern and can contain it after the fact.

  7. 07 Deep swarm Investigate

    In the background the router picks specialists; they call MCP tools in parallel and a risk aggregator fuses one verdict.

  8. 08 Response Contain

    Tickets and alerts run at once; blocking, isolation and account actions wait for a person. An Airflow playbook records the case.

  9. 09 Closed loop Learn

    When the agents catch an attack the engine missed, they draft a signature. It goes live only if it matches no genuine traffic in the test set, passes a speed check and catches the attack.

  10. 10 SOC console Report

    A MITRE-tagged incident appears in the console, built on OpenSearch.

If it fails

If a tool is missing it answers an honest error, never a fake “safe”, and an agent error fails closed to “needs review”. Blocking, isolation and account actions wait for a person.

04Data architecture

Where the data lives, and why

ARGUS6 data storesFindings & SIEMOpenSearchIncidents, events and threat-intel indices that the agents searchSEARCH ENGINEFull-text search and aggregationsNetwork telemetryKafkaZeek network logs stream in through a Kafka producerEVENT STREAMDurable, ordered events between servicesAttack graphNeo4jAssets and threat actors; blast radius and kill-chain tracesGRAPH DBMulti-hop relationship traversalMemory & anomalyQdrantAgent memory and the benign / attack clusters for novel-request scoringVECTOR DBSemantic similarity search over embeddingsLive stateRedisSessions, verdicts and countersKEY-VALUEIn-memory counters and cache, sub-millisecondThreat intelligenceOpenCTI · MISPIndicators and actors, fed by MITRE, AlienVault and CISA KEV connectors
  • Findings & SIEM OpenSearch Incidents, events and threat-intel indices that the agents search Search engine · Full-text search and aggregations
  • Network telemetry Kafka Zeek network logs stream in through a Kafka producer Event stream · Durable, ordered events between services
  • Attack graph Neo4j Assets and threat actors; blast radius and kill-chain traces Graph DB · Multi-hop relationship traversal
  • Memory & anomaly Qdrant Agent memory and the benign / attack clusters for novel-request scoring Vector DB · Semantic similarity search over embeddings
  • Live state Redis Sessions, verdicts and counters Key-value · In-memory counters and cache, sub-millisecond
  • Threat intelligence OpenCTI · MISP Indicators and actors, fed by MITRE, AlienVault and CISA KEV connectors
Everything stays on the box. Nothing leaves the premises.
05Run it

Ask this project a question, and watch it move through its own stores and tools

Ask ARGUS a question

The question runs through small in-browser stand-ins for this project’s own stores (OpenSearch, Kafka, Neo4j, Qdrant, Redis, OpenCTI · MISP) and searches only this case study. Each store does its real job here and times it.

What each store did

    Ask it over MCP

    A real MCP server for ARGUS runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

    Answer

    Call a tool yourself

    Raw JSON-RPC messages
       
      06Connections

      What it’s built from, and what it shares with other projects

      • Project
      • Stack
      • Agent
      • Database
      • Tool
      • Model

      07Inside the system

      The agents, pipelines, tools and models, taken from the project’s design documents

      Orchestrator Deep-swarm coordinator LangGraph: an event router picks the specialists, they investigate in parallel with real tools, a hand-off gate and a risk aggregator fuse one verdict, and a response router acts. An agent error fails closed to “needs review”.
      • Network & web

        What is the request or flow doing?

        • Network intelligence
        • Web security
        • API security
        • Attack-surface management
      • Identity & insiders

        Who is acting, and is it really them?

        • Identity & access
        • Fraud
        • Insider threat
        • Cloud security
      • Intel & hunting

        Have we seen this before?

        • Threat intelligence
        • OSINT
        • Threat hunting (Sigma, Hayabusa)
        • Deception & canaries
      • Malware & forensics

        Prove what happened

        • Malware analysis
        • Digital forensics
        • Endpoint security
        • Red team (scoped, approved)
      • Data & compliance

        What could leak, and which rules apply?

        • Data security & DLP
        • Privacy
        • Compliance (GDPR, PCI, NIS2…)
        • Software supply chain
      • AI, OT & physical

        Attack surfaces beyond the web

        • AI / LLM security
        • OT / ICS
        • Mobile
        • Physical security
      • Response & continuity

        Contain it and recover

        • Incident response & SOAR
        • Business continuity
        • Vulnerability management
      62 agents on the roster: 27 active and 35 standing specialists, all on one local model. Each request is investigated by the 4 to 8 most relevant active agents; running all 27 multiplies the time on one GPU. The groups below hold the 27 active agents.
      How a request is decided A missing tool answers an honest error, never a fake “safe”. No verdict means not served: the client retries.
      01 Hold every request waits at theedge 02 Fast gates rate limit and block list, inmilliseconds 03 Engine evidence about 76 attack classes + 154learned signatures 04 Route 4 to 8 relevant specialists of27 05 Investigate reputation, signatures, intel,behaviour 06 Vote & fuse a threat vote must quote theattack 07 Enforce 403 and block list, or served
      Deep swarm (LangGraph)
      01 Event router picks specialists by eventtype and severity 02 Specialists in parallel, each with its owntools 03 Hand-off gate bounded hand-offs betweenspecialists 04 Risk aggregator fuses the findings into oneverdict 05 Response router decides what to contain 06 Fail closed an agent error means “needsreview”
      Closed loop: learning a new signature
      01 Missed attack confirmed by the deep swarm 02 Draft the agents write a signature 03 Genuine traffic must match none of11,000–88,000 samples 04 Speed check no catastrophic backtracking 05 Recall check must catch the attack 06 Go live signed file; 154 learned sofar
      Protecting a new application The application itself does not change.
      01 Register a name, its address and asecurity contact 02 Lock the origin a firewall change: accepttraffic only from ARGUS 03 Point users DNS or links move to theprotected address 04 Monitor every request judged andrecorded, nothing blocked 05 Block switched on per application,and reversible
      Response with a person in charge
      01 Verdict from the triage gate or thedeep swarm 02 Plan actions proposed over theevidence 03 Auto tier ticket, notify, watch, enrich 04 Approval tier block IP, isolate host,disable account, revoke token 05 Playbook Airflow: ransomware,credentials, C2, cloud IAM… 06 Evidence DFIR-IRIS case, RFC 3161timestamps 07 Recover a recovery agent plans therestoration
      Network intelligenceZeek · Arkime · subfinder · sslyzeip_reputation, zeek_query, arkime_pcap, dnstwist_scan
      Endpoint & EDRosquery · Velociraptor · Falcoosquery_sql, velociraptor_collect, memory_dump, process_kill
      Response & evidenceDFIR-IRIS · Airflowfirewall_block, credential_rotate, iris_create, rfc3161_timestamp
      Malware sandboxCuckoo3 · CAPA · YARAcuckoo3_submit, capa_analyze, yara_scan, olevba_scan
      Threat intelMISP · OpenCTI · OTXmisp_ioc_search, opencti_threat_actor, abuseipdb_check
      Vulnerability & SBOMNuclei · Grype · Trivynuclei_scan, syft_sbom, epss_lookup, kev_check
      Threat huntingChainsaw · Hayabusa · Sigmasigma_compile, hayabusa_timeline, pageindex_rag_query
      Offensive validationsqlmap · Katana · CalderaScoped and approved only: sqlmap_test, caldera_adversary
      WAF & canariesDetection engine · canary tokenswaf_deep_inspect, waf_block_ip, canary_create
      Attack graphNeo4j Cypherblast_radius_calc, kill_chain_trace, crown_jewel_distance
      AI securitygarak · prompt scannersprompt_injection_test, scan_prompt, scan_model_file
      SIEM & SOAROpenSearch · IRIS · Slackalert_history, multi_incident_correlate, sla_escalate
      280 security tools on 19 MCP servers (4 October 2026), each wrapping a real open-source security tool. Real tool names below.
      ReasoningQwen3.5-9B on vLLMW4A16, since November 2026 (Qwen3-8B-AWQ before); continuous batching and tool calls
      Hardware1× NVIDIA A2 16 GBReference server; each A2 adds about 2.5 full investigations at once
      Embeddingsbge-small-en-v1.5 on CPUScores how far a request is from known benign and attack traffic
      Detection~76 attack classes · 154 learned152 drafted by the agents, 2 from the CISA KEV list; evidence only
      One local open-weight model for every agent, with deterministic evidence around it. No cloud AI service is configured.
      Key decisions

      Agents decide, and deterministic code can veto

      LLM verdicts vary with sampling, so a threat vote counts only if the agent quotes the attack from the request and the quote is really there. Signatures are evidence, never the decision. Over its lifetime the platform has had 5 false positives against 29,251 confirmed detections, and a blocked visitor can be unblocked with one click.

      A request cannot give the agents orders

      Request content is fenced off as untrusted input, so text inside a request cannot instruct the agents, and a vote without evidence found in the request does not count. The platform also attacks its own model layer with adversarial prompts to check this holds.

      One local model instead of seventy-five

      The roadmap named 75 specialist models. One local open-weight model on vLLM, with deterministic code and tools around it, delivers those capabilities on a single 16 GB GPU, which keeps the system small enough to run air-gapped.

      Hold and verify, rather than block or pass inline

      Requests wait at the edge, which gives the agents the time they need on one GPU; a verified genuine visitor's clean follow-ups are served at once and judged in the background. Overload turns into retries, never into serving unchecked traffic. Each application can run in monitor mode first, judged and recorded with nothing blocked.
      Safety boundaryDefensive only. The agents suggest and a person acts on irreversible containment such as host isolation, account disablement or holding funds. About 20 of the 90 security domains need a feed or hardware before they can detect, and they say so instead of returning a clean result.
      NextNext: shorter first decisions with more GPUs (on one A2 a new request takes minutes in the fully agentic posture), a second inference node for high availability, a fresh full blind run on the current applications, and the feeds for the feed-bound domains.
      Case study 02 / 13
      LLMOps & Eval · Telecom clientRunning in CI

      MOP Agent Automated LLM Evaluation & Testing in GitLab CI/CD with Promptfoo

      The agent's behaviour lives in prompt and skill files, so I built a test suite for it. 672 Promptfoo tests run on every push, graded by an LLM judge. Each verdict and its reason lands in the merge request.

      PromptfooPythonNode.jsGitLab CI/CDKubernetesAzure LLM gatewayMSALLLM-as-a-judgeJUnit XML
      PushSelectRun2 shardsLLM judgeMR report672 TESTS · 20 SUITES · 1 CELL = 4PEAK CI MEMORY / POD3.7 GB~650 MBFULL RUN / SHARD45 min~6 minEVERY PUSH · TEMPERATURE 0 · VERDICT + REASON IN THE MR83 → 672REGRESSION TESTS−83%PEAK CI MEMORY40 → 100%RIGHT PROMPT LOADED
      83 → 672regression tests13 → 20 suites
      −83%peak CI memory3.7 GB → ~650 MB per pod
      45 → 6 minfull-run timeper shard · 0 infrastructure errors
      40% → 100%tests loading their intended promptafter a config validator
      01In plain words

      Who it helps, what was going wrong, and how it works

      Who it’s forThe developers of an AI assistant that writes network-upgrade procedures for a telecom company.
      The situationThe assistant's behaviour lives in prompt and instruction files, and those files change often.
      What was going wrongNormal code tests cannot check prompts, so a small wording change could quietly change what the assistant writes. Problems only showed up after release, when someone tested by hand.
      How it works, step by step
      • 01Every push runs 672 test cases against the assistant automatically.
      • 02A second AI acts as a judge and grades each answer against a written rubric.
      • 03A checker makes sure each test really loads the prompt it is meant to test.
      • 04The results, with the judge's reasons, appear in the merge request, so reviewers see what broke and why.
      An exampleFor example, a developer rewords one instruction about formatting. On the next push two summary tests fail, and the merge request shows the judge's reason before anything reaches users.
      What changedThe suite grew from 83 to 672 tests, a full run fell from 45 to 6 minutes with 83% less memory, and the share of tests loading their intended prompt went from about 40% to 100%.
      02Problem → solution
      The problemThe MOP Agent drafts Methods of Procedure for telecom network upgrades. Its behaviour lives in prompt and skill files that pytest cannot check. A small wording change could break it silently. Developers only found such problems after deployment, by testing by hand.
      Constraints
      • —Enterprise Azure LLM gateway behind MSAL authentication
      • —Shared Kubernetes CI runners with tight memory limits
      • —Gateway rate limits (HTTP 429)
      • —Results must show up in the merge request, where developers already work
      What I built
      • 01I took Promptfoo from proof of concept to a regression framework of 672 tests in 20 suites. It covers content generation, summarisation, system-prompt rules, role-based access (Practitioner, Global SME, Project SME) and data-leak security checks.
      • 02I wrote a custom provider for the enterprise Azure LLM gateway, with MSAL auth. An LLM-as-a-judge grader handles rubric checks. JUnit XML reports show up in GitLab merge requests.
      • 03A config validator makes sure every test loads its intended prompt. Correct loading went from about 40% to 100%.
      • 04Node.js bridges feed one shared Python process, which runs 16 calls at once. This replaces a new Python worker pool for every judge call.
      • 05Two parallel shards with controlled concurrency and 429 back-off. A response cache that never stores failed or cut-off answers. Change-aware runs that skip unaffected suites.
      • 06I root-caused 276 failures and sorted them into six categories. I applied 181 verified fixes and raised 21 genuine prompt and skill bugs with their owners.
      03How it works

      What happens on every push, with no manual steps.

      Step by step
      01 Push A developer changes a prompt,a skill or a code file 02 Select Only affected suites run.Code-only pushes skip the… 03 Run 2 shards, 16 concurrent calls,temperature 0, with retries 04 Judge Rubrics go to an LLM judge.Deterministic asserts run too. 05 Report The merge request shows theinput, answer, verdict…
      If it failsCalls run at temperature 0 with retries, so one flaky model call does not fail the suite. A failing test posts its input, answer, verdict and reason to the merge request.
      04Run it

      Ask this project a question, and watch it move through its own stores and tools

      Ask MOP Agent a question

      The question runs through small in-browser stand-ins for this project’s own stores and searches only this case study. Each store does its real job here and times it.

      What each store did

        Ask it over MCP

        A real MCP server for MOP Agent runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

        Answer

        Call a tool yourself

        Raw JSON-RPC messages
           
          05Connections

          What it’s built from, and what it shares with other projects

          • Project
          • Stack
          • Agent
          • Database
          • Tool
          • Model

          06Inside the system

          The agents, pipelines, tools and models, taken from the project’s design documents

          CI evaluation pipeline, end to end
          01 Push prompt, skill or code change 02 Select change-aware suites only 03 Shard 2 parallel shards 04 Bridge Node.js → one shared Pythonprocess 05 Call LLM Azure gateway (MSAL), 16concurrent, 429 back-off 06 Judge LLM-as-a-judge + asserts,temperature 0 07 Cache complete answers only 08 Report JUnit XML → merge request
          Key decisions

          One shared Python process, not a pool per call

          Promptfoo started a new pool of Python workers for every judge call. That meant 528 processes and 3.7 GB for 32 tests, and it crashed Kubernetes CI nodes. Node.js bridges into one long-lived process instead. Pod memory dropped by about 83%, with no crashes.

          Never cache a failure

          Caching makes reruns fast. But a cached timeout or truncated answer would hide a real regression, so the cache stores only complete, successful responses.

          Run only what changed

          Code-only pushes skip the AI tests. Prompt changes run only the affected suites. That keeps the full suite affordable on every push.
          Safety boundaryTests run at temperature 0, with retries and a 2% error tolerance. Every verdict comes with its reason in the merge request.
          NextI presented the proof of concept to leadership for adoption.
          Case study 03 / 13
          Agentic AIBuilt

          Sales Engine Agentic Sales & Outreach Platform

          A self-hosted sales platform for an AI services company. It watches public tenders, funding calls, job adverts and news, matches them to what the company sells, researches each company, finds real contacts and drafts emails, replies, briefs, proposals and contracts. AI agents prepare the work and a person approves anything that leaves. Every model runs on the company's own server.

          PydanticAILangGraphFastMCPFastAPIPostgreSQL + pgvectorProcrastinateNext.jsRefinevLLM (Qwen3.5-9B)bge-m3Playwright
          DRAFTLESSONSCataloguesales kitSignalstenders · newsResearchMCP toolsDossierone offerApprovala person decidesOutreachworking hoursRepliesdraftedDealproposal107 agents · 58 MCP tools · local Qwen3.5-9B on vLLMSELF-HOSTED · NO OUTSIDE AI BY DEFAULT · EVERY SEND APPROVED
          107AI agents in 9 hubseach with its own tools, data scopes, approval gate and highest autonomy level
          58read-only tools on the platform's own MCP server43 agents research through them before they write; outside MCP clients can use them with a personal token
          40screens, on 177 database tablescatalogue, signals and tenders through to deals, autopilot and control
          01In plain words

          Who it helps, what was going wrong, and how it works

          Who it’s forThe sales team of a small AI services company.
          The situationThey sell specialised AI products and need to find companies that need them right now, then reach the right person with something relevant.
          What was going wrongSpotting the right moment and researching each company by hand takes hours, and generic AI tools write generic emails full of claims nobody approved.
          How it works, step by step
          • 01The platform watches public tenders, funding calls, job adverts and news, and matches them to the company's products.
          • 02Agents research each company and find real contacts.
          • 03They draft a specific first email and a short client brief, where every sentence comes from the client's own request, an approved claim or the product's documents.
          • 04A salesperson reviews the drafts in a short daily routine and approves, edits or rejects them.
          • 05Replies, meetings, proposals and contracts follow the same rule: agents prepare, a person decides.
          An exampleFor example, a public tender for AI-based cyber defence appears. The platform matches it to the security product, researches the buyer, drafts a brief built from that product's own documents and puts it in the morning's approval list.
          What changedA salesperson's day comes down to 30 to 45 minutes of reviewing and deciding, while the research and drafting happen in the background on the company's own server.
          02Problem → solution
          The problemSelling specialised AI services means spotting the right moment, such as a tender, a funding round or a new hire, at the right company, understanding what that company needs and reaching the right person with something specific. Done by hand that takes hours per account. Generic AI tools are faster, but they write generic emails and make claims nobody approved.
          Constraints
          • —No outside AI service by default. The agents run on a local model on the company's own server
          • —Every email, reply, brief, price, proposal and contract is approved by a person before it leaves
          • —No mock data. Anything that lacks a model or credential says "not configured" instead of inventing output
          • —Email stays blocked until the legal settings (representative, address, privacy page) are complete
          What I built
          • 01I designed and built the whole platform on my own. It has 9 hubs (catalogue, company data, creators and media, signal radar, tenders, outreach, deals and partners, autopilot and insights, and control), 40 screens and 177 database tables.
          • 02I built 107 AI agents on PydanticAI with typed output and versioned prompts. They go through a cost-capped model router that uses a local Qwen3.5-9B on vLLM by default, with Claude or Mistral only if switched on and under a monthly spend limit.
          • 03I built the platform's own MCP server with FastMCP. Its 58 read-only tools are what 43 agents use to research before they write anything.
          • 04I built approval gates in LangGraph with a Postgres checkpointer. Routine items are approved automatically only up to the autonomy level an admin sets, and a sample still goes to a person.
          • 05I made client documents evidence-bound. Every sentence in a brief or proposal must rest on the client's own request, an approved claim or the product's own documents. Code removes anything else, checks the brief for gaps and sends it back to the writer once with the gaps named.
          • 06I built self-repair. Every five minutes an ops job restarts frozen services and silent workers, checks the model server and renews the public link, then tells the admins what it fixed.
          • 07It runs entirely self-hosted, with booking, e-signatures, attachment virus scanning, email-authentication reports, push alerts and analytics, and it translates emails locally with OPUS-MT models.
          03How a request flows

          A salesperson’s day, 30 to 45 minutes

          ExampleThe routine the platform is built around; the agents do the preparation overnight and through the day.

          TODAYAPPROVALSINBOXCALENDARPIPELINE01See what needs you02Review drafts03Answer replies04Prepare calls05Move deals on
          1. 01 Today See what needs you

            Approvals, hot replies, tasks, calls and demos in one place.

          2. 02 Approvals Review drafts

            Read each first email, its client brief and each reply draft; approve, edit, ask for a rewrite or reject.

          3. 03 Inbox Answer replies

            When a client proposes a time, book it straight from the reply.

          4. 04 Calendar Prepare calls

            The call coach prepares each call from the account’s research.

          5. 05 Pipeline Move deals on

            A lost deal needs its reason, which feeds back into the sales kit.

          If it fails

          If the model server is away, agent jobs wait in the queue and run when it returns; approvals, sending and manual work keep going.

          04Data architecture

          Where the data lives, and why

          Sales Engine4 data storesRecords, vectors & jobsPostgreSQL + pgvector177 tables, LangGraph checkpoints and the Procrastinate job queueRELATIONALTransactional records, joins and checkpointsEmbeddingsbge-m3Runs locally for search and matchingSignatures & bookingDocuSeal · Cal.comSelf-hosted e-signatures and meeting bookingBackupspgBackRest · resticNightly backup, weekly restore test
          • Records, vectors & jobs PostgreSQL + pgvector 177 tables, LangGraph checkpoints and the Procrastinate job queue Relational · Transactional records, joins and checkpoints
          • Embeddings bge-m3 Runs locally for search and matching
          • Signatures & booking DocuSeal · Cal.com Self-hosted e-signatures and meeting booking
          • Backups pgBackRest · restic Nightly backup, weekly restore test
          One database for records, vectors, jobs and agent checkpoints.
          05Run it

          Ask this project a question, and watch it move through its own stores and tools

          Ask Sales Engine a question

          The question runs through small in-browser stand-ins for this project’s own stores (PostgreSQL + pgvector, bge-m3, DocuSeal · Cal.com, pgBackRest · restic) and searches only this case study. Each store does its real job here and times it.

          What each store did

            Ask it over MCP

            A real MCP server for Sales Engine runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

            Answer

            Call a tool yourself

            Raw JSON-RPC messages
               
              06Connections

              What it’s built from, and what it shares with other projects

              • Project
              • Stack
              • Agent
              • Database
              • Tool
              • Model

              07Inside the system

              The agents, pipelines, tools and models, taken from the project’s design documents

              Orchestrator Autopilot Thinks, gates and acts within the autonomy level an admin sets per item type; a sample always goes to a person, and one switch pauses all sending
              • Catalogue · 13

                What do we sell, and with what proof?

                • Sales-kit builder
                • Claims curator
                • Solution composer
                • Competitor watcher
              • Company data · 15

                Who are they, and who decides?

                • Enrichment orchestrator
                • Dossier writer
                • Warm-intro finder
                • Email verifier
              • Creators & media · 10

                Who can speak for the product?

                • Creator discovery
                • Safety, age and audience checker
                • Press finder
                • Mentions monitor
              • Signal radar · 7

                Who needs it now?

                • Signal triage
                • Need matcher
                • Tender reader
                • Partner finder
              • Tenders · 13

                Can we bid, and with what?

                • Requirement extractor
                • Eligibility assessor
                • Bid document drafter
                • Bid claim checker
              • Outreach · 17

                Say something specific

                • Lead-offer arbiter
                • Pitch strategist
                • Compliance guard
                • Reply writer
              • Deals & partners · 16

                Move it to a decision

                • Call coach
                • Demo prep
                • Proposal writer
                • Contract drafter
              • Autopilot & insights · 10

                Learn from every outcome

                • Nurture agent
                • Learning-loop agent
                • Research planner
                • Weekly analyst
              • Control · 6

                Stay in control

                • Approval desk
                • Privacy agent
                • Access request handler
                • Change explainer
              107 agents in nine hubs, on PydanticAI with typed output. Each has its own tools, data scopes, approval gate and highest autonomy: 63 always draft for a person, 35 may run fully automatically where an admin allows, 7 only suggest. 43 research through the platform’s MCP tools before they write.
              From signal to first email
              01 Signal a tender, funding call, jobadvert or news item 02 Match to a catalogue product and itssales kit 03 Research agents call the platform’sread-only MCP tools 04 Lead offer one offer per account 05 Brief & email every sentence tied to asource 06 Approve a person decides 07 Send in the recipient’s workinghours
              Evidence-bound client brief
              01 Draft title, need, solution, flow,figures, next step 02 Source check request, approved claim orproduct document 03 Strip code removes unsupportedsentences 04 Gap check title, product, 3+deliverables, next step,… 05 One rewrite sent back to the writer withthe gaps named 06 Show gaps anything still missing isshown with it
              Self-repair, every five minutes
              01 Check services, workers, modelserver, public link 02 Restart frozen services and silentworkers 03 Wait safely agent jobs queue while themodel is away 04 Renew the public tunnel if it stopsanswering 05 Tell admins get an in-app note anda phone push
              Platform MCP serverFastMCP58 read-only research tools for 43 agents and outside MCP clients
              TranslationOPUS-MTLocal English to Finnish, Swedish and Polish
              SafetyClamAV · DMARC reports · injection guardAttachments, email authentication, prompt injection
              OperationsCaddy · ntfy · Beszel · UmamiHTTPS, phone alerts, monitoring, analytics
              Self-hosted services around the platform; nothing depends on an outside AI service.
              DefaultQwen3.5-9B on vLLMLocal, on the company’s own GPU server. Agents ask for a slot (triage, reasoning, writing, tender, matching…) and the router picks the model
              OptionalClaude · MistralOnly when switched on, under a monthly spend cap
              Embeddingsbge-m3Local
              A cost-capped router chooses the model for each agent call.
              Key decisions

              Agents prepare, people send

              Anything that reaches an outside person waits for a person, and one switch pauses all sending at once. Autonomy grows only where an admin raises it, item type by item type.

              A sentence needs a source

              A brief can only say what the client asked for, what has been approved as a claim, or what the product's own documents state. That keeps invented promises out of first emails and proposals.

              Local model first, with a spending cap

              Client and company data stays on the company's own server. Outside models are optional, routed through the same gateway and capped by a monthly budget.

              Say "not configured" instead of faking it

              When a model, credential or data source is missing, the screen and the agent log say so. A sales team can trust that every result on screen came from something real.
              Safety boundaryAgents prepare and people decide. Every email to an outside person, every price, proposal, contract and discount needs a person's approval, and contact details are only revealed with approval.
              NextNext: client-ready documents for the remaining products, so the agents can research and pitch them as fully as the rest.
              Case study 04 / 13
              Agentic AI · Surgical-device makerBuilt · Published

              Medical Device Log Intelligence & Root Cause Analysis

              A 5-agent LangGraph pipeline reads 10,000-line surgical-device logs, finds the root cause and writes an FDA-compliant report. Diagnosis dropped from 3–4 days to about 10 minutes. Published at RASSE 2025.

              LangGraphLangChainQwen 3 (8B)Llama 3ChromaDBspaCyPyTorchFastAPIPostgreSQLRedisLangSmith
              DEVICE LOGS10,000+ LINES / CASERCA REPORT21 CFR 820Log ParserIssue DetectionError AnalysisRoot Cause IdentificationCompliance3–4 d → 10 minFAULT DIAGNOSIS
              3–4 days → ~10 minfault diagnosis timeper incident
              10,000+log lines per caseXML · JSON · binary
              5agents in a stateful chainparser → compliance
              RASSE 2025peer-reviewed publication
              01In plain words

              Who it helps, what was going wrong, and how it works

              Who it’s forService engineers at a company that makes surgical devices.
              The situationWhen a surgical device stops, engineers must find out why before it can be used again.
              What was going wrongThe answer is buried in logs of more than 10,000 lines. Reading them by hand took 3 to 4 days, and surgeries had to wait.
              How it works, step by step
              • 01A parser agent reads the logs, whatever their format, and puts them into one shape.
              • 02A detection agent picks out the unusual events.
              • 03An analysis agent compares the error patterns with past incidents.
              • 04A root-cause agent reasons over everything found so far to name the fault and the fix.
              • 05The finding is written up in the report format regulators expect.
              An exampleFor example, a fault that turns out to be a brief power cut shows up as a handful of lines among thousands. The agents find those lines, link them to similar past cases and name the cause.
              What changedDiagnosis went from 3 to 4 days to about 10 minutes, and the method was peer-reviewed and published at RASSE 2025.
              02Problem → solution
              The problemWhen a surgical device fails, engineers read logs of 10,000+ lines. The faults themselves are small, such as network errors, wiring issues or power cuts. The manual review took 3–4 days and delayed surgeries.
              Constraints
              • —Reports must follow FDA 21 CFR Part 820 and ISO 13485
              • —Logs come in mixed XML, JSON and binary formats
              • —Few labelled incidents to learn from
              What I built
              • 01A Log Parser agent that normalises XML, JSON and binary logs.
              • 02An Issue Detection agent that isolates abnormal events.
              • 03An Error Analysis agent that matches error signatures to past incidents.
              • 04A Root Cause agent that applies Bayesian reasoning over the chained context to pinpoint the fault and its fix.
              • 05A Compliance agent that writes reports to FDA 21 CFR Part 820 and ISO 13485.
              • 06I fine-tuned Qwen 3 (8B) on device documentation and the FDA MAUDE database. I also built a ChromaDB knowledge base (~230 curated logs, 20 unique incidents) with hybrid retrieval (dense + BM25) and cross-encoder re-ranking.
              03How it works

              A stateful chain. Each agent passes its findings to the next.

              Step by step
              01 Log Parser Normalises XML, JSON andbinary logs 02 Issue Detection Isolates abnormal events 03 Error Analysis Matches error signaturesagainst past incidents 04 Root Cause Identificati… Bayesian reasoning over thechained context finds the… 05 Compliance Writes the report to FDA 21CFR 820 and ISO 13485
              04Data architecture

              Where the data lives, and why

              Medical Device Log4 data storesIncident knowledge baseChromaDB~230 curated logs, 20 unique incidentsVECTOR DBSemantic similarity search over embeddingsDomain modelQwen 3 (8B), fine-tunedDevice documentation + FDA MAUDEService layerFastAPI · PostgreSQL · RedisPipeline service and storageKEY-VALUEIn-memory counters and cache, sub-millisecondTracingLangSmithAgent-chain observability
              • Incident knowledge base ChromaDB ~230 curated logs, 20 unique incidents Vector DB · Semantic similarity search over embeddings
              • Domain model Qwen 3 (8B), fine-tuned Device documentation + FDA MAUDE
              • Service layer FastAPI · PostgreSQL · Redis Pipeline service and storage Key-value · In-memory counters and cache, sub-millisecond
              • Tracing LangSmith Agent-chain observability
              Knowledge base and models.
              05Run it

              Ask this project a question, and watch it move through its own stores and tools

              Ask Medical Device Log a question

              The question runs through small in-browser stand-ins for this project’s own stores (ChromaDB, Qwen 3 (8B), fine-tuned, FastAPI · PostgreSQL · Redis, LangSmith) and searches only this case study. Each store does its real job here and times it.

              What each store did

                Ask it over MCP

                A real MCP server for Medical Device Log runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                Answer

                Call a tool yourself

                Raw JSON-RPC messages
                   
                  06Connections

                  What it’s built from, and what it shares with other projects

                  • Project
                  • Stack
                  • Agent
                  • Database
                  • Tool
                  • Model

                  07Inside the system

                  The agents, pipelines, tools and models, taken from the project’s design documents

                  Orchestrator LangGraph stateful chain Carries the growing case context from agent to agent
                  • Log Parser

                    Normalizes XML, JSON and binary device logs

                  • Issue Detection

                    Isolates abnormal events in 10,000+ lines

                  • Error Analysis

                    Matches error signatures to past incidents (hybrid RAG + re-ranking)

                  • Root Cause Identification

                    Uses Bayesian reasoning over the chained context to find the fault and its fix

                  • Compliance

                    Writes the report for FDA 21 CFR Part 820 and ISO 13485

                  Five LangGraph agents in a stateful chain, each passing its findings on. Qwen 3 (8B) fine-tuned on device documentation and FDA MAUDE.
                  Hybrid retrieval over past incidents
                  01 Error signature from the Error Analysis agent 02 Dense retrieval semantic match 03 BM25 lexical match on codes 04 Merge hybrid candidate set 05 Re-rank cross-encoder 06 Evidence to the Root Cause agent
                  Key decisions

                  A stateful chain, not one big prompt

                  Each agent passes its findings to the next. The chain carries state forward, with redundancy pruning. That is the method published at RASSE 2025.
                  Case study 05 / 13
                  Climate & GeoBuilt

                  GSA-SIP Location & Climate-Risk Intelligence Platform

                  A location intelligence platform. Drop a pin, draw a box or pick two dates, and it answers about thirty operational questions about that ground, such as what is there, what changed, which hazards threaten it and who else is reporting it. Most answers arrive in under a minute, each with its imagery date, data source and limits. I designed the architecture, wrote the phase plans and designed the interface, and an engineering team built it.

                  vLLMPostGISTimescaleDBQdrantArangoDBMinIOSentinel-1 / Sentinel-2CMIP6CesiumJSMapLibre
                  6 · 24 · 72 HAskpin or questionPlanner27 capabilitiesRunon live dataValidatecan it see?Answerevidence · limitsRecordhash-chainedReviewconfirm / rejectWatch247 regionsSources~40 openMy part: architecture, plans, UIONE SERVER · ON-PREM OR AIR-GAPPED · A REFUSAL IS A RESULT~30QUESTIONS / PIN
                  ~30operational questions answered per map pinmost in under a minute, each with imagery date, data source and limits
                  27capabilities behind one endpointthe same answers reach the map, a plain-language console and outside systems
                  2,344assistant questions at a 9.5 s mean, zero errorsone server, one accelerator
                  478,840objects found across 1,816 area scans in twelve daysabout 145 area scans a day
                  01In plain words

                  Who it helps, what was going wrong, and how it works

                  Who it’s forInsurers, banks, civil-protection teams and infrastructure owners who need to understand places and the risks to them.
                  The situationThey have to answer questions about a site quickly, such as what is parked or standing there, what changed this month and whether a flood, fire or landslide could reach it.
                  What was going wrongThe answers sit in dozens of satellite, weather and hazard sources, and most tools either need experts or return a blank when the satellite could not see, which looks like "nothing there".
                  How it works, step by step
                  • 01An analyst drops a pin, draws a box or picks two dates, or simply asks a question in plain English.
                  • 02The platform works out which of its 27 capabilities the question needs.
                  • 03It runs them on live data, such as Sentinel radar and optical imagery, terrain, weather and hazard catalogues.
                  • 04If it could not see, for example because of cloud, it says so and shows the measurement.
                  • 05It writes the answer with the evidence, the confidence and the limits, and stores the whole run as a record.
                  • 06A person confirms or rejects what the models found.
                  An exampleFor example, an insurer uploads its list of sites. The platform scores each one against ten natural perils in about 8 seconds a site, adds climate projections to 2100 and exports a CSV for the risk register.
                  What changedMost answers arrive in under a minute, each with its source and limits. In testing, 2,344 assistant questions were answered at a 9.5-second average with zero errors, and area scans found 478,840 objects in twelve days, on one server.
                  02Problem → solution
                  The problemInsurers, banks, civil-protection teams and infrastructure owners need to know what is on a piece of ground, what changed there and which hazards threaten it. The answers are spread over dozens of satellite, weather and hazard sources, often in a foreign cloud, and a tool that returns an empty answer when it simply could not see is worse than no tool.
                  Constraints
                  • —A refusal is a result. When the sensor cannot see, the scene is too cloudy or the signal is too weak, it says so with the measurement
                  • —Runs on one server, on premises or fully air-gapped, with the database, search index, embeddings and reasoning model inside the client's perimeter
                  • —Every model output is a candidate for a person to confirm or reject
                  • —About forty data providers, almost all free and open, and no bundled or synthetic data
                  What I built
                  • 01I wrote the architecture blueprint and the phase plans the team built against, and designed the interface across 15 screens, including the 3D Cesium globe, the 2D MapLibre map, analytics, agent chat, simulation results, portfolio and regulatory reporting, satellite data and the API platform.
                  • 02Plain-English questions. The platform plans which capabilities a question needs, runs them on live data, validates the results, then writes the answer with the capabilities used, the steps and the evidence, in about 30 s for a single-capability question.
                  • 03Earth observation. Objects at a point (aircraft, vehicles, buildings), land change between two dates on Sentinel-2, change under cloud or at night on radar, open water and flooding now, and ships including those not transmitting.
                  • 04Hazard and climate. A ten-peril assessment (flood, earthquake, wildfire, cyclone, landslide, drought, storm surge, urban heat, sea-level rise, wind) in 21 s, a landslide nowcast with a 3-day rainfall forecast, portfolio scoring with a CSV export, climate at 2030 to 2100 under three SSP scenarios and a 24-hour neural wind forecast.
                  • 05Watching and reporting. An autonomous watch of 247 regions every 6, 24 or 72 hours against 19 deterministic anomaly rules, printable alert cards, area sweeps that account for every tile, and climate-disclosure drafts against TCFD, CSRD/ESRS E1, BRSR and SFDR with every passage cited.
                  • 06Evidence. Every answer is stored as a record (plan, execute, validate, write) with its inputs, confidence and limits, in a tamper-evident, hash-chained audit trail. A golden set of 10 stable-truth checks passes 10 of 10.
                  03How a request flows

                  One pin, one question, a checked answer

                  Examplean analyst drops a pin on an airfield and asks what is parked there and what changed this month.

                  ANALYSTPLANNERCAPABILITIESVALIDATORWRITERLEDGER01Ask02Plan03Run04Check05Answer06Record07Review
                  1. 01 Analyst Ask

                    Drops a pin, draws a box or picks two dates, and asks in plain English.

                  2. 02 Planner Plan

                    Chooses which of the 27 capabilities the question needs.

                  3. 03 Capabilities Run

                    Run on live data: Sentinel radar and optical imagery, terrain, weather and hazard catalogues.

                  4. 04 Validator Check

                    If the scene was too cloudy or the signal too weak, it says so with the measurement instead of an empty answer.

                  5. 05 Writer Answer

                    Writes the answer with the capabilities used, the steps, the evidence, the confidence and the limits.

                  6. 06 Ledger Record

                    The run is stored as a record (plan, execute, validate, write) in a hash-chained audit trail.

                  7. 07 Analyst Review

                    Confirms or rejects each model output, and the decision is stored.

                  If it fails

                  When it cannot see (cloud, no satellite pass, a weak signal) it says so with the measurement. When busy it queues, then refuses with a retry time, never an empty result that looks like a finding.

                  04Data architecture

                  Where the data lives, and why

                  GSA-SIP5 data storesPlaces, records & time seriesPostgreSQL · PostGIS · TimescaleDBGeometries, answer records and observations over timeTIME SERIESHigh-rate, time-stamped writesVector indexQdrantSearch over documents and earlier findingsVECTOR DBSemantic similarity search over embeddingsRelationship graphArangoDBLinks between places, findings and sourcesGRAPH DBMulti-hop relationship traversalCacheValkeyShort-lived state and rate limitsKEY-VALUEIn-memory counters and cache, sub-millisecondImagery & rastersMinIOObject store for scenes and result mapsOBJECT STORELarge binary artefacts
                  • Places, records & time series PostgreSQL · PostGIS · TimescaleDB Geometries, answer records and observations over time Time series · High-rate, time-stamped writes
                  • Vector index Qdrant Search over documents and earlier findings Vector DB · Semantic similarity search over embeddings
                  • Relationship graph ArangoDB Links between places, findings and sources Graph DB · Multi-hop relationship traversal
                  • Cache Valkey Short-lived state and rate limits Key-value · In-memory counters and cache, sub-millisecond
                  • Imagery & rasters MinIO Object store for scenes and result maps Object store · Large binary artefacts
                  Five data stores inside the client’s perimeter, plus embedded ledgers. Two TCP ports exposed.
                  05Run it

                  Ask this project a question, and watch it move through its own stores and tools

                  Ask GSA-SIP a question

                  The question runs through small in-browser stand-ins for this project’s own stores (PostgreSQL · PostGIS · TimescaleDB, Qdrant, ArangoDB, Valkey, MinIO) and searches only this case study. Each store does its real job here and times it.

                  What each store did

                    Ask it over MCP

                    A real MCP server for GSA-SIP runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                    Answer

                    Call a tool yourself

                    Raw JSON-RPC messages
                       
                      06Connections

                      What it’s built from, and what it shares with other projects

                      • Project
                      • Stack
                      • Agent
                      • Database
                      • Tool
                      • Model

                      07Inside the system

                      The agents, pipelines, tools and models, taken from the project’s design documents

                      Orchestrator Question planner Plans which capabilities to run, runs them on live data, validates the results, then writes the answer with the capabilities used, the steps and the evidence
                      • Objects & movement

                        What is on the ground, and what moves?

                        • Objects at a point (aircraft, vehicles, buildings)
                        • Airfield geometry
                        • Aircraft now (ADS-B)
                        • Ships, including non-transmitting
                      • Change

                        What changed, and why?

                        • Land change between two dates
                        • Change under cloud or at night (radar)
                        • Building-scale change
                        • Kind of change and possible causes
                      • Hazards

                        What could happen here?

                        • Ten-peril assessment
                        • Landslide nowcast
                        • Earthquake hazard
                        • Ground a flood or fire would take
                      • Climate & forecast

                        What comes next?

                        • Climate 2030–2100 (three SSPs)
                        • 24-hour neural wind forecast
                        • Land-cover projection
                        • Open water and flooding now
                      • Corroboration

                        Is anyone else seeing this?

                        • USGS, NASA EONET and FIRMS
                        • Imagery freshness
                        • Next satellite passes
                        • Platform memory of earlier findings
                      • Watch & report

                        Keep watching and write it up

                        • Watch places and alert
                        • Printable alert card
                        • Area sweep
                        • Climate disclosure draft
                      Generative AI models and an agentic pipeline of specialist agents and tools. The planner decides which capabilities a question needs and the writer explains the result; every figure comes from a capability run on live data. The 27 capabilities fall into these families.
                      Ten perils for a portfolio
                      01 Sites a list of places to assess 02 Ten perils flood, earthquake, wildfire,cyclone, landslide and more 03 Per site about 8 seconds each 04 Climate 2030 to 2100 under SSP1-2.6,SSP2-4.5, SSP5-8.5 05 Export CSV for a risk register or aninsurance submission
                      Watching places
                      01 Regions 247 watched 02 Cadence every 6, 24 or 72 hours 03 Rules 19 deterministic anomaly rules 04 Corroborate USGS, NASA EONET, NASA FIRMS 05 Alert card printable, in about 70 s 06 Review a person confirms or rejects
                      Climate disclosure draft
                      01 Framework TCFD, CSRD/ESRS E1, BRSR orSFDR 02 Section by section drafted from the client’sdocuments 03 Cite every passage to a sourcedocument and page 04 Label drafting input, not a filed oraudited disclosure
                      How long an answer takes
                      01 Look-up pre-loaded data, under asecond 02 One scene fetch and analyse imagery,about 3–35 s 03 Generated work a compliance draft or 12-monthprojection, 1–3 min 04 Area sweep 576 tiles in 22 min 55 s,every tile accounted for
                      Connecting to other systems
                      01 One gateway 143 documented HTTP/JSONendpoints 02 Formats GeoJSON, GeoTIFF, NetCDF, CSV,PNG 03 Alerts webhook, e-mail or chat 04 Your copilot can call 27 platform tools
                      Flood solver (built; live runs switched off on the public deployment)
                      01 Domain HydroMT builds the model fromterrain 02 Solver SFINCS or Delft3D FM, run inisolation 03 Depths P10 / P50 / P90 flood-depthmaps 04 Loss catastrophe loss and aconfidence score
                      CopernicusSentinel-1 · Sentinel-2 · DEM 30 mRadar and optical imagery, terrain, ESA WorldCover
                      NASAFIRMS · EONET · GIBSFires, natural events, VIIRS and MODIS imagery
                      ImageryLandsat · NAIP · Esri World ImageryLonger records and a sub-metre display mosaic
                      Weather & climateOpen-Meteo · CMIP6 · TerraClimateERA5, GloFAS and climate projections
                      Hazard cataloguesUSGS · GDACS · IBTrACSEarthquakes, disasters, cyclone tracks, GSHAP, COAST-RP
                      Movement & contextADS-B · AIS · OpenStreetMapAircraft, ships, building footprints, WorldPop, CelesTrak
                      About forty external data providers, almost all free and open. No bundled or synthetic data.
                      ReasoningLocal model on vLLMPlans and writes; never the source of a figure
                      Object detectorTrained detectorRefuses imagery coarser than 1.5 m per pixel; findings stay candidates
                      Landslide modelRainfall-triggered susceptibilityHeld-out AUC 0.725 (95% CI 0.70–0.75)
                      Forecasting24-hour neural wind forecastAbout 66 s on the GPU
                      Flood physicsSFINCS · Delft3D FMBuilt; live runs switched off on the public deployment
                      Each model has a measured skill or a stated limit.
                      Key decisions

                      A refusal is a result

                      When the scene is too cloudy, no satellite passed or the signal is too weak, the platform says so and gives the measurement. An empty answer that reads like "nothing found" would be the most dangerous output it could give. Area scans report every tile as "we looked" or "we could not look".

                      Confidence you can check

                      Where a model exists, confidence is a measured skill score; the rainfall-triggered landslide model has a held-out AUC of 0.725. Where no model exists, confidence is capped at 0.72 and labelled heuristic, so a number is never dressed up as more than it is.

                      Agents plan and write; data and models do the measuring

                      The agentic layer decides which capabilities to run and writes the answer, but every figure comes from a capability run on live data. Without the accelerator all geospatial work still runs on CPU at the same accuracy; only the conversational layer and flood-imagery segmentation stop.

                      One server inside the client's perimeter

                      The whole platform runs as 21 containers on a single server, measured on a reference host of 8 vCPU, 32 GB RAM and one 16 GB accelerator, on premises or fully air-gapped, with only seven public data providers reached from outside.
                      Safety boundaryDecision support for screening. Hazard footprints are screening-grade, a detection stays a candidate until it is seen on two capture dates, climate projections are a screening signal rather than a regulatory figure, and a disclosure draft is drafting input, not a filed or audited disclosure.
                      NextNext: a commercial imagery licence for fresh sub-metre monitoring, live runs of the flood solver (built, but switched off on the public deployment), and clustering and failover beyond a single host.
                      Case study 06 / 13
                      Agentic AI · Automotive clientBuilt

                      A-MEM Agentic AI-Based Automated Vehicle Climate Control

                      The driver says “I’m feeling cold”. Four cooperating LLM agents set blower, vents and windows together, backed by a persistent agentic memory that learns each driver’s comfort over time.

                      PythonRustTokioLangGraphQdrantChromaDBOllamaLangSmithNeMo GuardrailsQualcomm SA8255P
                      OUTCOME WRITTEN BACK“I’m cold”voiceA-MEMlinked memoryMemoryBlowerVentilationWindowVerify18–32 °CRust layeractuate4 COOPERATING AGENTS · QUALCOMM SA8255P
                      4cooperating LLM agentsMemory · Blower · Ventilation · Window
                      18–32 °Csafe cabin range, always enforcedpost-action verification hook
                      Local + cloudLLM routingon-device model, with cloud fallback
                      01In plain words

                      Who it helps, what was going wrong, and how it works

                      Who it’s forDrivers, through an in-car assistant built for an automotive company.
                      The situationPeople keep reaching for the temperature, fan, vents and windows while they drive.
                      What was going wrongThat is distracting, and standard automatic climate control treats everyone the same, ignoring each person's health and habits.
                      How it works, step by step
                      • 01The driver simply says how they feel, for example “I'm feeling cold”.
                      • 02Four AI agents, for memory, blower, ventilation and windows, agree on one action together.
                      • 03A memory system remembers each driver's preferences and links related moments over time.
                      • 04A safety check keeps every action between 18 and 32 °C and sends anything outside that back to the agent.
                      An exampleFor example, on a rainy morning the driver says they are cold. The system remembers that this driver likes 22 °C and keeps the windows shut in rain, so it raises the heat and adjusts the vents instead of opening a window.
                      What changedOne spoken sentence replaces several manual adjustments, and the car learns each driver's comfort the more it is used.
                      02Problem → solution
                      The problemDrivers keep adjusting temperature, fan speed, vents and windows by hand while driving. That is distracting. Standard auto-climate ignores each person’s health and habits.
                      Constraints
                      • —Runs on a Qualcomm Snapdragon SA8255P automotive platform
                      • —Safety limits must hold whatever the model says
                      What I built
                      • 01Four LLM agents (Memory, Blower, Ventilation and Window) coordinate to choose one cabin action for the driver and the conditions.
                      • 02A-MEM is the reasoning backbone. Each interaction is stored as a structured note, linked to related notes and updated over time (Zettelkasten-style). Agents recall connected context, such as health profile, comfort preferences, and weather and time patterns, instead of isolated records.
                      • 03Retrieval-grounded prompting to suppress hallucinated actions.
                      • 04A post-action verification hook checks every agent’s output against safety limits, such as 18–32 °C. Failed actions go back to the agent, with reasons.
                      • 05Python orchestrates a Rust (Tokio) embedded layer. Memory runs on Qdrant and ChromaDB, and a router chooses between local and cloud LLMs.
                      03How it works

                      From one spoken sentence to a verified cabin change.

                      Step by step
                      01 Speak “I’m feeling cold” 02 Recall A-MEM returns the linkedprofile, preferences,… 03 Decide Four agents agree on one cabinaction 04 Verify A deterministic hook enforcesthe safety limits 05 Act & learn The Rust layer applies it. Theoutcome is written back…
                      If it failsA deterministic check keeps the cabin inside 18–32 °C whatever the agents propose. The on-device model falls back to a cloud LLM when needed.
                      04Data architecture

                      Where the data lives, and why

                      A-MEM4 data storesMemory vectorsQdrant · ChromaDBA-MEM note storage and retrievalVECTOR DBSemantic similarity search over embeddingsLocal LLMOllamaOn-device modelCloud LLMsOpenAI · Anthropic · Gemini APIsRouted fallbackTracing & guardrailsLangSmith · NeMo GuardrailsObservability and safety
                      • Memory vectors Qdrant · ChromaDB A-MEM note storage and retrieval Vector DB · Semantic similarity search over embeddings
                      • Local LLM Ollama On-device model
                      • Cloud LLMs OpenAI · Anthropic · Gemini APIs Routed fallback
                      • Tracing & guardrails LangSmith · NeMo Guardrails Observability and safety
                      Agent memory backends and model routing.
                      05Memory, running live

                      The A-MEM memory engine, step by step, in your browser

                      This follows the open-source code (agiresearch/A-mem, NeurIPS 2025) call by call: each new memory becomes a note, finds its five closest notes, and the evolution step decides whether to link them and update the older ones. The note store, links and vector search are real. The two LLM calls are replaced by simple rules that return the JSON the real code expects.

                      Quick hashed vectors with a few concept words (384-dim). Pick all-MiniLM-L6-v2 for real meaning-based search.
                         
                        06Run it

                        Ask this project a question, and watch it move through its own stores and tools

                        Ask A-MEM a question

                        The question runs through small in-browser stand-ins for this project’s own stores (Qdrant · ChromaDB, Ollama, OpenAI · Anthropic · Gemini APIs, LangSmith · NeMo Guardrails) and searches only this case study. Each store does its real job here and times it.

                        What each store did

                          Ask it over MCP

                          A real MCP server for A-MEM runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                          Answer

                          Call a tool yourself

                          Raw JSON-RPC messages
                             
                            07Connections

                            What it’s built from, and what it shares with other projects

                            • Project
                            • Stack
                            • Agent
                            • Database
                            • Tool
                            • Model

                            08Inside the system

                            The agents, pipelines, tools and models, taken from the project’s design documents

                            Orchestrator Orchestrator + verification hook Coordinates the agents, picks a local or cloud LLM, and sends any action outside 18–32 °C back to its agent with the reason
                            • Memory agent

                              Recalls linked context

                              • Health profile
                              • Comfort preferences
                              • Weather & time patterns
                            • Blower agent

                              Sets fan speed for the agreed cabin action

                            • Ventilation agent

                              Sets vents and airflow direction

                            • Window agent

                              Sets window position

                            Four LLM agents coordinate one cabin action over shared A-MEM memory. Python orchestration sits on a Rust (Tokio) embedded layer.
                            A-MEM memory loop Zettelkasten-style notes. Memories are linked and evolve instead of being overwritten.
                            01 Interaction “I’m feeling cold” 02 Structured note each interaction stored 03 Link to related notes 04 Recall connected context for theagents 05 Decide one cabin action 06 Verify safety limits, e.g. 18–32 °C 07 Update memory evolves with theoutcome
                            Safety boundaryAgents propose. Deterministic limits decide what reaches the vehicle.
                            Case study 07 / 13
                            Bio & HealthBuilt & measured

                            BioAI Evidence-First Biomedical Research Platform

                            A research platform for scientists. You ask a biomedical question in plain English, a team of AI agents searches the literature and curated databases, and every claim it makes is checked against the evidence it actually found. The answer goes to a scientist for review. It refuses any question about one person's care.

                            LangGraphMCP (FastMCP)FastAPIPostgreSQLNeo4jQdrantValkeyKeycloakQwen (local or hosted)React
                            Questionplain EnglishSafety gateresearch onlyPlannerparallel lanesLiteratureGenomicsProteinClinical trialsValidatorcitations · E1–E6Criticobjections · gapsScientistreview gate H2Reportrelease gate H3MCP gateway · 26 servers · 130+ tools · provenance on every resultLANGGRAPH · POSTGRES CHECKPOINTS · QDRANT + FULL-TEXT · NEO4J
                            0invented citations got through, end to endtrap benchmark; 100% of real citations kept
                            0.98retrieval recall@10hybrid vector + full-text, RRF k=60, reranked; MRR 1.0
                            130+tools across 26 MCP serversevery call through one gateway, with provenance
                            1,756tests passing, 0 failingplus a release gate that blocks any regression
                            01In plain words

                            Who it helps, what was going wrong, and how it works

                            Who it’s forBiomedical researchers and scientists, for example in pharma, biotech or university labs.
                            The situationThey need to know what the evidence says about a gene variant, a protein, a drug or a disease, and exactly where each fact comes from.
                            What was going wrongDoing that properly takes days of reading papers and checking databases. General chatbots are quick, but they invent references and sometimes slip into medical advice, which is unsafe.
                            How it works, step by step
                            • 01The scientist types a question in plain English.
                            • 02A safety gate turns away anything about one person's care, such as dosing or treatment.
                            • 03A planner splits the question into parts, and specialist agents work in parallel on papers, genes, proteins, pathways, drugs and clinical trials.
                            • 04Each agent can only use its approved tools, and every result is stamped with where and when it came from.
                            • 05A validator re-checks every citation and grades the evidence, and a critic lists what could be wrong.
                            • 06The scientist reviews the claims and approves or rejects them. Nothing is released without that.
                            An exampleAsked what is known about the LRRK2 G2019S variant in Parkinson's disease, it made six claims, validated three, kept one as uncertain and rejected two because the papers it found did not support them, and it showed the evidence for each.
                            What changedIn testing, invented citations got through zero times and real ones were always kept, and the right paper appeared in the top ten results 98% of the time.
                            02Problem → solution
                            The problemAnswering a biomedical research question properly means reading papers, checking variant, protein and pathway databases, looking at clinical trials and keeping track of where every fact came from. That takes a scientist days. General AI chatbots are fast, but they invent citations and drift into medical advice, which a research team cannot accept.
                            Constraints
                            • —Research only. No diagnosis, prescribing, dosing or treatment choice for any individual, and this is enforced in code, not just in a prompt
                            • —A claim may only cite something an agent actually retrieved
                            • —Sources must be licensed for the use. KEGG, OMIM, COSMIC, DrugBank, AlphaFold 3 weights and ESM3 stay out unless the client holds a licence
                            • —It must be able to run entirely on a local model, with nothing sent to an outside AI provider
                            What I built
                            • 01I designed and built the research workflow in LangGraph. A planner splits the question into parallel lanes, specialist agents do the work (literature, genomics, protein, pathway and disease, chemistry and drug, clinical trials), and then an evidence validator, a scientific critic, a hypothesis-and-gap agent and a report writer finish it. Runs are checkpointed in PostgreSQL and resume after a crash.
                            • 02I put every tool behind one MCP gateway. 26 MCP servers with 130+ tools reach PubMed and Europe PMC, Ensembl VEP, ClinVar, GWAS Catalog, UniProt, RCSB PDB, AlphaFold DB, STRING, Reactome, Open Targets, PubChem, ChEMBL, ClinicalTrials.gov and openFDA. The gateway enforces each agent's tool list, quotas and rate limits, scans results for prompt injection and wraps every result with where and when it came from.
                            • 03I built the anti-fabrication checks. A claim may only cite IDs its own agent retrieved, the quoted passage must exist in the tool output, and every citation is fetched again and checked for retraction.
                            • 04I built evidence grading from E1 to E6 with confidence you can read, for example “best level E4 (w=0.55); 2 independent sources; abstract-only ×0.9”, so a reviewer can argue with the weighting.
                            • 05I built hybrid retrieval (Qdrant vectors plus PostgreSQL full-text, fused with RRF and reranked) and a Neo4j knowledge graph in which every assertion carries its provenance.
                            • 06I built three human gates. A costly plan waits for approval (H1), every result waits for scientific review (H2) and nothing is released without sign-off (H3). No gate is ever approved automatically, and rejecting needs a reason.
                            • 07I built a model gateway. Agents ask for a tier (route, reason or extract), configuration maps it to hosted Qwen with a local Qwen fallback, and every answer is checked against a JSON schema and asked again if it is invalid.
                            03How a request flows

                            One research question, end to end

                            ExampleA real run from the platform: “What is known about LRRK2 G2019S in Parkinson disease?”

                            INTAKE & SAFETY GATEPLANNERSPECIALIST AGENTSEVIDENCE VALIDATORSCIENTIFIC CRITICHYPOTHESIS & GAPSCIENTISTREPORT01Screen02Plan03Gather04Check05Challenge06Propose07Review (H2)08Release (H3)
                            1. 01 Intake & Safety Gate Screen

                              Checks it is a research question, not a question about one person’s care.

                            2. 02 Planner Plan

                              Splits the question into literature, genomics and protein lanes.

                            3. 03 Specialist agents Gather

                              Call PubMed, ClinVar, UniProt and others through the MCP gateway; every result carries its provenance.

                            4. 04 Evidence Validator Check

                              Re-fetches each citation, confirms the quoted passage and grades the evidence E1–E6.

                            5. 05 Scientific Critic Challenge

                              Lists objections by severity. Here 3 claims were validated, 1 held as candidate, 2 rejected.

                            6. 06 Hypothesis & Gap Propose

                              A hypothesis with its confidence, the research gap and a suggested experiment.

                            7. 07 Scientist Review (H2)

                              Approves or rejects with a reason. No gate is ever auto-approved.

                            8. 08 Report Release (H3)

                              Released only after sign-off.

                            If it fails

                            A claim that its evidence does not carry is rejected, and a question about one person’s care is refused before any model runs.

                            04Data architecture

                            Where the data lives, and why

                            BioAI5 data storesRuns, claims & checkpointsPostgreSQLWorkflow state, evidence, audit and full-text searchRELATIONALTransactional records, joins and checkpointsKnowledge graphNeo4jAssertions with required provenance; restricted licences blocked at writeGRAPH DBMulti-hop relationship traversalLiterature vectorsQdrantDense half of hybrid retrievalVECTOR DBSemantic similarity search over embeddingsRate limits & cacheValkeyPer-source rate limits and tool-result cacheKEY-VALUEIn-memory counters and cache, sub-millisecondSign-inKeycloakOpenID Connect with PKCE, roles per route
                            • Runs, claims & checkpoints PostgreSQL Workflow state, evidence, audit and full-text search Relational · Transactional records, joins and checkpoints
                            • Knowledge graph Neo4j Assertions with required provenance; restricted licences blocked at write Graph DB · Multi-hop relationship traversal
                            • Literature vectors Qdrant Dense half of hybrid retrieval Vector DB · Semantic similarity search over embeddings
                            • Rate limits & cache Valkey Per-source rate limits and tool-result cache Key-value · In-memory counters and cache, sub-millisecond
                            • Sign-in Keycloak OpenID Connect with PKCE, roles per route
                            Each tenant is isolated in the database with row-level security.
                            05Run it

                            Ask this project a question, and watch it move through its own stores and tools

                            Ask BioAI a question

                            The question runs through small in-browser stand-ins for this project’s own stores (PostgreSQL, Neo4j, Qdrant, Valkey, Keycloak) and searches only this case study. Each store does its real job here and times it.

                            What each store did

                              Ask it over MCP

                              A real MCP server for BioAI runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                              Answer

                              Call a tool yourself

                              Raw JSON-RPC messages
                                 
                                06Connections

                                What it’s built from, and what it shares with other projects

                                • Project
                                • Stack
                                • Agent
                                • Database
                                • Tool
                                • Model

                                07Inside the system

                                The agents, pipelines, tools and models, taken from the project’s design documents

                                Orchestrator Planner Splits a research question into parallel agent lanes, with a token budget and human approval for costly plans (H1)
                                • Intake & safety

                                  Is this a research question?

                                  • Intake & Safety Gate
                                • Evidence gatherers

                                  Find what is known

                                  • Literature
                                  • Genomics
                                  • Protein
                                  • Pathway & Disease
                                  • Chemistry & Drug
                                  • Clinical Trials
                                • Checkers

                                  Is every claim supported?

                                  • Evidence Validator
                                  • Scientific Critic
                                • Synthesis

                                  What follows, and what is still unknown?

                                  • Hypothesis & Gap
                                  • Report
                                • Graph

                                  Keep the knowledge graph honest

                                  • KG Curator (deterministic)
                                • Specialist labs

                                  Deeper work on demand

                                  • Visualisation
                                  • Simulation
                                  • Reaction mechanist
                                  • Process economist
                                  • Literature watcher
                                A LangGraph planner fans the question out to specialist agents that run in parallel lanes. Each agent may only use the tools in its scope, enforced by the MCP gateway, and every agent proposes; only a scientist approves.
                                Anti-fabrication Measured: 0 invented citations reached the end of the pipeline, and every real one was kept.
                                01 Claim made by an agent 02 Own IDs only may cite only what its owntools returned 03 Passage check quoted text must exist in thetool output 04 Re-resolve the citation is fetched again 05 Retraction check withdrawn papers are rejected 06 Grade evidence level E1–E6 and areadable confidence
                                Hybrid retrieval Measured on a frozen benchmark: recall@10 0.98, MRR 1.0, nDCG@10 0.73.
                                01 Query from an agent 02 Dense search Qdrant, all-MiniLM-L6-v2vectors 03 Full-text search PostgreSQL 04 Fuse Reciprocal Rank Fusion, k = 60 05 Rerank top 20, with a per-paperdiversity cap
                                Tool gateway
                                01 Agent asks a named tool, with arguments 02 Scope check is this tool allowed for thisagent? 03 Quotas 150 calls per run, 40 peragent 04 Call rate-limited, egressallow-listed 05 Scan prompt-injection check on theresult 06 Envelope provenance attached, auditlogged
                                LiteraturePubMed · Europe PMC · bioRxivSearch, metadata, open full text, retraction checks
                                GenomicsEnsembl VEP · ClinVar · GWAS CatalogVariants and their assertions
                                ProteinUniProt · RCSB PDB · AlphaFold DB · STRINGEntries, structures, interactions
                                Pathway & diseaseReactome · Open TargetsMembership, enrichment, associations
                                Chemistry & drugPubChem · ChEMBL · RDKitCompounds, bioactivity, properties
                                ClinicalClinicalTrials.gov · openFDATrials, results and labels
                                26 MCP servers with 130+ tools, all reached through one gateway. Sources are licence-gated.
                                Routegpt-oss-20b or Qwen (hosted) → local Qwen 2.5 7BIntake, routing, query expansion
                                ReasonQwen (hosted) → local Qwen 2.5 7BDomain agents, critic, hypothesis, report
                                ExtractQwen (hosted) → local Qwen 2.5 7BStrict JSON claim extraction, asked again if invalid
                                Embeddingsall-MiniLM-L6-v2384 dimensions
                                Agents ask for a tier; configuration decides the model. It can run fully on a local model.
                                Key decisions

                                Refuse at the door, not at the end

                                The safety gate sits in front of the agents. In the run log, 10 of 50 questions were refused before any model was called, so no tokens were spent. The refusal suggests a research phrasing instead, so scientists work with it rather than around it.

                                Show the arithmetic behind every confidence

                                Confidence is calculated from evidence level, number of independent sources, recency and contradictions, and the calculation is shown. A reviewer can disagree with a weight because they can see it.

                                One gateway for every tool and every model

                                Agents hold no database drivers or web clients of their own, and model names live only in configuration. That gives one place to enforce access and one place to audit it.

                                Rejected claims mean it is working

                                On “What is known about LRRK2 G2019S in Parkinson disease?” the platform made six claims, validated three, kept one as a candidate and rejected two because the evidence it found did not carry them. A tool that only agrees with itself is not doing research.
                                Safety boundaryResearch use only. It does not diagnose, prescribe, choose treatment for an individual or calculate a dose, and a qualified scientist reviews every output. The current pilot runs on a trusted internal network.
                                NextBefore any wider deployment: TLS in front of the platform. A larger model would improve the wording of hypotheses; the evidence, provenance and validation machinery around it stays the same.
                                Case study 08 / 13
                                Agentic AIBuilt

                                GenAI-Powered Automated Unit Testing, Compilation & Debugging

                                A four-stage LangGraph loop that analyses source code, writes unit tests, compiles and runs them, and sends failures back to the LLM until they pass. It covers Go, Python and Java.

                                LangGraphLangChainLlama 3Qwen 3ChromaDBTree-sitterpytestLangfuseGit
                                SOURCE → ASTTREE-SITTERAnalyzerGeneratorValidatorcompile · runOptimizerfix · RAGUNTIL PASSGo · Python · Java
                                3languages supportedGo · Python · Java
                                4-stageself-correcting loopanalyse → generate → validate → optimise
                                0manual test-writing or debugging steps
                                01In plain words

                                Who it helps, what was going wrong, and how it works

                                Who it’s forSoftware developers working in Go, Python or Java.
                                The situationEvery code change needs unit tests.
                                What was going wrongWriting, compiling and debugging those tests by hand takes a large share of a developer's time.
                                How it works, step by step
                                • 01The tool reads the source code and works out what needs testing.
                                • 02An AI writes the tests.
                                • 03The tests are compiled and run for real.
                                • 04Any failure goes back to the AI with the error message, and it fixes the test until it passes.
                                An exampleFor example, pointed at a Go package, it writes the tests. One fails to compile, the error goes back to the AI, and the corrected version passes.
                                What changedTests get written and debugged with no manual steps, across three languages.
                                02Problem → solution
                                The problemWriting, compiling and debugging unit tests by hand takes a large share of developer time.
                                Constraints
                                • —Generated tests must actually compile and pass
                                • —Several languages and build systems
                                • —Every step traceable for debugging and cost control
                                What I built
                                • 01I built an Analyzer that parses source code with Tree-sitter.
                                • 02I built a Generator that writes tests with the LLM.
                                • 03I built a Validator that compiles and runs them.
                                • 04I built an Optimizer that feeds failures back to the LLM to fix them and raise coverage.
                                • 05I added RAG-based error resolution over Stack Overflow, GitHub and official documentation, so the LLM finds real fixes.
                                • 06I added Langfuse tracing and a coverage dashboard.
                                03How it works

                                The loop repeats until tests compile, pass and reach coverage.

                                Step by step
                                01 Analyzer Tree-sitter parse ofsignatures, types and branches 02 Generator LLM writes tests grounded inthe parse 03 Validator Compile and run 04 Optimizer Failures and retrieved fixesgo back to the LLM
                                If it failsCompile errors, failing tests and retrieved fixes go back to the LLM. The loop repeats until the tests compile, pass and reach coverage.
                                04Run it

                                Ask this project a question, and watch it move through its own stores and tools

                                Ask GenAI-Powered Automated Unit a question

                                The question runs through small in-browser stand-ins for this project’s own stores (ChromaDB) and searches only this case study. Each store does its real job here and times it.

                                What each store did

                                  Ask it over MCP

                                  A real MCP server for GenAI-Powered Automated Unit runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                                  Answer

                                  Call a tool yourself

                                  Raw JSON-RPC messages
                                     
                                    05Connections

                                    What it’s built from, and what it shares with other projects

                                    • Project
                                    • Stack
                                    • Agent
                                    • Database
                                    • Tool
                                    • Model

                                    06Inside the system

                                    The agents, pipelines, tools and models, taken from the project’s design documents

                                    Orchestrator LangGraph loop Repeats until tests compile, pass and reach coverage
                                    • Analyzer

                                      Parses source code with Tree-sitter: signatures, types and branches

                                    • Generator

                                      Writes unit tests with the LLM, based on the parse

                                    • Validator

                                      Compiles and runs the tests

                                    • Optimizer

                                      Feeds failures and RAG fixes (Stack Overflow, GitHub, docs) back to the LLM; raises coverage

                                    A four-stage LangGraph loop. Each stage is a node, and failures loop back.
                                    RAG-based error resolution
                                    01 Failure compile or test error 02 Retrieve Stack Overflow, GitHub,official docs 03 Fix LLM applies a grounded fix 04 Re-run Validator 05 Trace Langfuse + coverage dashboard
                                    Case study 09 / 13
                                    ML Systems · Networking clientBuilt

                                    AI-Based User Persona Prediction & Dynamic QoS Management

                                    A 3-layer LSTM classifies each user as Learning, Productivity or Entertainment from 15+ live signals. It re-prioritises bandwidth across 120+ business apps, in place of static, hand-set network rules.

                                    PyTorchLSTMStreaming featuresDSCPDynamic queue managementMLflowPython
                                    15+ SIGNALS3-LAYER LSTMDRIFT → RETRAIN · MLFLOWLearningProductivityEntertainmentDSCP QUEUES120+ apps
                                    120+business apps prioritisedDSCP and dynamic queues
                                    15+live signals per useractive app · throughput · foreground use · time of day
                                    50+client scenarios validated
                                    01In plain words

                                    Who it helps, what was going wrong, and how it works

                                    Who it’s forNetwork teams running shared business networks.
                                    The situationWork apps, learning tools and entertainment all share the same bandwidth.
                                    What was going wrongFixed rules let entertainment and background traffic slow down work-critical apps, and network teams have to tune those rules by hand.
                                    How it works, step by step
                                    • 01A model watches more than 15 live signals per user and decides whether they are learning, working or being entertained.
                                    • 02The network then gives priority to the apps that matter for that mode.
                                    • 03The model is retrained automatically when behaviour drifts.
                                    An exampleFor example, during a video meeting the call and the work apps get priority over a video stream playing in the background on the same network.
                                    What changedMore than 120 business apps are prioritised automatically, validated across more than 50 client scenarios.
                                    02Problem → solution
                                    The problemOn shared business networks, fixed bandwidth rules let entertainment and background traffic slow down work-critical apps. Network teams tune those rules by hand.
                                    Constraints
                                    • —Decisions in real time, on live traffic
                                    • —No manual rule maintenance
                                    • —Models must stay accurate as the app mix changes
                                    What I built
                                    • 01I built a 3-layer LSTM that classifies each user as Learning, Productivity or Entertainment from 15+ live signals.
                                    • 02Streaming feature computation, with features ready within milliseconds.
                                    • 03A QoS layer that maps each persona to a bandwidth allocation using DSCP prioritisation and dynamic queue management.
                                    • 04MLflow-based MLOps for model versioning and automated retraining on drift.
                                    03How it works

                                    From live signals to a bandwidth decision, with retraining that drift triggers.

                                    Step by step
                                    01 Signals 15+ live signals per user 02 Features Streaming windows, ready inmilliseconds 03 Classify The LSTM assigns Learning,Productivity or Entertainment 04 Allocate DSCP marks and dynamic queuesallocate bandwidth 05 Monitor Drift triggers retrainingthrough MLflow
                                    If it failsDrift in the live signals triggers retraining through MLflow instead of quiet degradation.
                                    04Run it

                                    Ask this project a question, and watch it move through its own stores and tools

                                    Ask AI-Based User Persona a question

                                    The question runs through small in-browser stand-ins for this project’s own stores and searches only this case study. Each store does its real job here and times it.

                                    What each store did

                                      Ask it over MCP

                                      A real MCP server for AI-Based User Persona runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                                      Answer

                                      Call a tool yourself

                                      Raw JSON-RPC messages
                                         
                                        05Connections

                                        What it’s built from, and what it shares with other projects

                                        • Project
                                        • Stack
                                        • Agent
                                        • Database
                                        • Tool
                                        • Model

                                        06Inside the system

                                        The agents, pipelines, tools and models, taken from the project’s design documents

                                        MLOps loop
                                        01 Live signals 15+ per user 02 Features streaming, within milliseconds 03 LSTM persona classification 04 QoS DSCP + dynamic queues 05 Drift monitored 06 Retrain MLflow versioning
                                        Case study 10 / 13
                                        Agentic AIBuilt

                                        Agentic AI HRMS AI-Powered HR Management Platform

                                        HR staff type a request in plain language, such as “hire a senior backend developer”. A team of AI agents runs the workflow, and HR approves every recommendation.

                                        LangGraphLangChainA-MEMQdrantNeo4jRedisPostgreSQLFastAPIMCPOllama
                                        REQUESTAPPROVEHRapprovesCoordinatorLangGraphA-MEMpolicy RAGRecruitmentResume ParserCandidate MatcherInterview SchedulerOnboardingPerformanceHR Chatbot
                                        7specialist agentsrecruitment → HR chatbot
                                        100%of recommendations reviewed by HRhuman-in-the-loop by design
                                        01In plain words

                                        Who it helps, what was going wrong, and how it works

                                        Who it’s forHR teams.
                                        The situationThey spend hours writing job descriptions, screening CVs, scheduling interviews and answering the same policy questions.
                                        What was going wrongThis repetitive work slows hiring down and takes time away from the people side of HR.
                                        How it works, step by step
                                        • 01HR types a request in plain language, such as “hire a senior backend developer”.
                                        • 02A coordinator sends it to the right specialist agents: recruitment, CV parsing, candidate matching, interview scheduling, onboarding, performance and an HR chatbot.
                                        • 03The agents share a memory, so context carries across the whole hiring cycle.
                                        • 04Every recommendation goes to HR for review before anything happens.
                                        An exampleFor example, from one request the agents draft the job description, rank the applicants against it and propose interview slots, and HR approves each step.
                                        What changedSeven agents take on the repetitive steps, and HR still reviews every recommendation.
                                        02Problem → solution
                                        The problemHR teams spend hours on repetitive work. That includes writing job descriptions, screening resumes, scheduling interviews and answering the same policy questions.
                                        Constraints
                                        • —People decisions stay with people
                                        • —Policy answers must be grounded in the organisation’s own documents
                                        What I built
                                        • 01I built a LangGraph coordinator that routes each request to specialist agents. They are Recruitment, Resume Parser, Candidate Matcher, Interview Scheduler, Onboarding, Performance and an HR Chatbot.
                                        • 02I built shared A-MEM knowledge memory. The agents build on each other’s context across a whole hiring cycle.
                                        • 03I built self-correcting agentic RAG over HR policies and records.
                                        • 04I built human-in-the-loop review for every recommendation. I also built MCP tools for the systems the agents act on.
                                        03How it works

                                        One plain-language request, from start to finish.

                                        Step by step
                                        01 Request HR asks in plain language 02 Coordinator Plans the workflow and routesit 03 Specialists Parse, match, schedule,onboard 04 Memory + RAG Policies, records, earlierdecisions 05 HR approval Every recommendation isreviewed
                                        If it failsNo recommendation takes effect until HR has reviewed it.
                                        04Run it

                                        Ask this project a question, and watch it move through its own stores and tools

                                        Ask Agentic AI HRMS a question

                                        The question runs through small in-browser stand-ins for this project’s own stores (A-MEM, Qdrant, Neo4j, Redis, PostgreSQL) and searches only this case study. Each store does its real job here and times it.

                                        What each store did

                                          Ask it over MCP

                                          A real MCP server for Agentic AI HRMS runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                                          Answer

                                          Call a tool yourself

                                          Raw JSON-RPC messages
                                             
                                            05Connections

                                            What it’s built from, and what it shares with other projects

                                            • Project
                                            • Stack
                                            • Agent
                                            • Database
                                            • Tool
                                            • Model

                                            06Inside the system

                                            The agents, pipelines, tools and models, taken from the project’s design documents

                                            Orchestrator Coordinator Plans the workflow and routes each step. HR approves every recommendation.
                                            • Hiring

                                              From job to shortlist

                                              • Recruitment
                                              • Resume Parser
                                              • Candidate Matcher
                                            • Scheduling & onboarding

                                              From offer to day one

                                              • Interview Scheduler
                                              • Onboarding
                                            • People operations

                                              Ongoing support

                                              • Performance
                                              • HR Chatbot
                                            A LangGraph coordinator sends each plain-language request to specialist agents. They share A-MEM knowledge memory.
                                            Self-correcting agentic RAG
                                            01 Question policy or record lookup 02 Retrieve HR policies and records 03 Check support does the context answer it? 04 Re-query when it does not 05 Answer grounded in the documents 06 HR review a person reviews it
                                            Safety boundaryAgents recommend; HR decides. No candidate decision is made without a person.
                                            Case study 11 / 13
                                            Simulation & XRSystem design

                                            VITA Virtual Intelligence & Twin Architecture for Medicine

                                            Human-body simulation on the Pulse engine for clinical training, with lab and bioprocess twins, imaging and discovery support in the platform's scope. I designed the architecture for one Unreal Engine 5 platform where medical and nursing students practise on AI virtual patients, run OSCE scenarios, train procedures in VR and learn from imaging AI. It is education software, not a clinical device.

                                            Unreal Engine 5Pulse Physiology EngineOpenXR / WebXRPixel StreamingLangGraphLangfusevLLMFHIR / DICOMOpenUSD
                                            EXPERIENCEVR / AR / MRWebXRInstructor consoleAPPLICATIONSTrainAssess & OSCEDiscoverValidateDOMAINSClinical skillsSurgical & hapticImagingAI SPINELLM hub + RAGAgent fabricGuardrailsCOREUE5Pulse physiologyScenario engineDATA & TRUSTFHIR / DICOMConsentProvenance
                                            6architecture layersexperience → data, interop & trust
                                            28components specified build-ready
                                            750+physiology parameters per virtual patientPulse engine · 6 organ systems
                                            01In plain words

                                            Who it helps, what was going wrong, and how it works

                                            Who it’s forHeads of medical education, simulation-centre leads and R&D leads in med-tech.
                                            The situationStudents need a lot of hands-on practice before they treat real patients.
                                            What was going wrongRealistic manikins are expensive, each VR tool covers only one slice of training, and diagnostic AI on real patients counts as a regulated medical device, so most tools either overreach or stay narrow.
                                            How it works, step by step
                                            • 01Students practise on virtual patients whose bodies respond realistically, driven by a physiology engine with more than 750 parameters.
                                            • 02AI virtual patients talk back for exam-style (OSCE) and clinical-reasoning practice.
                                            • 03Procedures can be trained in VR, AR or a web browser from the same scenario.
                                            • 04Instructors get scoring and feedback, and every session can be replayed exactly.
                                            An exampleFor example, a student takes a history from an AI virtual patient at an exam-style station, and the instructor replays the session afterwards to give feedback.
                                            What changedThis is a design. 28 components are specified and ready to build, and it is education software, not a clinical device.
                                            02Problem → solution
                                            The problemMedical and nursing colleges must run skills labs. High-fidelity manikins are expensive, and each VR tool covers one slice (patients, surgery or imaging). Diagnostic AI on real patients is a regulated medical device, so most tools either overreach or stay narrow.
                                            Constraints
                                            • —Training only. Imaging and pathology AI is labelled “for education, not diagnosis”
                                            • —AI stays outside the safety-critical simulation loop
                                            • —Sessions are deterministic and replayable, so assessment is fair
                                            • —Cloud or on-prem delivery
                                            What I designed
                                            • 01I designed a deterministic fixed-step core that advances Pulse physiology (750+ parameters across six organ systems) and records inputs for bit-exact replay.
                                            • 02I designed an Unreal Engine 5 image generator with OpenXR, WebXR and Pixel Streaming, so the same scenario runs in VR, AR or a browser.
                                            • 03I designed an AI spine with an on-prem LLM hub and clinical RAG, LangGraph agents and copilots traced in Langfuse, perception models for imaging and pathology, and adaptive scoring. It always sits outside the safety-critical loop.
                                            • 04I specified AI virtual patients for OSCE and clinical-reasoning practice, plus surgical and procedural VR modules with scoring and feedback.
                                            • 05Competency tracking across cohorts, with FHIR, DICOM and OMOP interoperability and a provenance and licence gate.
                                            03How it works

                                            Six layers. Every module is content on the same core and AI spine.

                                            • L1ExperienceWhere learners and instructors work
                                              • VR / AR / MR clients
                                              • WebXR browser
                                              • Instructor console
                                            • L2ApplicationsWhat the platform is used for
                                              • Train
                                              • Assess & OSCE
                                              • Discover
                                              • Validate
                                            • L3DomainsReplaceable clinical content
                                              • Clinical skills
                                              • Surgical & haptic
                                              • Imaging & pathology
                                              • Patient twin
                                            • L4AI spineSovereign, traced, outside the safety loop
                                              • LLM hub + RAG
                                              • Agent fabric
                                              • Perception models
                                              • Adaptive scoring
                                              • Guardrails
                                            • L5Core & physiologyDeterministic, replayable simulation
                                              • UE5 image generator
                                              • Pulse physiology
                                              • Scenario engine
                                              • Deterministic host
                                            • L6Data, interop & trustStandards and provenance
                                              • FHIR / DICOM / OMOP
                                              • Identity & consent
                                              • Provenance & licence gate
                                            Six layers. Every module is content on the same core and AI spine.
                                            Safety pathEvery AI output passes a policy check and a qualified person’s sign-off, with a full trace, before use.
                                            04Data architecture

                                            Where the data lives, and why

                                            VITA4 data storesData commonsFAIRFindable, accessible, interoperable, reusableClinical interopFHIR · DICOM · OMOPStandards-based exchangeIdentity & consentIAMWho may see whatProvenanceLicence gateEvery asset and model traced
                                            • Data commons FAIR Findable, accessible, interoperable, reusable
                                            • Clinical interop FHIR · DICOM · OMOP Standards-based exchange
                                            • Identity & consent IAM Who may see what
                                            • Provenance Licence gate Every asset and model traced
                                            Data, interop and trust layer (design).
                                            05Run it

                                            Ask this project a question, and watch it move through its own stores and tools

                                            Ask VITA a question

                                            The question runs through small in-browser stand-ins for this project’s own stores (FAIR, FHIR · DICOM · OMOP, IAM, Licence gate) and searches only this case study. Each store does its real job here and times it.

                                            What each store did

                                              Ask it over MCP

                                              A real MCP server for VITA runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                                              Answer

                                              Call a tool yourself

                                              Raw JSON-RPC messages
                                                 
                                                06Connections

                                                What it’s built from, and what it shares with other projects

                                                • Project
                                                • Stack
                                                • Agent
                                                • Database
                                                • Tool
                                                • Model

                                                07Inside the system

                                                The agents, pipelines, tools and models, taken from the project’s design documents

                                                Orchestrator AI orchestrator Routes tasks to supervisor families over gRPC / REST
                                                • Language & knowledge

                                                  On-prem LLM hub

                                                  • Clinical RAG
                                                  • Guidelines & formularies
                                                  • SOPs & literature
                                                • Agents & copilots

                                                  LangGraph

                                                  • Instructor
                                                  • Scribe
                                                  • Triage
                                                  • Care-pathway
                                                  • Lab
                                                • Perception

                                                  Teaching only

                                                  • Imaging
                                                  • Pathology (WSI)
                                                • Adaptive learning

                                                  Personalised practice

                                                  • Observe
                                                  • Adapt
                                                  • Score
                                                  • Recommend
                                                One orchestrator routes every AI task to supervisor families and specialist agents. Traced in Langfuse and policy-gated, always beside the physiology loop, never inside it.
                                                Clinical RAG
                                                01 Query learner or instructor 02 Retrieve guidelines, SOPs, literature 03 Generate on-prem LLM 04 Cite sources attached
                                                Agent action
                                                01 Request task for an agent 02 Plan LangGraph 03 Act tools 04 Trace / approve Langfuse + human gate
                                                Guardrail
                                                01 AI output any proposal from an agent 02 Policy check scope, safety and licencerules 03 Human gate a qualified person approves 04 Allow / block with a full trace
                                                Key decisions

                                                AI lives outside the physiology loop

                                                Simulation must be deterministic and replayable for fair assessment. LLM calls are slow and non-deterministic, so they advise, narrate and score from outside the loop.

                                                Training software, not a medical device

                                                Drawing that line keeps the platform quick to deploy and honest about what it does. A regulated clinical product would be a separate decision.

                                                One core for every module

                                                Virtual patients, surgery and imaging share physiology, assets and scoring, so each new module is content on the same engine rather than a new product.
                                                Safety boundaryEducation software only. Imaging and pathology AI are labelled for teaching and are never used for real-patient diagnosis.
                                                StatusArchitecture and specification are complete. The first build phase is the immersive clinical-simulation foundation, covering virtual patients, OSCE and core VR.
                                                Case study 12 / 13
                                                Simulation & XRSystem design

                                                PRAXIS Practical Reality & AI for eXtended Inspection & Servicing

                                                AI and XR for maintenance, repair and overhaul (MRO). It trains technicians, guides live work in AR and verifies it with on-device vision, on Unity 6. I designed the architecture, with step-by-step AR work instructions on tablets teams already own, remote expert assist, AI visual inspection and a RAG technician copilot.

                                                Unity 6Unity SentisRT-DETR / D-FINESAM 2LangGraphLangfuseOPC UA / MQTTGaussian splats
                                                EXPERIENCETablet ARMRVRDesktop & webAPPLICATIONSLearnPractisePerformCertifyDOMAINSAsset packsFault engineInspectionAI FABRICVisionTechnician copilotApproval gateCOREUnity 6Part-tree importAuthoringDATA & TRUSTKnowledge graphDigital thread
                                                1 buildfor every reality modetablet AR · MR · VR · desktop · web
                                                mAP@0.5 ≥ 0.85defect-detection design target14 visible-defect classes
                                                Train → Assist → Verifyone workflow from classroom to live job
                                                01In plain words

                                                Who it helps, what was going wrong, and how it works

                                                Who it’s forMRO directors and heads of maintenance training in aviation, energy, rail and heavy industry.
                                                The situationExperienced workers are retiring, new hires take a long time to get up to speed, and paper instructions lead to mistakes and rework.
                                                What was going wrongSeveral enterprise AR headsets were discontinued, which left many teams without a supported way to give step-by-step visual guidance.
                                                How it works, step by step
                                                • 01One app runs on the tablets workers already have, and also in VR or on a desktop.
                                                • 02Procedures come from CAD models and manuals, with AI drafting the steps.
                                                • 03AR shows each step on the real machine, and a remote expert can join.
                                                • 04AI vision checks the work for defects as a second pair of eyes.
                                                • 05A technician copilot answers questions from the manuals.
                                                An exampleFor example, a new technician replacing a pump follows the AR steps on a tablet. The camera checks each part, and if they are unsure they ask the copilot or call a remote expert.
                                                What changedThis is a design: one workflow from classroom training to the live job, with a defect-detection target of mAP@0.5 of 0.85 or better.
                                                02Problem → solution
                                                The problemSkilled-worker retirements and slow new-hire ramp-up leave plants short-handed, paper SOPs cause errors and rework, and recent exits of enterprise AR headsets left many teams without a supported path.
                                                Constraints
                                                • —Tablet first, with near-zero hardware cost and headsets optional
                                                • —On-prem option for sensitive plants
                                                • —AI never clears a safety step on its own
                                                • —Audit trails that support ISO 9001 / AS9100
                                                What I designed
                                                • 01I designed one Unity 6 runtime that renders every reality mode (tablet AR, passthrough MR, VR, desktop and web) from one build. It hosts a signed procedure state machine.
                                                • 02CAD, mesh and point-cloud import with automatic part trees and disassembly, AI drafting of procedures from manuals, and photo-to-twin capture with Gaussian splats.
                                                • 03Vision inspection with RT-DETR / D-FINE detectors, SAM 2 masks and OCR. It runs on-device via Unity Sentis or on an edge GPU, acting as a second reader against manual limits.
                                                • 04A technician copilot that runs an on-prem LLM with RAG over manuals and procedures, with LangGraph agents traced in Langfuse.
                                                • 05Connected tools such as Bluetooth digital torque wrenches capture measured values, never typed, and check each one against the step’s tolerance.
                                                03How it works

                                                Six layers. Every asset and sector is a content pack on the same core.

                                                • L1ExperienceDevice-flexible, tablet first
                                                  • Tablet / phone AR
                                                  • Passthrough MR
                                                  • VR
                                                  • Desktop & web
                                                • L2ApplicationsLearn it, practise it, perform it, prove it
                                                  • Learn
                                                  • Practise
                                                  • Perform
                                                  • Assess & certify
                                                  • Remote expert
                                                • L3DomainsAsset and sector packs
                                                  • Asset packs
                                                  • Fault engine
                                                  • Inspection
                                                  • Advanced repair
                                                • L4AI agent fabricOn-prem, traced, behind a human-approval gate
                                                  • Import & vision
                                                  • Technician copilot
                                                  • Adaptive skill
                                                  • Guardrails & approval
                                                • L5Core & contentOne Unity 6 runtime
                                                  • Unity 6 runtime
                                                  • Part-tree import
                                                  • Authoring studio
                                                  • Photo-to-twin & IoT
                                                • L6Data & trustDigital thread and sovereignty
                                                  • Knowledge graph
                                                  • Digital thread
                                                  • Identity
                                                  • Sovereign deployment
                                                Six layers. Every asset and sector is a content pack on the same core.
                                                Safety pathEvery AI output passes a policy check and a qualified person’s sign-off, with a full trace, before use.
                                                04Run it

                                                Ask this project a question, and watch it move through its own stores and tools

                                                Ask PRAXIS a question

                                                The question runs through small in-browser stand-ins for this project’s own stores and searches only this case study. Each store does its real job here and times it.

                                                What each store did

                                                  Ask it over MCP

                                                  A real MCP server for PRAXIS runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                                                  Answer

                                                  Call a tool yourself

                                                  Raw JSON-RPC messages
                                                     
                                                    05Connections

                                                    What it’s built from, and what it shares with other projects

                                                    • Project
                                                    • Stack
                                                    • Agent
                                                    • Database
                                                    • Tool
                                                    • Model

                                                    06Inside the system

                                                    The agents, pipelines, tools and models, taken from the project’s design documents

                                                    Orchestrator AI orchestrator Routes perception, copilot and generative tasks
                                                    • Import & vision

                                                      See the asset

                                                      • Disassembly planning
                                                      • Defect detection
                                                      • OCR & segmentation
                                                      • Borescope / NDT
                                                    • Technician copilot

                                                      On-prem LLM + RAG over manuals

                                                      • Voice “what next / why”
                                                    • Generative

                                                      Draft content

                                                      • Procedures from manuals
                                                      • Fault scenarios
                                                    • Adaptive skill

                                                      Certify people

                                                      • Observe
                                                      • Adapt
                                                      • Score
                                                      • Certify
                                                    An on-prem agent layer sends tasks to supervisor families, traced and behind a human approval gate.
                                                    Technician copilot (RAG)
                                                    01 Query by voice or text 02 Retrieve manuals and procedures 03 Answer / draft on-prem LLM 04 Cite source section
                                                    AI inspection
                                                    01 Capture camera or borescope 02 Infer / measure RT-DETR, SAM 2 03 Grade against limits 04 Sign evidence audit trail
                                                    Fault training
                                                    01 Model asset model 02 Inject fault fault engine 03 Propagate symptoms what the trainee sees 04 Troubleshoot scored
                                                    Guardrail
                                                    01 AI output any proposal from an agent 02 Policy check scope, safety and licencerules 03 Human gate a qualified person approves 04 Allow / block with a full trace
                                                    Key decisions

                                                    Tablet-first, headset-optional

                                                    Plants already own tablets. Leading with them makes a pilot almost zero capex and avoids lock-in to any one headset vendor.

                                                    Human approval for AI-drafted procedures

                                                    A wrong step on real equipment is a safety incident. AI drafts procedures from manuals; a qualified person approves them before use.

                                                    Inspection AI as a second reader

                                                    The model finds and sizes defects; a person clears the part. It supports inspection rather than replacing metrology.
                                                    Safety boundaryAI-generated procedures always need qualified human approval before use on real equipment, and AI inspection never clears an item on its own.
                                                    StatusArchitecture and specification are complete. The first build phase is authoring and tablet AR work instructions.
                                                    Case study 13 / 13
                                                    Simulation & XRSystem design

                                                    MOTUS Multi-domain Operations, Training & Unified Simulation

                                                    A sovereign synthetic-world platform for training, validation, rehearsal and synthetic data in seven domains, including space, on Unreal Engine 5. I designed the architecture, one deterministic simulation core that trains operators of any vehicle, from car and truck to excavator, aircraft, drone, ship or train, and runs from a desktop or VR trainer up to a full cockpit or motion platform.

                                                    Unreal Engine 5JSBSimProject ChronoPX4FMI 3.0CIGI / DIS / HLAOpenSCENARIOROS 2
                                                    DOMAINSRoadHeavyAirSeaRailEDITIONSTrainAssessValidateRehearseAI SPINEAgentsOn-prem LLM + RAGScoringCOREFixed-stepUE5 IGScenario engineINTEROPOpenUSDOpenSCENARIOFMI 3.0SECURITYAir-gappedSBOM + ML-BOM
                                                    60–1000 Hzdeterministic fixed-step corebit-exact record and replay
                                                    7vehicle domains on one coreroad · heavy machine · air · sea · rail · space · defence
                                                    < 50 msmotion-cue latencydesign target
                                                    01In plain words

                                                    Who it helps, what was going wrong, and how it works

                                                    Who it’s forTraining and simulation leads at training institutes, defence and security agencies, space organisations and their prime contractors.
                                                    The situationThey train, validate and rehearse people on many kinds of vehicle, from cars and trucks to excavators, aircraft, drones, ships, trains and spacecraft, and they need synthetic data for testing too.
                                                    What was going wrongFull simulators cost millions and each one covers a single vehicle, so institutes buy a different system for every domain.
                                                    How it works, step by step
                                                    • 01One simulation core runs every vehicle type, using proven physics engines for air, ground, drones, ships and rail.
                                                    • 02It scales from a desktop or VR trainer up to a full cockpit on a motion platform.
                                                    • 03Scenarios use industry standards, so they can be shared and replayed exactly.
                                                    An exampleFor example, an institute uses the same software to train excavator operators in VR one day and drone pilots at a desk the next.
                                                    What changedThis is a design: seven vehicle domains on one core, with motion cues under 50 ms.
                                                    02Problem → solution
                                                    The problemFull simulators cost millions and cover a single vehicle type. So a training institute buys a different vendor for every domain, while operator and pilot shortages keep growing.
                                                    Constraints
                                                    • —Never claim a certification it does not hold. Start with desktop and VR procedure trainers.
                                                    • —Customers’ validated vehicle dynamics stay on their premises
                                                    • —Defence content is limited to driving, crew and emergency procedures, with no weapons
                                                    • —AI stays outside the real-time loop
                                                    What I designed
                                                    • 01I designed a deterministic fixed-step executive (60–1000 Hz), with record and replay, time-warp and multi-node distribution.
                                                    • 02I designed an Unreal Engine 5 image generator driven over CIGI, with large-world coordinates, volumetric weather, nDisplay, Pixel Streaming and OpenXR VR.
                                                    • 03Vehicle dynamics come from JSBSim (air), Project Chrono (ground and tracked), PX4 (drones) and in-house maritime 6-DoF and rail traction. Customers can also bring their own model as FMI 3.0 FMUs, run inside an encrypted enclave.
                                                    • 04An interop fabric for CIGI, DIS, HLA and ROS 2, with OpenSCENARIO and OpenDRIVE scenarios.
                                                    • 05An AI spine that orchestrates supervisors and specialist agents for scenario generation, instructor copilots, voice ATC and crew, and performance scoring.
                                                    03How it works

                                                    Domains sit on editions, all powered by one AI spine and one shared core.

                                                    • L1DomainsWhat is being operated
                                                      • Road
                                                      • Heavy machine
                                                      • Air
                                                      • Sea
                                                      • Rail
                                                    • L2EditionsWhat the session is for
                                                      • Train
                                                      • Assess
                                                      • Validate
                                                      • Rehearse
                                                      • Generate
                                                    • L3AI spineSovereign, outside the real-time loop
                                                      • Agent orchestration
                                                      • On-prem LLM + RAG
                                                      • Perception
                                                      • Scoring
                                                    • L4CoreBuilt once, shared by everything
                                                      • Fixed-step executive
                                                      • UE5 image generator
                                                      • Scenario engine
                                                      • BYOM enclave
                                                      • Interop fabric
                                                    • L5Data & interopOpen standards
                                                      • OpenUSD
                                                      • OpenDRIVE
                                                      • OpenSCENARIO
                                                      • FMI 3.0
                                                      • DIS / HLA
                                                    • L6Deployment & securitySovereign by default
                                                      • On-prem / air-gapped
                                                      • SBOM + ML-BOM
                                                      • Zero-trust identity
                                                    Domains sit on editions, all powered by one AI spine and one shared core.
                                                    Safety pathThe AI layer stays outside the real-time loop. Its outputs pass a policy check and a human gate, with a full trace.
                                                    04Run it

                                                    Ask this project a question, and watch it move through its own stores and tools

                                                    Ask MOTUS a question

                                                    The question runs through small in-browser stand-ins for this project’s own stores and searches only this case study. Each store does its real job here and times it.

                                                    What each store did

                                                      Ask it over MCP

                                                      A real MCP server for MOTUS runs in a Web Worker on this page. Its tools read this project’s results, agents, databases, tools and steps. Every arrow below is a JSON-RPC message that was actually sent. The agent picks tools with simple rules, not an LLM.

                                                      Answer

                                                      Call a tool yourself

                                                      Raw JSON-RPC messages
                                                         
                                                        05Connections

                                                        What it’s built from, and what it shares with other projects

                                                        • Project
                                                        • Stack
                                                        • Agent
                                                        • Database
                                                        • Tool
                                                        • Model

                                                        06Inside the system

                                                        The agents, pipelines, tools and models, taken from the project’s design documents

                                                        Orchestrator Orchestrator Breaks a request down and routes it to supervisors, one accountable entry point.
                                                        • Scenario

                                                          Author and adapt scenarios

                                                          • Supervisor + specialists
                                                        • Scoring

                                                          Assess performance

                                                          • Supervisor + specialists
                                                        • World-build

                                                          Generate environments

                                                          • Supervisor + specialists
                                                        • Ops

                                                          Run the training estate

                                                          • Supervisor + specialists
                                                        One orchestrator hands work to ~29 supervisors and ~130 specialist agents (design). All traced and policy-gated, and never inside the fixed-step loop.
                                                        Agent orchestration
                                                        01 Receive task request 02 Orchestrator plans task plan 03 Dispatch supervisors supervisor tasks 04 Run specialists proposals only 05 Gate + trace policy and audit 06 Return result gated result
                                                        Grounded answers (RAG) Manuals, regulations and SOPs are embedded per tenant. One customer’s documents never reach another’s answers.
                                                        01 Embed query BGE-M3 02 Retrieve passages per-tenant index 03 Assemble context prompt context 04 Serve LLM vLLM, on-prem 05 Attach citations source passages 06 Return answer grounded
                                                        Key decisions

                                                        One core for every vehicle

                                                        Dynamics are plug-ins. The executive, image generator, scenarios, scoring and instructor station are shared, so a new domain is a module, not a new product.

                                                        Bring-your-own-model via FMI 3.0

                                                        OEMs will not hand over validated dynamics. Their FMUs run inside an encrypted enclave on their own premises.

                                                        AI outside the real-time loop

                                                        The executive must stay deterministic and replayable. Agents generate scenarios, voice crew and score performance from outside it.
                                                        Safety boundaryDesktop and VR procedure and part-task trainers first, with no claim of regulator qualification it does not hold. Defence content covers driving, crew, navigation and emergency procedures only, with no weapons, targeting or fire control, and defence use is subject to an export-control check.
                                                        StatusArchitecture is complete. The first build phase stands up the shared core with road and heavy-machine trainers.