AI Engineering Deep Dives
Putting AI into production: 12 engineering deep dives
From context and retrieval to agents, evaluation and governance. Read along four lines, or jump straight to the problem you are solving.
01
1. Context and retrieval
What the model can see determines whether it answers correctly.
- Engineering deep divesPreparing context for AI: from prompts to context engineeringPrompts are only the start. Context windows are limited and excess muddies them; choose material, tools and examples, and when the model fetches things.3 min read
- Engineering deep divesWhy AI makes things up: anchoring answers in trusted dataHallucination is not the model being dumb; it is predicting the next word. Three anchors — trusted data, tools, actions — pull answers back to reality.2 min read
- Engineering deep divesGetting retrieval right: give each chunk its contextCutting documents into chunks and retrieving them loses context. Adding one sentence on where each chunk came from noticeably improves retrieval accuracy.2 min read
02
2. Agents and tools
When to use an agent, how to give it skills, and how multiple agents divide the work.
- Engineering deep divesWhen to use agents: five workflow patterns and three rulesAgents are not better when more complex. Tell workflows and agents apart, learn five patterns, then decide whether your task needs multi-step automation.3 min read
- Engineering deep divesGiving AI skills: packaging repeated processes into reusable modulesTeaching AI the same process every time? Package instructions, scripts and material into a 'skill' that loads when needed instead of stuffing prompts.2 min read
- Engineering deep divesDividing work among multiple agents: lessons from a research systemComplex problems suit parallel exploration, but more agents is not better. Inside a real system: orchestration, cost, evaluation and which errors compound.3 min read
03
3. Quality and evaluation
Make output acceptable: evaluation, harness engineering and testable AI functions.
- Engineering deep divesAccepting AI output: building an evaluation setup from scratchEvery team using AI hits the same question: is it actually any good? Tasks, graders and pass rates turn 'it feels off' into measurable results.3 min read
- Engineering deep divesHarness engineering: keeping AI-written code on trackLong AI coding sessions rely not on stronger prompts but on the environment: checkable app, docs as a map, architecture enforced by mechanisms, and clean-up.3 min read
- Engineering deep divesTurning prompts into testable functions: building AI functionsA prompt works a few times; used a hundred times it drifts. Give it inputs, steps, outputs and tests like a function, and it can be reused reliably.2 min read
04
4. Deployment and governance
Bring AI into the business: object models, from retrieval to action, and safety boundaries.
- Engineering deep divesBusiness object model: making AI actually understand your businessAI often seems not to understand the business because it only sees tables and fields. Objects, links, actions and scenarios turn it into a map AI can read.3 min read
- Engineering deep divesFrom retrieval to action: what comes after RAGRAG lets AI look things up but only answer. Add business objects, calculation tools and controlled actions, and it can take part in the whole decision.2 min read
- Engineering deep divesBefore letting AI act: four risk questions and a governance checklistAs AI moves from advice to action, the risks change. Four questions, identity-graded permissions and a practical governance checklist.2 min read
Where should your idea start?
Bring an idea or a question to a free 15-minute call. Confirm the conversation language and time when booking.