The short version
- Each technique has a strength. Rules are exact. Machine learning predicts. Generative AI handles language. Graphs hold relationships.
- Real processes need several of these working together.
- Design the combination on purpose. Decide which technique owns which step and how they hand over.
The idea
This approach is sometimes called composite AI. Five patterns appear again and again.
Predict, then explain. A machine learning model produces the number, such as a forecast or a risk score. A language model explains it in plain words and answers questions about it.
Generate, then verify. A language model drafts, and rules check. A drafted quote is validated against price floors and approval limits before anyone sees it.
Retrieve with a graph, then generate. A knowledge graph supplies the exact relationships, such as which part fits which machine. The language model writes the answer.
Optimize, then communicate. An optimization engine computes the schedule or the route. A language model turns it into instructions and handles the “what if” questions.
Classify, then route. A small, cheap model sorts incoming items. Each class goes to the technique that fits it.
A hospital does not rely on one kind of expert. A lab produces the measurements, a specialist interprets them, a protocol sets the limits, and a nurse explains the plan to the patient. Each does what it is best at, and the hand-offs are defined.
- Rules: exact limits
- Machine learning: predictions
- Graphs: relationships
- Generative AI: language and judgment
- Combined in one workflow
The design question for every step is “which technique gives the most reliable answer here?” Language models are the most flexible and the least exact. Use them for what only they can do.
An example
A pricing assistant for sales combines four techniques. A machine learning model estimates the probability of winning at different price points. Business rules set the minimum margin and the approval thresholds. A knowledge graph links the customer to its parent company, contracts and past deals. A language model reads the request, assembles the picture and drafts a recommendation with reasons. The seller sees one answer. Four techniques produced it, and each can be tested separately.
Common mistakes
- Replacing a working predictive model with a language model.
- Letting the language model do the arithmetic.
- No clear owner for each step, so errors cannot be traced.
- Building the pieces in separate teams with no shared design.
What to do this week
- Take one AI system and list which technique handles each step.
- Look for steps where a language model does exact work that a rule should do.
- Look for existing predictive models that would be more useful with a plain-language layer.
The terms, in plain language
| Term | What it means |
|---|---|
| Composite AI | Combining several AI techniques in one system |
| Optimization engine | Software that computes the best plan under constraints |
| Knowledge graph | Data stored as things and the relationships between them |
| Generate, then verify | A model drafts and rules check the draft |
Further reading
- Chip Huyen, AI Engineering (O’Reilly, 2025)
Section 9.3 of the AI Engineering Guide · Last reviewed November 2026




