GenAI architect and AI engineering leader

Agents that hold up in production.

I design and build AI systems with the safety gates, evaluation and audit trail a release needs. The labels on this site say how far each build got.

Pass19Disabled0

11 input gates and 8 output gates circle one model. Switch one off and see what the system reports.

19safety gates in the release
97.8%routing suite, 134 of 137
19,041prompts in certification testing
114commits in a hands-on rebuild

The system, stop by stop

Follow one question through the machine.

A store worker asks where the spill kit is kept. Scroll, and the question travels the pipeline I designed for an enterprise AI assistant at a large US retailer. Each stop shows what I built there and how far it got.

  • In the releaseWent through certification testing.
  • Proved in a sandboxRan end to end in a sandbox environment.
  • Proof of conceptBuilt and run on my own subscription or laptop.
  • DesignedWritten or drawn. Not yet run.
In the release

11 checks before any model sees the question.

Content safety, prompt-injection shields, and PII and PHI masking run in a config-driven pipeline.

  • Every gate returns one of four outcomes, so a check that did not run can never look like a pass.
  • I designed the gate pipeline and wrote the first PII gate. Team engineers wrote most of the three PII and PHI gates in the release.
  • A start-up check refuses any retry setting that could outlast the request deadline.

Live: the same 19 gates as the orbit above

11 on input8 on output
Press a gate to switch it off. It reports disabled, never pass.
In the release

A router reads intent and picks the specialist.

An LLM classifier labels each question and sends it to the right sub-agent.

  • The routing suite scored 97.8%: 134 of 137 labelled questions routed correctly.
  • The first run scored 93.6%. The suite found the gaps, and the fixes followed.

137 labelled questions

134of 137 routed correctly
Each dot is one question. The three hollow dots are the misses.
In the release

Retrieval that only shows what this person may see.

Hybrid keyword and vector search on Azure AI Search, semantically reranked and filtered by the user's Entra groups.

  • Answers were citing the wrong document. I traced it to two defects in the retrieval code, not the model.
  • A document-level dedup key had collapsed every document to a single chunk.
  • Table-of-contents chunks were winning the rerank. I fixed both in code.

What the fix changed

Before: one chunk per document

After: the right chunk and its neighbours

Each row is a document, each block a chunk. Orange is a contents page winning the rerank. Illustrative layout.
In the release

An orchestrator hands the question to a sub-agent.

A FastAPI orchestrator routes to sub-agents on Azure AI Foundry, with session memory that keeps answers grounded.

  • I designed the architecture and rebuilt the second-generation service hands-on in 114 commits.
  • Each domain is a configuration record, so adding a domain needs no new code path.
  • Proved in a sandboxA ticketing lane that calls its tools over MCP. A live probe passed 4 of 5 checks.

One orchestrator, specialists by configuration

A new domain is a new record, not a new branch of code.
In the release

8 checks on the answer before the worker sees it.

The answer goes through the same config-driven pipeline as the question, with the same four outcomes.

  • Only two outcomes mean a check ran. The other two are recorded as what they are.
  • A skipped or disabled gate is logged as its own outcome on the trace.
  • DesignedAn alert rule that fires when any gate reports skipped or disabled, defined as code.

Four outcomes, never two

PassRan and found nothing.
FiredRan and acted.
SkippedDid not run this turn.
DisabledSwitched off.
A pass or fail flag would hide the bottom row. Four outcomes keep it visible.
In the release

Every turn leaves a trail, with no user content in it.

One span per pipeline stage and one audit record per turn. All content passes through a single redaction point before telemetry.

  • Each gate logs its outcome, and each turn logs its route, latency, attempts and tokens.
  • Proved in a sandboxAn operations and audit console: per-turn ledger, failure grouping and a turn inspector for support staff.
  • DesignedAlert rules and a workbook, defined as code.

One turn as a trace

The stage order is real. The bar lengths are illustrative.

One detector gets its own stop

Guardian, a three-tier detector for the hardest messages.

When an employee discloses something sensitive, a detection alerts people. The assistant does not handle it alone. Policy owners own the list of what counts, not engineers: statements live in a versioned store where publish and rollback are one pointer write.

Detector and policy store: in the releasePublishing console: proved in a sandbox

Before any of it ships

Evaluations that block a release, and can prove they work.

I built a two-tier evaluation harness so a release fails for the right reasons and does not fail every time the documents change. A self-test seeds known defects to prove the evaluator can fail.

