How AI uses tools

Compare the return window on the site and in the PDF.

Educational simulation
LLMRequests an actionHarnessChecks access and runs the toolBrowser / ComputerReturn what they observed
Tool call Tool result Read access allowed

The model asks the browser to find the return policy. The harness permits reading.

What did the model receive?
Browser · shop.example/returns
The browser tool opens the page and returns the relevant text.
Computer · returns.pdf · Page 4
The computer tool opens the PDF. An updated screenshot shows page 4.

This demo uses sample data. It does not open a real site or read your files.

Model, tools and application
Model

Transforms data

A language model scores possible continuations. Models for other formats can encode audio or generate images.

Harness

Manages tools

It extracts text from files, calls search, gives results to the model and checks which actions are allowed.

Application

Provides the workspace

ChatGPT assembles conversation context. Codex can also work with project files, run commands and run checks.

Sources and simulation limits
How AI works | AI BriefWire