Skip to main content
AI Development Toolkit

Artificial Intelligence: A Practical Starting Point

Place machine learning, deep learning, and agents inside one field, learn why every deployed system is narrow, and route yourself to the right tool for the problem in front of you.

Beginner14 minBy ToolDix Editorial

Learning objectives

  • Place machine learning, deep learning, and agents inside the wider field of AI
  • Tell narrow capability apart from general-purpose marketing claims
  • Predict where a system will fail from how it was built
  • Route a problem to the right category of tool before comparing products

ToolDix original visual

AI Development practice loop
1

Frame

Name the outcome and constraints.

2

Build

Try one bounded workflow.

3

Review

Keep evidence, revise, and share.

The word "AI" now covers a spam filter, a chess engine, a fraud model, a chatbot, and a robot arm. That breadth is why product conversations go in circles: two people say AI and mean systems with almost nothing in common. Getting the vocabulary straight takes fifteen minutes and it prevents a large share of the confusion that follows.

Nested, not parallel

ToolDix original diagram
Nested fields, plus one architecture that is not a layer
Artificial intelligence
Search, planning, rules, constraint solving -- learning optional
Machine learning
Behaviour derived from data instead of written by hand
Deep learning
Multi-layer networks -- what made images, audio and text tractable
Foundation models / LLMs
Broadly trained, adapted to many tasks -- where most products sit
Agents sit across the stack, not below it
An agent is a wiring pattern -- model plus tools plus a loop. The same model is a chatbot in one architecture and an agent in another, so “we built an agent” describes plumbing rather than capability.
Each ring is a subset of the one above it. Ask whether a rule could do the job before entering the second ring at all.

Artificial intelligence is the outer field: building systems that perform tasks we associate with intelligence — recognising patterns, predicting, planning, conversing. It includes approaches that involve no learning at all. A search algorithm, a constraint solver, and a rules engine are all AI, and several of them are still the correct answer to real problems.

Machine learning is the subset where behaviour is derived from data rather than written by hand. You supply examples; the system fits a function.

Deep learning is the subset of machine learning built on multi-layer neural networks, which is what made unstructured data — images, audio, text — tractable.

Foundation models and LLMs are large deep-learning models trained on broad data and adapted to many tasks. This is the layer most current products sit on.

Agents are not another layer down. An agent is an architecture: a model wired into a loop where it can call tools, observe results, and act. The same model is a chatbot in one wiring and an agent in another. Confusing a capability with an architecture is behind a lot of overpromising, because "we built an agent" says something about your plumbing rather than about what the system can do.

The practical consequence of the nesting: a problem that does not need learning should not use it. A deterministic rule is cheaper, faster, testable, and explainable, and the discipline of asking "could a rule do this?" first eliminates a surprising number of projects.

Everything deployed is narrow

ToolDix original diagram
Confidence stays flat while reliability falls off
Inside the distribution
  • Inputs resemble the training data
  • Accuracy matches your evaluation numbers
  • Confident tone is roughly earned
  • Failures are the ones you measured
At the edge
  • Unusual phrasing, rare categories, new formats
  • Accuracy drops before anything looks wrong
  • Confident tone unchanged
  • Where most production surprises originate
Outside it
  • Inputs the system was never built for
  • Answers are fluent and unrelated to truth
  • Confident tone still unchanged
  • No internal signal that anything is wrong
The tone is constant across all three columns. That is why evaluation on realistic data, human review where errors are expensive, and post-launch monitoring appear in every serious deployment.

Every system running in production today is narrow: competent inside the distribution it was built for, and degrading unpredictably outside it. The important word is unpredictably. A human who does not know something usually signals it. A model outside its distribution produces an answer with the same confidence as one inside it, and that mismatch — between confidence and reliability — is the single property that most often surprises people.

This is why the same three practices show up in every serious deployment regardless of domain: evaluate on data resembling reality rather than the training set, keep a human in the loop wherever an error is expensive, and monitor after launch because the world moves even when your model does not.

It also gives you a useful way to read claims. "Understands," "reasons," and "knows" are descriptions of behaviour, not mechanism. When a vendor uses them, the question worth asking is: what does it do when it does not know? A good answer names specific failure modes. A vague answer usually means nobody measured.

Route the problem before comparing tools

ToolDix original diagram
Route by problem shape before comparing products
Tabular data, clear target
Classical ML -- scikit-learn. Most business problems, most often over-engineered
Images or video
Deep learning for recognition, OpenCV for capture, preprocessing and output
Text understanding at volume
Small tuned model or general LLM -- decide on cost, latency and how narrow the task is
Open-ended generation
Foundation model, hosted or local via Ollama
Multi-step work with tools
Agent architecture and a framework to structure the loop
Rule you could write down
Write the rule. Cheaper, testable, explainable, and it will not drift
Write two sentences first: what decision must the system produce, and what does a wrong answer cost.

Most projects stall because a framework was chosen before the task was defined. Write two sentences first: what decision or action must this system produce, and what does a wrong answer cost? Those two determine nearly everything else — the accuracy bar, whether a human reviews, and how much you can spend per call.

Then route:

Structured, tabular data with a clear target — churn, pricing, risk, forecasting. This is classical machine learning, and scikit-learn is where it lives. It remains the largest category of real business problems and the one most often over-engineered.

Images and video — a deep learning framework for the recognition, with OpenCV handling capture, preprocessing, and the drawing of results.

Text understanding at scale — the choice is between a small task-specific model and a general language model, which comes down to cost, latency, and how narrow the task is.

Language generation and open-ended tasks — a foundation model, hosted or local. Ollama covers the local case.

Multi-step work with tools — an agent architecture, and the frameworks that structure it.

The rest of this track walks through those tools one at a time: what each is genuinely for, when it is the wrong choice, and the failure modes that show up once real work runs through it.

Common mistakes

Choosing a framework before defining the task. The most reliable way to stall a project, and it is entirely preventable with two written sentences.

Using learning where a rule would do. Rules are cheaper, testable, and explainable. Learning is for the cases where the rule cannot be written.

Reading confidence as reliability. They are unrelated, and the gap between them is where production incidents come from.

Treating "agent" as a capability level. It describes how the system is wired, not how good it is.

Sources and license context

These references informed the lesson. ToolDix adds its own explanation, workflow, and practice rather than reproducing source material. Every link below leaves ToolDix and opens the publisher's own site in a new tab.

Keep going

Read these next on ToolDix.

Original lessons that build on what you just read.