In the release
Blocks the release

Contract tier

What the assistant must always do: refuse, escalate, cite, route.
Reports drift, never blocks

Content tier

Checks that depend on today's documents.
Scale

19,041 prompts

I supported certification testing across them.
Designed

Per-user identity chain

From Teams sign-on to the ticketing system with no service account. One proof passed: a delegated user token was accepted and the agent called its tool.
Proved in a sandbox

Platform-first probes

A 12-probe smoke test of every dependency before building: 9 passed, 1 failed, 2 skipped.
In the release

Follow-up rewriting

Server-side chaining did not help a strictly grounded agent. Rewriting the follow-up into a standalone question did. The lab note below shows why.

Selected work

Fifteen years of data platforms, now AI systems.

Four engagements across retail and healthcare. Client work is described and redrawn. No client material is shown.

Client engagement for a large US retailer · Mar 2025 – Present

An AI assistant for store teams.

Architect and technical lead for an enterprise assistant that answers store team members' questions on handheld devices and Microsoft Teams, taken from proof of concept through certification testing. I led a delivery team of 10+ engineers and set its standards in 40+ architecture decision records.

114commits in the hands-on rebuild
19safety gates, 11 in and 8 out
97.8%routing suite, 134 of 137
19,041certification prompts

Azure AI Foundry, Azure OpenAI, Azure AI Search, Cosmos DB, FastAPI, OpenTelemetry, Azure DevOps, Terraform.

See it stop by stop

Client engagement for a large US healthcare provider · 2025

A broker intelligence platform on AWS.

A multi-agent platform that answers insurance brokers' questions and drafts renewal communications for relationship managers. I built the central LangGraph workflow that coordinates the specialist agents, and shaped the agent breakdown and the approval flow. No communication goes out without a person's approval. The platform went live after I rolled off.

Amazon Bedrock, LangGraph, Python.

Client engagement for a large US healthcare provider

Clinical document review.

I co-architected a GenAI decision-support solution and built it as part of the engineering team. It reviews provider-submitted clinical documents against a large medical policy repository and gives human reviewers an evidence-supported recommendation. Reviewers make every decision.

Azure OpenAI (GPT-4), RAG on Azure AI Search, Azure AI Document Intelligence, LangChain, LangSmith.

Large US healthcare provider · Principal Cloud Engineer · Oct 2014 – Dec 2024

A healthcare data platform.

Data and AI platform architecture across clinical, claims and member data, with Unity Catalog access control for PHI and PII.

$1.9Ma year saved by the ingestion framework
24 → 6 hclinical lab processing on the lakehouse
1Mevents an hour, under 10 seconds

NiFi, Spark, Kafka, Azure Databricks, Delta Lake, Unity Catalog.

The design desk

Mockups and papers I drew before anything was built.

I design the screen, the plan or the sequence first, so people can argue with something they can see. These are redrawn from my originals with generic names, and every number in them is sample data. The last two are personal projects.

AI FinOps · portfolioDesigned
SAMPLE DATAEvery number on this screen is illustrative. Confidence chips show how the real dashboard would label each figure.

Portfolio

What each AI project consumed, what it gave back, and how sure we are of the second number.

AI spend$80.1k6 projects, AI-specific only
Benefit$134.1k29% measured
Net value$54.0kbenefit minus spend
Portfolio ROI0.7×weakest input: declared
Value models4 / 62 projects show cost only

Spend against benefit, by month

AI spendBenefit, measuredBenefit, estimatedBenefit, declared

Benefit by confidence

measured
$38.7k
estimated
$59.6k
declared
$35.8k

Two projects have no value model yet, so their tiles show cost and adoption only. The dashboard does not fill the gap.

Field assistant

Spend$1.8k
Benefit$35.8k
ROI18.5×
declared

Contract intake

Spend$920
Benefit$38.7k
ROI41.1×
measured

Purchase orders

Spend$304
Benefit$4.3k
ROI13.0×
estimated
Why mock firstA sample dashboard gets a sharper review than a requirements list. People point at what is wrong.
Why the labels stayA design is not a build. Each window carries its status so nobody mistakes one for the other.
What is not hereThe originals, and my architecture and data-flow drawings, were made for clients. Those stay private.

How I work

