Computer Science · Interactive demo

Why do AI agents need tools?

Switch an AI assistant's tools on and watch it turn a guess about today's weather into a lookup.

Created by ExplainerTools.

About this explainer

Made by
ExplainerTools
Format
Interactive demo
Subject
Computer Science
Where it runs
Plays here
Full tool
Open the tool page
Published
Added to collection
  • AI agents
  • tool use
  • language models
  • ReAct

How the model works

1 See

Ask an AI if you need an umbrella today and it might say “probably not” while it pours outside. Why can’t it just look?

2 Change
  • Loop stepquestion asked → answered

Presets Weather · no toolsWeather · tools onBig sum · no toolsBig sum · run codeNext event · 2 loops

Model · illustrative tool calls

Illustrative tool calls and values, with the weather, forecast and confidence meter made up to show the loop rather than a real model run.

Model notes and sources

Model. A language model turns the text in front of it (the conversation, or context) into more text, one token (a word or part of a word) at a time, using patterns it learned from its training data. That data stops at a training cutoff, and the model has no live connection to the world, so on its own it can only answer “do I need an umbrella today?” with a plausible-sounding guess.

Tools. The app tells the model which tools exist: a name, a description and the inputs, like get_weather(city). When a tool would help, the model writes a structured request instead of an answer. The app, not the model, runs the tool and pastes the result into the conversation; the model reads it and either answers or writes another request. Repeating this think → act → check loop until the job is done is what people usually mean by an agent (in research it is often called ReAct, for reasoning plus acting).

Illustrative values. The weather (rain, 12 °C / 54 °F, 90% humidity), the forecast, the calendar events, the search results and the confidence percentages are made up to show the flow; they are not from a real model run or a real forecast. Assistants don’t show a calibrated confidence like this: the meter stands for how much the answer rests on evidence rather than memory. 1,234 × 5,678 = 7,006,652 is exact. The photos (a rainy window, a laptop and a desk calendar) are AI-generated illustrations; the screen text, the calendar grid, the chat and every number are drawn by the model.

Simplified. Real tool calls are usually JSON with named arguments; apps can run several tools at once; tools can fail or return errors; a model can still misread a result or pick the wrong tool; and many assistants now have search or code switched on by default. Without tools, today’s models often get 4-digit multiplication right, but they can’t check it. Tools also carry risks the tool doesn’t show: an agent that can act can also act wrongly, so real apps ask before sending, buying or deleting.

Sources: Large language model; Intelligent agent; S. Yao et al. (2022), ReAct: Synergizing Reasoning and Acting in Language Models; T. Schick et al. (2023), Toolformer: Language Models Can Teach Themselves to Use Tools.

An ExplainerTools Original.

Watch it move

See how the world works.

Explore interactive ideas in space, science, math, and more. Try a demo, read an interactive article, watch a short video, and follow what makes you curious.

Find your next rabbit hole

New Originals

Change one thing and see why.

The three newest models, each with a short film. Watch the question, then play with the answer.

All Originals

Follow your curiosity

A collection of small doors into big ideas.

Format

Subject

Topic

Sort by

Rankings count activity here on ExplainerTools. Newest means added to this collection.

Loading collection…

Opening the collection…

Make something click.

Made an explainer, or found one you love? Give it a place in the collection.

Your next question

What do you wish someone would explain?

Send one question. If it becomes an ExplainerTools Original, you can hear when it is ready.

One weekly email with new explainers. We send a confirmation link first, and you can unsubscribe at any time.

We save your question, your email if you add one, and whether you asked to subscribe. Privacy

Share something worth understanding.

An interactive demo, an interactive article, or an educational video. Every suggestion is reviewed before it joins the collection.

Submit the creator’s original link. We credit creators and link to their work.

A collection for the curious.

ExplainerTools collects interactive explainers, visual essays, and educational videos that help an idea make sense. Browse by subject, follow a topic, or find a creator whose way of explaining speaks to you.

The work belongs to its creators.

Every entry credits its original creator. Supported experiences play here, with a link to the creator’s original work available in the player. Inclusion does not imply a partnership or endorsement.

How rankings work

Views, likes, and bookmarks count activity on ExplainerTools. They don’t include views or likes from a creator’s website or social accounts. Newest means most recently added to this collection. Ties are ordered by date added, then our curated catalog order.

Your collection

New likes and bookmarks require a free account and sync across devices when sign-in is available. Previously saved items from this browser may remain visible here.

Browse the catalog data or read about privacy.