principles
Things I learned by building, not by reading. I edit this file when I'm wrong.
building with AI
- Retrieval quality decides answer quality.
- Anything a script can check is never left to the model.
- A good prompt is a policy, not a sentence.
- The harness around the model decides how well an agent works.
- Before you pay for more agents, check whether you just need different memory.
- Designing tools for an AI is different from designing an API for developers.
shipping
- Mark work as done only after it succeeds.
- Webhooks arrive at least once, so every handler has to be idempotent.
- A small, single-purpose service is often the cleanest way to connect two tools.
- With ML models, startup time matters as much as inference.
- AI tools can make a polished UI fast. The real work is integration.
staying honest
- Be loudly incomplete rather than quietly wrong.
- Never take a benchmark from your own material.
choosing tools
- Visual tools prove ideas. Large data and custom logic call for code.
- When a tool runs out of room, go one layer down.