Technical Writing
🇪🇸Español

Blog

Practical guides on AI engineering, from production RAG systems to voice agents. Real lessons from real projects.

Filter by category
Sort by
AI Engineering

Model Routing: Not Every Request Deserves Your Biggest Model

Most LLM features send every request to the largest model because that is what the prototype used. A cascade does better: classify the request, send easy work to a small fast model, escalate on validation failure or low confidence, and hand off to a human beyond that. Router designs, confidence signals that work and ones that do not, how to evaluate the router itself, and the silent quality drop that will bite you if you skip that step.

Nov 23, 202614 min read
AI EngineeringModel RoutingLLM CostLLM Evaluation
Read article
Career

Hiring an AI Engineer: Stop Testing Trivia, Test Judgment

Most AI engineer interviews test the wrong things: leetcode puzzles or 'explain how a transformer works' trivia. What actually predicts success is judgment: defining success before building, debugging a bad output systematically, reasoning about cost and latency, knowing when not to use an LLM, designing for failure and human handoff, and explaining it all to non-technical people. A practical exercise, plus green flags and red flags, for hiring managers, founders, and candidates.

Nov 17, 202614 min read
HiringAI EngineeringInterviewsLLM Evaluation
Read article
AI Product

Cost per Successful Task: The Only LLM Cost Metric Finance Actually Cares About

Tokens per call and cost per request are easy to measure and almost useless for decisions. The number finance and product actually care about is cost per successful task: everything you spent, including retries, tool calls, failed attempts, and human review time, divided by the tasks that were actually completed correctly. Why a cheaper model can cost more per success, how to instrument it with task IDs and outcome signals, and how I use it to decide model choice, caching, and when to stop automating.

Nov 11, 202613 min read
AI ProductUnit EconomicsLLM CostObservability
Read article
AI Engineering

Prompts Are Migrations: Ship Prompt Changes Like Schema Changes

A prompt change can alter your product's behavior as much as a schema change can alter your data, yet most teams edit prompts in a dashboard and hope. I treat them like database migrations: versioned files in the repo, reviewed in pull requests, run against the eval set before merge, rolled out behind a flag, with a rollback path and a changelog. Here is the workflow and the code.

Nov 6, 202611 min read
AI EngineeringPrompt EngineeringLLM EvaluationFeature Flags
Read article
AI Ethics

What to Keep and What to Forget: Data Retention for AI Features

The moment you add an AI feature, user data starts leaking into places nobody designed for retention: prompt logs, traces, vector stores, caches, eval sets. Prompts and completions are user data, and they deserve retention windows, redaction, and deletion that actually propagates. Lessons from building MILA for NICU families and shared AI infrastructure at TheGreyMatter.

Nov 3, 202612 min read
AI EthicsData RetentionPrivacyLLM Observability
Read article
Engineering Leadership

The Design Doc Nobody Asked For: Why I Write One Page Before I Build

No one at a small, fast company requires a design doc, and that is exactly why I write one. As a remote engineer working from Panama, a one-page doc is the cheapest alignment tool I have: it surfaces disagreements while they cost a comment instead of a rewrite. Here is the template I use (context, decision, alternatives, risks, rollout) and the rules that keep it short.

Oct 27, 202612 min read
Engineering LeadershipDesign DocsRemote WorkAsync Communication
Read article
Engineering Leadership

Scoping AI Work for Non-Technical Clients: Ranges, Spikes, and Writing Down 'Good Enough'

How I estimate AI projects for people who just want to know how long and how much. Lessons from years of small-business work at Shining Image and platform work at TheGreyMatter.ai: split the deterministic work from the uncertain work, sell a discovery spike that ends in a decision, give ranges instead of points, and write down what 'good enough' means before anyone writes code.

Oct 13, 202612 min read
Engineering LeadershipEstimationAI ProjectsClient Communication
Read article
...

Showing 1-10 of 99 articles