Skip to content
YMP

01 /

Independent engineer, builder, investigator.

I buildsystems.
Yusuf MirzaPıçakcı

Then I go looking for the part that lies.

Slow, expensive, unreliable — symptoms. I investigate AI systems and find the cause.

One of them: ≈ 15.1 s of a 23.9 s response — was memory search, not the model. One observed request in my own assistant.

Scroll to instrument

02 — What I do

I build systems, andI keep the receipts.

The shape of the work

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.

SystemToo slowToo expensiveUnreliableInvestigationRoot causeInterventionResult

01

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.

  • End-to-end latency decomposition
  • Token accounting per feature, not per month
  • Model routing, caching and context growth
  • Gateway overhead, streaming and buffering

02

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.

  • Critical-path design
  • Model routing and fallbacks
  • Memory and retrieval boundaries
  • Failure and degradation modes

03

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.

  • Instrumentation and tracing
  • SSE and streaming preservation
  • Reliability and timeout policy
  • Infrastructure and deployment behaviour

04

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.

  • Agent runtimes and tool execution
  • Memory search cost and placement
  • Retry and loop behaviour under failure
  • Background versus blocking work

01 — Symptom

Something
is slow.

One request. No hypothesis yet.

One investigation — SYN-POCKET / OpenClaw

02 — Trace

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.

  1. 01Audio capture
  2. 02Transcription
  3. 03Memory search
  4. 04Model call
  5. 05Streaming
  6. 06Speech synthesis

03 — Investigation

One stage owns
the response.

Time to first audio ≈ 23.9 s · single observed request

Memory search≈ 0.0 s
Model call≈ 1.2 s
Rest of pipeline, gateway and audio≈ 7.6 s

04 — Realization

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.

05 — Intervention

So I moved it off the critical path.

Blocks the answer

CaptureTranscribeMemory searchModelSpeak

Happens afterwards, in the background

06 — Result

Gateway buffering, before and after

200 ms3 ms

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.

07 — Principle

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.

04 — How I work

Not a methodology.
Just the order.
  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

05 — Things I’ve built

Built, measured,written down.

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.

06 — Proof

Don’t takemy word for it.

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.

TTFA, memory request

≈ 23.9 s

Time to first audio for a request that triggered memory search.

Single observed request on the original pipeline. · Historical observation

Memory search

≈ 15.1 s

Memory search duration inside that request.

Failing case; not an average over a benchmark set. · Historical observation

Direct model response

≈ 1.2 s

Model response time when called directly, outside the assistant.

Separate observation. Not the same request as the TTFA figure. · Historical observation

OpenRouter first delta, direct

≈ 1.01 s

Time to the first streamed delta calling the provider directly.

Separate observation run. · Historical observation

OpenRouter first delta, via proxy

≈ 1.22 s

Time to the first streamed delta through the optimized proxy.

Separate observation run, same session as the direct figure. · Historical observation

Proxy buffering after fix

≈ 3 ms

Buffering introduced by the proxy once streaming was preserved.

Measured after the change. Compare against ≈ 200 ms of gateway overhead before it. · Historical observation

Notes in progress

  • 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.

I publish a piece once the measurements behind it are reproducible, which is why these are listed as in progress rather than announced. This is public thinking, not a content pipeline.

07 — Exploring

What I don’thave an answer to yet.

A running list of what has my attention. It changes; that’s the point of writing it down.

  • 01 — Open

    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.

  • 02 — Open

    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.

  • 03 — Open

    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.

  • 04 — Open

    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.

  • 05 — Open

    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.

Last revised — September 2026

These are open questions, not expertise. Nothing here has a result yet — when one of them produces a measurement that reproduces, it moves up the page and becomes evidence.

08 — Who is Yusuf

I work alone, on systemsI want to understand.

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.

  • Independent by default
  • AI applications, performance, architecture
  • Build → measure → investigate → document
  • Nothing published without its evidence

09 — Work with me

Have a systemthat doesn’tmake sense?

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.