Pedro Alonso

Pedro Alonso

Senior engineer, 15 years. I build and run production AI systems — agents, evals, and the infrastructure under them.

Your LLM feature works in a demo. I make it survive real traffic.

I build production systems solo, and publish the measurements.

Lately that's modl, an open source image-generation toolkit, and Reframe, an AI product-photography app on Shopify. Fifteen years building payments, fintech and commerce systems before that is why I build these ones to be monitored, evaluated and reversible. Every number on this site comes from an experiment I ran, not a benchmark I quoted.

What I Build and Run

Products built solo and run in production — live, maintained, and in front of paying users.

Selected Writing

Real systems, built and measured — with the failure cases left in.

One Day of Agent Observability: Five Bugs Found

experiment

I gave my kids' book agent proper logging in a morning — three plain files — and spent the afternoon fixing what the logs immediately caught: 73% of GPU time wasted, books in the wrong language, and two ways the model broke its own tool calls. Real numbers, same-day payback.

· 11 min read

A 3B model tied Opus at text-to-SQL — where it breaks

experiment

I RL-tuned a 3B model on a single GPU to tie Claude Opus 4.8 on text-to-SQL, then went query by query to show why an equal score doesn't mean an equal model.

· 19 min read

Do You Need a Glean? Onyx vs 80 Lines of Postgres

experiment

The enterprise-knowledge-search question is really build-vs-buy: pay for Glean, self-host the open-source Onyx, or build RAG on the Postgres you already run. Instead of a feature table, I stood up the full Onyx platform AND wrote the entire Postgres alternative in ~80 lines, pointed both at the same local Qwen 27B over the same company knowledge base, and asked the same questions. Both gave accurate, cited answers. The difference isn't quality — it's eleven containers and a connector marketplace versus one container and a prompt you own. Here's how to choose.

· 11 min read

How Much of Your LLM Bill Is the Same Question Twice?

experiment

A semantic cache on pgvector deletes the LLM calls you're paying for twice — but only if you tune it. I replayed 6,000 real questions through a warming Postgres cache and measured the hit rate, the dollars, and the part nobody benchmarks: how often a 'close enough' match serves a confidently wrong answer.

· 10 min read

Evaluating and Monitoring LLM Workflows in Production

A practical guide to proving your LLM feature actually works — tracing, offline evals, and online monitoring — with an honest tour of the mid-2026 tooling landscape: Langfuse, Opik, Phoenix, DeepEval, Ragas, promptfoo, and where Trigger.dev fits.

· 15 min read
Browse all writing →

I take on a small number of consulting engagements alongside my own products. If something here is the problem you're working on, here's how we can work together.