// writing
Things I've learned
building agentic AI.
6 posts
Is your eval ready to trust?
An eval you can't trust is worse than having no eval at all. Define what good looks like, validate the grader, and audit every pass and failure before reporting scores or making product decisions with them.
How you structure context is how you structure behavior
Most agent failures in production aren't model failures. They're context failures: the wrong info, in the wrong form, at the wrong time. Most teams spend their energy on the prompt. Everything around it is architecture.
Evals tell you what you designed for. Data tells you the rest.
The best signal you have on whether an LLM feature is working isn't your eval suite. It's your production data. Here's how tracing, eventing, and actually reviewing your data separates teams that improve from teams that drift.
What is your eval suite actually measuring?
I've shipped features where the eval suite was green and the feature was still wrong. Not because the model failed, but because I never specified what right looked like before I started measuring for it.
Your context window is full. Now what?
Every long-running agent hits the same limit eventually. Performance degrades as history accumulates, well before you hit it. There are a handful of approaches that work in practice, and the right one depends on what you're building.
Writing code got faster. Making sure it works didn't.
AI tools have drastically reduced the cost of writing code, but the cost of verifying it hasn't moved. Here's how I have the agent draft the QA plan, run it in the browser, and document findings while I'm already on the next thing.