How to use this guide
From a first prompt to agents in production.
The guide has 10 parts and 66 sections. Each part answers one question and builds on the one before it. Every section opens with a short version for leaders, then explains the idea in technical terms and in everyday language.
- 2 minutesRead the short version at the top of any section.
- 5 minutesRead on to the idea and the everyday explanation.
- 10 minutesRead the example, the common mistakes and what to do this week.
Start here
Choose the path that fits you.
I lead a business or a function
Eight short reads on what AI can and cannot do, and what to ask your teams.
I am building my first AI system
The shortest route from a prompt to a tested system that uses your data.
I am deploying AI agents
How agents work, how to control them and where they fail.
I run AI in production
Quality, cost, safety and the operating routines that keep systems healthy.
Find by problem
Start from what is going wrong.
Our assistant gives wrong answers
4.2 Why AI Assistants Give Wrong Answers, and How to Fix It4.3 Preparing Documents for AI4.8 Measuring Retrieval
We do not know if it works
8.1 What an AI Evaluation Is8.2 Golden Sets and AI Judges8.3 Evaluation-Driven Development
It costs too much or is too slow
8.9 How to Keep AI Costs Under Control4.7 Caching AI Answers1.5 How to Choose an AI Model
We are not sure we need an agent
5.4 Code or Model?6.1 When to Use an AI Agent, and When Not To5.1 AI Workflow Patterns
We worry about safety and security
8.5 How to Build Safety into AI Systems8.6 Security for AI Agents3.5 Memory Risks
Someone wants to fine-tune a model
7.1 How to Customize an AI Model: Four Steps Before Fine-Tuning7.2 Retrieval or Fine-Tuning?
Our pilots do not reach production
9.1 The AI Engineering Playbook9.7 AI Governance8.8 How to Release and Run AI Systems
Every team builds its own tools
9.4 The AI Platform9.5 AI Teams and Skills9.6 An AI Operating Model for Manufacturing
All parts
The full guide, in reading order.
- 1Foundations
- 2Prompting
- 3Context and memory
- 4Retrieval and knowledge
- 5Workflows and tools
- 6Agents and agent loops
- 7Customizing models
- 8Quality, safety and operations
- 9The enterprise view
- 10What is new
Part 1
Foundations
How do these models work, and when should I not use them?
- 1.1From Fixed Rules to ProbabilitiesOld Software Follows Rules. AI Makes a Best Guess.
- 1.2How a Language Model WorksIt Predicts the Next Word, Billions of Times
- 1.3The Context Window and Its LimitsThe Model Only Knows What Is on Its Desk
- 1.4The Types of AI ModelsChat, Reasoning, Small and Multimodal Models, and How They Differ
- 1.5How to Choose an AI ModelTest on Your Own Task, Not on the Leaderboard
- 1.6When Not to Use Generative AIMany Problems Are Better Solved with Rules, Search or Classic Machine Learning
Part 2
Prompting
How do I ask a model for what I want, reliably?
- 2.1What a Prompt IsA Good Prompt Is a Good Briefing
- 2.2Teaching AI by ExampleShow the Model What Good Looks Like
- 2.3Prompts That ReasonAsk the Model to Think in Steps, and Know What It Costs
- 2.4Getting Structured Output from AIMake the Answer Something a Program Can Read
- 2.5Prompts That Write PromptsLet the Model Draft and Improve Its Own Instructions
- 2.6Prompting Reasoning ModelsGive the Goal and the Facts, Then Step Back
- 2.7How to Manage AI Prompts Like SoftwareSave every version of a prompt, test every change and review it, as you would with code.
Part 3
Context and memory
What should the model see, and what should it remember?
- 3.1Context EngineeringDesign What the Model Sees
- 3.2Keeping Context Small and SharpSummarize, Trim and Load Details Only When Needed
- 3.3Kinds of AI MemoryShort-Term, Long-Term, and Three Things Worth Remembering
- 3.4Memory DesignsLoad Everything, Fetch on Demand, or Build a Graph
- 3.5Memory RisksStale Facts, Leaked Data and Bloat
Part 4
Retrieval and knowledge
How does the model use my company's information?
- 4.1Embeddings and Vector StoresHow AI Searches by Meaning
- 4.2Why AI Assistants Give Wrong Answers, and How to Fix ItThe retrieval pipeline from documents to answers, and why the index needs an owner.
- 4.3Preparing Documents for AIParsing, Chunking, Labels and Freshness+2 more
- 4.4Better RetrievalFive Techniques That Find the Right Passage More Often
- 4.5How to Teach AI the Language of Your BusinessKnowledge graphs, the semantic layer and an ontology as the base for reliable answers.
- 4.6Can Your AI Find the Right Document?Retrieval for drawings, tables and revisions, and how to test that the right one is found.
- 4.7Caching AI AnswersDo Not Pay Twice for the Same Question
- 4.8Measuring RetrievalKnow Whether the Right Passage Was Found
Part 5
Workflows and tools
How do I chain steps and let the model use systems?
- 5.1AI Workflow PatternsFour Ways to Chain Model Calls
- 5.2Tools and Function CallingHow a Model Uses Your Systems+1 more
- 5.3The Model Context ProtocolOne Standard Plug for Connecting AI to Systems
- 5.4Code or Model?Use a Model Only Where Judgment Is Needed
- 5.5Measuring AI WorkflowsTrack the Process and the Quality
Part 6
Agents and agent loops
When should the system choose its own steps, and how do I control it?
- 6.1When to Use an AI Agent, and When Not ToStart with a workflow. Give the system more freedom only when the evidence supports it.+3 more
- 6.2The Agent LoopLook, Decide, Act, Check, Repeat
- 6.3How AI Agents PlanBreak the Goal Down, Then Check the Work
- 6.4The Agent HarnessThe Software Around the Model Decides What an Agent Can Do
- 6.5Multi-Agent PatternsWhen to Use More Than One Agent, and How to Arrange Them
- 6.6Agents Talking to AgentsA Shared Language for Agents from Different Vendors
- 6.7Why Multi-Agent AI Systems Fail, and How to Prevent ItMost failures happen at the hand-offs between agents, tools, data and people.
- 6.8Spec-Driven Development: Write Down What You Want Before AI Builds ItWhy casual coding with AI fails in production, and how specs, plans and tasks fix it.+2 more
- 6.9Background AgentsAgents That Work When Nobody Is Typing
- 6.10Choosing an Agent FrameworkDecide How Much Control You Need Before You Pick a Tool
Part 7
Customizing models
When is retrieval not enough, and what do I do then?
- 7.1How to Customize an AI Model: Four Steps Before Fine-TuningInstructions, retrieval and tools come first. Fine-tuning is the last step, not the first.
- 7.2Retrieval or Fine-Tuning?Knowledge Goes in Retrieval. Behavior Goes in Training.
- 7.3Kinds of Fine-TuningFull Training, Instruction Tuning and the Lightweight Method Most Teams Use
- 7.4Training Data for Fine-TuningThe Examples Decide the Result
- 7.5Small Models and ForgettingShrink the Model, and Keep What It Knew
Part 8
Quality, safety and operations
How do I know it works, keep it safe and run it?
- 8.1What an AI Evaluation IsThe Test That Tells You If the System Works+1 more
- 8.2Golden Sets and AI JudgesA Trusted Answer Key, and a Fast Way to Grade Against It
- 8.3Evaluation-Driven DevelopmentLook at Failures First, Then Build
- 8.4How to Monitor AI Systems in ProductionTraces, sessions and dashboards that show what an AI system did and why.
- 8.5How to Build Safety into AI SystemsChecks on input, output and actions, with human approval where the risk is high.+1 more
- 8.6Security for AI AgentsAssume the Agent Can Be Tricked, and Limit the Damage+1 more
- 8.7The AI Bill of MaterialsKnow What Is Inside Every AI System You Run
- 8.8How to Release and Run AI SystemsVersion everything, release in steps and keep a way to roll back.
- 8.9How to Keep AI Costs Under ControlCost per task, routing and caching, and who owns the bill.
Part 9
The enterprise view
How do I organize teams, platforms and governance around this?
- 9.1The AI Engineering PlaybookOne Life Cycle from Problem to Production, and Five Levels of Maturity
- 9.2DataOps, MLOps, ModelOps and AgentOpsWhat Each One Covers
- 9.3Combining AI TechniquesThe Best Systems Mix Rules, Machine Learning, Generative AI and Graphs
- 9.4The AI PlatformThe Shared Layers Every AI Team Should Not Have to Rebuild+2 more
- 9.5AI Teams and SkillsWho You Need and How to Organize Them+3 more
- 9.6An AI Operating Model for ManufacturingWhat to Centralize, What to Leave with the Business+1 more
- 9.7AI GovernanceClear Rules, Light Process, Real Checks+2 more
Part 10 · What is new
Models, standards and techniques change. This part keeps up.
Four running sections, each updated with short dated notes.
Latest short reads filed under the guide
Production readiness
Fifteen questions before anything goes live.
If a team can answer all fifteen with evidence, the system is ready for real users. If it cannot, the gaps are the plan.
Quality
- A golden evaluation set built from real inputs
- Retrieval measured separately from answers
- Production failures turned into test cases
Safety
- Acts with the user’s permissions and no more
- Action limits enforced in the tools
- Red-teamed, with every successful attack kept as a test
Operations
- Every step traced and replayable
- One-step rollback of prompt, model or tool
- Model upgrades staged like releases
Economics
- Cost per resolved task known
- Spend limits per use case
- Each step on the cheapest component that clears its bar
Ownership
- A named business owner and a measured baseline
- An owner for knowledge freshness
- A switch back to human-only mode
The newsletter
Pilot to P&L.
One operator’s read on enterprise AI value, every other week. The argument developed further than a post allows, and one thing I got wrong.
