🏛️ Issues and Advocacy Training
Courses › How AI Works: The Kinds of AI and What They Are For

Lesson 2 of 9 · about 16 minutes

The Kinds of AI and What Each Is For

You'll be able to

  • Name ten common kinds of AI and match each to an everyday example
  • Tell predictive AI apart from generative AI
  • Pick the kind of AI that fits a task, and spot when a tool is the wrong kind for the job

Picture a hardware store that sells everything with a blade under one sign: SHARP THINGS. Chisels, lawnmowers, scissors and a chainsaw, all in one aisle. That is roughly how the word AI gets used. This lesson sorts the aisle.

The first cut is simple. Predictive AI looks at data and gives back a number or a label. Will this customer cancel? Is this tumor likely cancer? How many kilowatt-hours will the town use at 6 p.m. tomorrow? Generative AI produces something new: a paragraph, a picture, a voice, a song, a video clip, a block of code. Predictive AI has been running quietly in banks, hospitals and warehouses for decades. Generative AI is the loud newcomer.

Most real products combine several kinds. Your phone's voice assistant uses speech recognition to hear you, a language model to figure out what you meant, maybe a search tool to find the answer, and speech synthesis to say it back. Knowing the parts helps you see which part broke.

The field guide

KindWhat it doesLearns fromEveryday examplesTypical failure
Rule-based systemsFollows if-then logic people wroteNothing; humans write the rulesTax prep software, benefit eligibility screeners, phone menus ("press 2 for billing")Breaks on cases nobody wrote a rule for
Classic machine learning (prediction and classification)Predicts a number or sorts into categoriesTables of past examples with known answersSpam filters, credit scores, fraud alerts, insurance pricing, power demand forecastsCopies bias in old data; fails when the world changes
Recommender systemsRanks items for each personClicks, watches, purchases, skipsYouTube and streaming queues, "customers also bought," social media feedsNarrow loops; boosts whatever holds attention, true or not
Computer visionFinds, labels and tracks things in images and videoMillions of labeled imagesPhone photo search ("dog"), license plate readers, face recognition to open your phone, crop disease appsMisidentifies under bad light or unfamiliar faces and scenes
Speech recognition and synthesisTurns speech into text, and text into speechThousands of hours of recorded speech with transcriptsAuto captions, voicemail transcripts, dictation, audiobook narration, voice cloningMangles names, accents and crosstalk; cloned voices used for scams
Large language models (LLMs)Predicts and writes text, answers questions, writes codeHuge amounts of text, then human feedbackChatGPT, Claude, Gemini, writing assistants, customer service botsStates false things confidently (hallucination)
Image and video generatorsMakes pictures, video or music from a text promptHundreds of millions of images or clips with captionsMidjourney-style art tools, Gemini's image models, video tools like Veo; ImageStudio on this siteGarbled text and hands, invented details; deepfakes
Reinforcement learningLearns a strategy by trial, reward and penaltyIts own attempts, scored by a reward signalAlphaGo, warehouse robot routing, data center cooling control, tuning chatbots to be helpfulGames the reward: finds a shortcut that scores well but misses the point
Robotics and autonomous vehiclesSenses the physical world and moves in itSensor data, driving logs, simulationRobot vacuums, warehouse robots, Waymo robotaxis, lane-keeping assistRare situations (odd road work, a person in a costume) and real physical harm
Agents that use toolsPlans steps and takes actions: searches, runs code, clicks, files thingsUsually an LLM plus tools and instructionsCoding assistants that edit and test code, research assistants that browse and cite, booking botsSmall errors compound across steps; acts on bad instructions hidden in web pages

A closer look at a few

Classic machine learning

This is the workhorse, and the least glamorous. A model looks at rows in a table (age of account, size of purchase, distance from home, time of day) and outputs a score. It is cheap to run and can be checked against reality: did the flagged charges turn out to be fraud? That checkability is its great strength. Lesson 3 walks through how one learns, with numbers.

Recommender systems

Every feed you scroll is ranked by one. It predicts what you'll click, watch or buy, using your history and the history of people who behave like you. The model's goal is whatever the company tells it to maximize, usually time spent or purchases. It has no idea whether a video is accurate. That explains a lot about the internet.