Six rules I build by.

  • Prove the platform first.

    Before building, I probe every dependency on generally available versions. Twelve probes told me what worked, and what did not, before I built on it.

  • A skipped gate never reads as a pass.

    Every safety check reports one of four outcomes. A check that is switched off shows up as disabled.

  • Evaluations have to be able to fail.

    A self-test seeds known defects. If the evaluator misses them, the evaluator is broken.

  • Retries must fit the deadline.

    The service adds up its worst case at start-up and refuses to start if retries could outlast the request.

  • Generally available services only.

    A team standard with a repeatable check. I reviewed an agent-to-agent proof of concept and chose not to depend on a preview endpoint.

  • Measure whether the model earns its place.

    I tested an LLM gate against outcomes. Its yes or no did not pick winners, and the lab note below says so.

lab notes

Seven experiments, drawn so you can see them move.

Personal builds and one finding from the release. Each note gives the question, what I built, what I found and when it was measured, including the results that went against me.

Proof of conceptMeasured 20 Jul 2026

How fast are small models on one laptop?

Phi-3.5 mini46.5 tokens a second
6.8 s average answer
Phi-4 mini reasoning46.2 tokens a second
25.3 s
Qwen 2.5 7B23.4 tokens a second
10.3 s
Built
A benchmark runner on Foundry Local: three models, ten prompts in seven categories, on a MacBook Pro.
Found
The reasoning model streams at the same speed and takes about four times as long. It spends its tokens thinking.

A judge run on 29 Nov 2026 scored them 3.3, 3.8 and 3.9 out of 5. The same model wrote the baseline and did the grading, in one run with no human check.

github.com/ArchitectsBench/local-llm-benchmark
Proof of conceptMeasured 8 Jul 2026

Does an LLM gate pick winners?

Right on direction after one session
Approved 59%
Vetoed 52%
After two sessions
Approved 47%
Vetoed 54%
Built
A fail-closed LLM validation gate in a personal decision-support agent. Paper trading only.
Found
The edge flips sign with the horizon, which is noise. The black line marks a coin flip. The gate did not pick winners.
github.com/ArchitectsBench/options-agent
Proof of conceptObserved in the original build

Where does each safety layer stay silent?

Platform filterLets borderline content through
Text severityScored 0
Prompt ShieldCame back clean
Agent instructionsThe only layer left
Built
A Foundry agent over four Azure AI Content Safety checks, with 19 tests.
Found
A request for harmful instructions in neutral language passed the tools. They score the text, not the intent. Not yet re-tested.
github.com/ArchitectsBench/content-safety-agent
In the releaseMeasured 9 Aug 2026

Does chaining help a grounded agent with follow-ups?

Chained

Who restocks it?Input tokens rose from 26 to 51, so the earlier turn arrived.Answer: not available in the sources.

Rewritten

Who restocks the spill kit?The follow-up becomes a standalone question before retrieval.Answered from the sources.
Built
A probe of server-side response chaining, then a follow-up rewriting step.
Found
A strictly grounded agent answers only from retrieved documents, and an earlier turn is not a document. The example wording is illustrative.
Proof of conceptNotes updated 24 Oct 2026

Why did a 9-minute voice session take 13?

Scripted9 min
Actual13 min
Built
A realtime speech-to-speech assistant on Azure Voice Live with function calling and a cost guard.
Found
The assistant heard its own question through the speakers and waited. A half-duplex microphone fixed it. The guard refuses a session over $9 a day or $50 a month.
Proof of conceptSynthetic corpus

What does governance buy, and what does it cost?

99.3%
Governed, clean runs
83.9%
Baseline, clean runs
Cost per 1,000 answers
Governed$3.14
Baseline$1.32
Built
A governed RAG pipeline and a plain baseline, run on the same 67 questions ten times each: 1,340 runs, with 216 tests.
Found
Governance bought about 15 more clean runs in every 100 and cost more than twice as much per answer. Both numbers belong in the decision.
Proof of conceptMeasured 29 Nov 2026

Can my own checks fail?

Mask before the modelWorking
Scrub before exportWorking
Transform at ingestionDefined, not applying
Two "must be zero" checksCould not have failed
Built
A telemetry demo that masks personal data before it reaches the model or the logs.
Found
My two checks only read a column of event names. A wider query found a synthetic identifier in two exception stack traces. Two layers work. The third is still to fix.

Tracy, California

Let's build one that holds up.

EmailGenAIArch007@gmail.com