Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Agents

code interpreter

in English: code interpreter / code execution tool

advancedwidespread

A tool that allows AI not only to write code but also to run it in an isolated, secure environment and continue working based on the real output.

In plain terms

A language model by default only generates text. If it must multiply several large numbers or sum a table with thousands of rows, it works "from memory" and easily makes mistakes. A code interpreter is like giving a calculator and spreadsheet to a colleague who speaks well but is uncertain when calculating in their head: it does not guess, it calculates.

In practice, this is a small, isolated computer in the cloud that the AI can use. It writes a short program (mostly in Python), runs it, checks the result, and summarizes it for you. This enables it to analyze Excel spreadsheets, draw charts, convert files, or perform precise calculations.

It differs from a simple chatbot because a real operation is performed behind the response, not just text that sounds plausible. One of the most important tools for agents: this turns "talking" AI into "working" AI.

How it works

  1. You formulate the task, and if needed, upload a file (such as a spreadsheet or PDF).
  2. The model decides whether code execution is needed for the task and writes the required program.
  3. The code runs in a sandbox: this is an isolated, temporary environment that cannot access your own machine and has no or only limited access to the internet.
  4. The result of the run (numbers, error messages, completed file, or chart) is returned to the model. If an error occurred, it corrects the code and tries again.
  5. At the end, you receive a comprehensible answer, often with a downloadable file or graphic, and you can usually view the executed code as well.

An everyday example

You upload a one-year Excel sheet of family expenses to an AI assistant and ask where most of the money went. The assistant does not estimate: it writes a program, sums up the items by category, and draws a pie chart for it. It does all this without you seeing a single line of code if you do not want to.

Who is affected

employeeYou can analyze tables, generate reports, or convert files without programming knowledge. → Work & HR
developerWith this tool, you can give your agent calculation, data processing, and self-checking capabilities without building your own runtime environment. → Code
entrepreneur, executiveYou can get fast, verifiable analysis of your business data, but you must know that the uploaded file goes to the provider's server.
parent, student, teacherIn mathematical and statistical tasks, the executed code shows the calculation process, making the solution traceable and verifiable. → Education & Family

A common misconception

MythIf the AI ran code, the result is definitely correct.
In realityThe machine executes exactly what is in the code, but the code can contain errors, and the model can misinterpret the question or the data. In such cases, it flawlessly calculates the wrong thing. It is worth reviewing the executed code and the initial assumptions.

Limits and risks

Similar, but not the same

Related concepts

Broader

tool use, AI-agent, function calling

Narrower

data analyst assistant, programmed tool invocation

On the edge

sandbox, coding agent, computer use, MCP, prompt injection

A brief history

The concept was widely popularized by OpenAI. It was announced in spring 2023 under the name Code Interpreter and made available to ChatGPT subscribers later that same year. In August 2023, it was renamed Advanced Data Analysis, and later the separate name disappeared as the capability was integrated into ChatGPT's core functions. Since then, major model providers, including Google and Anthropic, have offered their own code execution tools, typically under the name "code execution".

Where things stand

By the end of 2026, it is standard equipment in leading AI assistants and developer platforms: most users do not even notice when the assistant runs code in the background. Development is heading toward more durable runtime environments that coordinate multiple tools.

Status: 2026 November

In the news

Appears in 1 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

code interpreter · code interpreter · code execution tool · code execution · code interpreter · code execution tool · Advanced Data Analysis · sandboxed code execution

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.