Computer vision and speech

These turn messy signals (pixels, sound waves) into labels and text. They got good fast after 2012. Auto captions on a city council livestream are speech recognition. A plate reader on a highway pole is computer vision. Both make errors at rates that sound tiny until you multiply them by millions of reads a day.

Robotics and autonomous vehicles

The US government uses the SAE scale from Level 0 (warnings only) to Level 5 (drives anywhere, any conditions, no driver). Most "self-driving" features sold on new cars are Level 2: the car steers and brakes, but you must watch the road every second. Waymo runs Level 4 service: no driver, but only inside mapped areas. As of October 2026 its FAQ lists 13 metro areas for its own ride-hailing app, including Phoenix, the San Francisco Bay Area, Los Angeles, Dallas and Miami, plus Austin and Atlanta through Uber. No company offers Level 5.

Agents

An agent is the newest kind, and mostly a combination of the others. Take a language model, give it tools (a web browser, a calculator, a code runner, your email) and let it work in a loop: plan, act, look at the result, act again. In November 2024 Anthropic released the Model Context Protocol, an open standard for connecting AI assistants to outside tools and data, and other companies adopted it. Lesson 8 covers agents in more depth.

Example: one task, three kinds of AI

The invented town of Cedar Bend wants to fix potholes faster. Three vendors pitch.

  • Vendor A mounts cameras on garbage trucks. Computer vision flags potholes in the video and logs GPS points. Predictive. You can check it: send a crew to 50 flagged spots and count how many are real.
  • Vendor B sells a chatbot residents can text. It uses a language model to turn "big hole by the feed store on 3rd" into a work order. Generative, plus a form. It will occasionally misread an address.
  • Vendor C offers a model that predicts which streets will crack next spring from age, traffic counts and freeze-thaw days. Classic machine learning. Its value depends entirely on the quality of the town's old repair records.

Same word on all three brochures. Three different machines, three different ways to fail, three different sets of records to ask for.

Common mix-ups

  • Claim: A chatbot can do any of these jobs. What the evidence shows: A language model is a poor fraud detector or vote forecaster compared with a model trained on the right table of data. Use the kind that fits.
  • Claim: "Self-driving" on a car ad means you can stop watching the road. What the evidence shows: Level 2 systems require constant driver attention, per NHTSA's own definitions.
  • Claim: Generative AI replaced predictive AI. What the evidence shows: Predictive models still make most of the automated decisions that affect people's money, insurance and benefits.

Reporting angle

For any government AI purchase, sort it into the table first. Then the questions follow. A predictive model: what was its measured error rate, on whose data, and who reviews a flag before someone is affected? A generative tool: who checks its output before it goes to the public, and is its use disclosed? A vision system such as plate readers: how long is data kept, who can search it, and is there an audit log? Ask for the contract, the vendor's accuracy claims in writing and any internal use policy.

Research angle

Check yourself

1. Your bank texts you when a $900 charge shows up from a country you've never visited. What kind of AI most likely flagged it?

2. Which of these is generative AI rather than predictive AI?

3. A self-driving taxi that operates with no human driver, but only inside a mapped service area, fits which SAE level?

4. What sets an AI agent apart from a plain chatbot?

5. A volunteer wants to know exactly how many open records requests the county got last year. Which tool fits best?

6. Which kind of AI learns mainly by trial and error, getting rewards for good outcomes?

Terms in this lesson

Predictive AI
AI that estimates a number or picks a label from data: will this loan default, is this email spam, how many riders tomorrow.
Generative AI
AI that produces new content such as text, images, audio, video or code.
Recommender system
A model that ranks items for you (songs, videos, products, posts) based on what you and people like you did before.
Computer vision
AI that finds and labels things in images and video: faces, plates, tumors, potholes.
Reinforcement learning
Training by trial and error, where a system gets a reward signal for good outcomes and learns which actions earn it.
Agent
An AI system, usually built on a language model, that can use tools and take several steps on its own toward a goal.

Full glossary

Sources