Independent engineer, builder, investigator.
Then I go looking for the part that lies.
Slow, expensive and unreliable are not three problems with three specialists. They are three ways the same system tells you something in it is not what you think it is. The work is the investigation — what the request actually does, stage by stage, before anyone rewrites it.
Where the seconds and the money go
The same investigation answers both questions. I trace a request all the way through instead of assuming the model is responsible — for the latency or for the bill. It usually isn’t, and the stage that owns the cost is rarely the stage people are arguing about.
AI architecture
I’m interested in the architecture that still holds on a bad day — the provider is slow, retrieval comes back with nothing useful, and none of it resembles the path you designed for. Most of that turns out to be deciding what has to block the user and what doesn’t.
Production systems
A system that can’t explain itself will be argued about instead of fixed. I care about instrumentation that survives contact with the optimizations people make later, especially the ones that quietly break streaming or stop anyone from seeing what a request cost.
AI agent infrastructure
The agent gets the attention. The runtime does the work. What I actually spend time on is what sits underneath: routing, memory, tools, retries, and deciding which of it is allowed in front of the user — or on the invoice.
Something
is slow.
So I opened
the request.
Not the model. The whole path, stage by stage, each one able to be given a duration of its own.
- Audio capture
- Transcription
- Memory search
- Model call
- Streaming
- Speech synthesis
One stage owns
the response.
Not the
model.
The model answered in ≈ 1.2 s when called directly. The fifteen seconds were work I had put in front of the user myself.
So I moved it off the critical path.
Once the proxy stopped buffering the stream it was supposed to pass through. This is the one change with a clean before and after — so it is the only one presented as one.
Measure
first.
I trust measurements more than explanations, including my own. When the evidence contradicts the hypothesis, the hypothesis is what changes.
That was one system. The same decomposition is what I do to any of them — a web app, a backend, an agent runtime — before I agree with anyone about what is wrong with it.
- 01
Measure
I instrument the real request path before I change anything — timing per stage, and tokens and spend per call. If a stage has no number next to it, I don’t get to have an opinion about it yet.
- 02
Diagnose
I attribute the time and the money. Decomposition exists to find the stage that owns the cost, which is frequently not the stage I suspected when I started.
- 03
Architect
Then I ask what has to block the user and what has to reach the largest model. Most of this work turns out to be a placement problem before it is an optimization problem.
- 04
Optimize
I make the change in the smallest form that tests the diagnosis, and I try not to destroy streaming, observability or failure behaviour on the way through.
- 05
Validate
I re-measure under the same conditions as the first measurement. If I can’t reproduce it, I don’t have a result — I have a story.
I trust measurements more than explanations, including my own. When the evidence contradicts the hypothesis, the hypothesis is what changes.
3 systems, in different states of proof — investigated, still being taken apart, built and not yet written up. The latency investigation is the one with the most evidence attached to it, not the only thing here.
- SYN-POCKET
- NUVIA
- NEURALSHEET
Numbers from the SYN-POCKET investigation, with the conditions attached. Observations from different runs are labelled as such, because subtracting them from each other would produce a percentage I have not earned.
≈ 23.9 s
Time to first audio for a request that triggered memory search.
≈ 15.1 s
Memory search duration inside that request.
≈ 1.2 s
Model response time when called directly, outside the assistant.
≈ 1.01 s
Time to the first streamed delta calling the provider directly.
≈ 1.22 s
Time to the first streamed delta through the optimized proxy.
≈ 3 ms
Buffering introduced by the proxy once streaming was preserved.
I thought my AI assistant was slow. The model wasn’t the problem.
Writing up the SYN-POCKET decomposition from the instrumentation, including the part where I was confidently wrong.
How I found a 15-second bottleneck inside an AI voice pipeline
Where the time went, and why the critical path — not the model — turned out to be the design surface.
Why AI application benchmarks need to measure the whole pipeline
Model benchmarks answer a question most of us aren’t actually asking about our own systems.
A running list of what has my attention. It changes; that’s the point of writing it down.
Where the time actually goes in an AI application
Model benchmarks answer a question I’m not asking. I want the decomposition of a real request — capture, retrieval, the model call, the gateway, streaming, synthesis — because the interesting seconds are almost never in the part everyone is optimizing.
Agent infrastructure as an ordinary systems problem
Runtimes, tool execution, model routing, fallbacks. Once you strip the vocabulary away, most of it is scheduling, I/O, and deciding what is allowed to block the user. I’m interested in the version of it that still holds up when a provider stalls halfway through a tool call.
Memory that doesn’t cost you the conversation
Retrieval is easy to add and expensive to place. I keep coming back to the question of what a system should be allowed to look up before it is permitted to speak, and what can happen afterwards.
Voice, and the latency budget it doesn’t forgive
Text hides delay. Voice does not — time to first audio is the whole experience. It’s the strictest performance environment I’ve worked in, which makes it the best place to learn what a critical path really is.
Instrumenting before arguing
I’m working out how little instrumentation is enough to make a system honest about itself, and how to keep observability in place through the exact changes that tend to remove it — streaming, proxies, buffering.
I’m an independent engineer. I build software — mostly AI applications and the infrastructure underneath them — and I spend a suspicious amount of time trying to understand whether they actually behave the way I think they do.
They often don’t. Most of what I know about production systems I learned by instrumenting something I had built and finding out I was wrong about where the time was going. That turned into the habit: build it, measure it, follow the number, write down what the number said.
So the projects here aren’t a portfolio so much as a record. I keep the measurements, I keep the conditions they were taken under, and I keep the parts where the instrumentation disagreed with me — those are usually the ones worth reading.
Slow, expensive, or behaving in a way nobody in the room can explain. I instrument it before I have an opinion about it, and I tell you what the measurement said even when it contradicts the plan — including mine.