---
id: 9944
lang: en
title: "AI agents now write code: LangChain adds interpreters to Deep Agents"
published_at: "2026-05-23 11:06:00"
source_name: "LangChain Blog"
source_url: "https://www.langchain.com/blog/give-your-agents-an-interpreter"
canonical_url: "https://news.hamidun.com/en/news/9944"
categories: ["autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# AI agents now write code: LangChain adds interpreters to Deep Agents

> **Краткая суть (BLUF):** LangChain has added interpreters to Deep Agents. Agents can now write their own code between tool calls to coordinate work, keep state and use context more efficiently.  The interpreter acts as an intermediate layer between the agent and its tools.

LangChain has added interpreters to Deep Agents: built-in code execution environments where AI agents write their own program code to manage their work.

### Why would AI agents write code through an interpreter?
To save context. The agent processes data locally in code instead of sending everything to the model. The code handles calling tools, processing results and filtering information before it goes into the model's context.

### How did AI agents work before?
Previously, an agent called tools directly and sent the results back to the model. Now an interpreter sits between the agent and the tools, and the agent writes and runs code there.

---
- **Первоисточник:** [LangChain Blog](https://www.langchain.com/blog/give-your-agents-an-interpreter)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/9944
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
