Skip to content
mentoor

Topic 4 of 5 · 4 min read

Real agents dissected into their parts

Goal: Break a real agent product into its model, tools, loop and environment from its documentation or a transcript.

Any real agent product can be taken apart with the same four questions: which model, which tools, what loop, and what environment. Once you can do that, product names stop mattering and the differences that do matter become visible.

Check yourself · 1 of 3

Which four parts can describe nearly any agent product?

Choose one answer

Why it matters

New agents appear every month under new names. If you can read a docs page and fill in four boxes, you can judge what an agent can do, where it can fail and what to restrict, without waiting for a review.

How to dissect one

  1. Model. Which model runs the decisions, and can you choose it? Some products let you pick Claude, GPT or an open-weight model; some fix it.
  2. Tools. What can it call? Read and edit files, run commands, search the web, click in a browser, call APIs through connectors such as MCP servers.
  3. Loop. How does it decide to continue or stop? Does it plan first, run tests and retry, ask you at gates, stop at a step limit?
  4. Environment. Where do the tools act: your local machine, a cloud sandbox, your logged-in browser, a company system?

Four families

  • Coding agents (Claude Code, Codex, Cursor's agent mode, Copilot's agent mode). Model: a frontier coding model. Tools: file read and edit, shell, search, test runner. Loop: edit, run tests, read errors, repeat. Environment: your repo, either on your machine or in a cloud copy.
  • Research agents (deep research modes in ChatGPT, Gemini and Claude). Tools: web search and page fetch. Loop: search, read, refine the question, search again, then write a report. Environment: the public web and any files you attach. Output is a document, so the main risk is bad sources, not damage.
  • Browser agents (ChatGPT agent, Claude in Chrome). Tools: click, type, scroll, read the page. Loop: look at the page, act, look again. Environment: a real browser, possibly with your logins. Pages are untrusted input.
  • Support agents. Tools: order lookup, knowledge base, refund and ticket actions. Loop: classify, look up, answer or escalate. Environment: the company's systems, behind narrow tools.

Before and after

A weak description: "Codex is an AI that writes code."

A dissection:

product      model          tools                     loop                   environment
Codex        OpenAI model   edit, shell, tests        edit, run, fix, stop   repo in a sandbox
Claude Code  Claude model   edit, shell, search, MCP  plan, act, verify      your local repo
ChatGPT agent OpenAI model  browser, files, connectors look, act, look        a virtual browser

Check the table against each product's own documentation before relying on it, since products change.

What goes wrong

  • Judging by the brand. Two agents on the same model differ completely if their tools and environments differ.
  • Assuming the demo environment is yours. A cloud sandbox agent cannot see your laptop's files, and a local agent can.
  • Ignoring connectors. Adding an MCP server adds tools, and so adds reach.

Examples

Dissecting from a transcript

A transcript shows: open_page, click, type, open_page, click, then a booking confirmation. Tools: browser actions. Loop: look at page, act, look again. Environment: a browser with the user's session. Model: not visible in the transcript, so you check the docs rather than guess.

Same model, two agents

Both agents use the same underlying model. One can only read files and answer questions. The other can edit files and run a shell. The second is a far larger risk and a far more useful tool, and the difference lives entirely in tools and environment.

Key points

  • Every agent can be described by four things: model, tools, loop and environment.
  • Two products on the same model can behave very differently when their tools and environments differ.
  • Coding, research, browser and support agents differ mostly in tools and environment, not in the basic loop.
  • Connectors such as MCP servers add tools and therefore add reach.
  • Read the product's own documentation for each box, because tools and defaults change between versions.

Common mistakes

  • Describing an agent by its brand instead of its model, tools, loop and environment.
  • Assuming a cloud sandbox agent and a local agent can see the same files.
  • Forgetting that connectors and MCP servers extend what the agent can do.
  • Treating a table from last year as current when the product has added tools.

Check yourself · 2 of 3

Two agents use the same model. One only reads files, the other can edit files and run a shell. What differs most?

Choose one answer

Check yourself · 3 of 3

A browser agent runs in your logged-in browser profile. Which concern follows from its environment?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic