# Agents can use code instead of long tool menus

Markdown copy of https://realalpha.app/s/agents-can-use-code-instead-of-long-tool-menus/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Eiso Kant](https://realalpha.app/builders/eiso-kant/) · Eiso Kant is cofounder of Poolside. · Co-founded Poolside, a foundation model company focused on open-weight models, after leading source{d} and Athenian.
- Host: [Shawn Wang (swyx)](https://realalpha.app/people/swyx/) · Co-founder, AI Engineer · Wrote “The Rise of the AI Engineer” and founded Smol AI, maker of AI News.
- Show: Latent Space
- Episode: [The AI Frontier: from open weights to open research — Eiso Kant, Poolside AI](https://realalpha.app/v/9_0hs2sxHHo/), Jul 22, 2026
- Moment: 1:09:27 to 1:12:14 of the episode (3 min), playing on https://realalpha.app/s/agents-can-use-code-instead-of-long-tool-menus/; the episode from there: https://realalpha.app/v/9_0hs2sxHHo/?t=4167

## Quote

> “I think we will, in 12 months, **not see a single system prompt** that is stuffed with 20 or 30 or 40 tools anymore.”
> — [Eiso Kant](https://realalpha.app/builders/eiso-kant/) at [1:11:53](https://realalpha.app/v/9_0hs2sxHHo/?t=4313) · Latent Space

## Takeaways

1. Agents can script conditional workflows with loops and if statements.
2. A container can expose the codebase, APIs and data sources directly.
3. Kant predicts tool-heavy system prompts will fade within 12 months.

## About this segment

Eiso Kant argues agents should use code in a container rather than a long menu of tool calls. He predicts system prompts stuffed with dozens of tools will fade as models script workflows.

From “The AI Frontier: from open weights to open research — Eiso Kant, Poolside AI”, Jul 22, 2026. [Watch the full episode](https://realalpha.app/v/9_0hs2sxHHo/)

## Transcript

From the transcript Latent Space publishes with the episode.

[1:09:34](https://realalpha.app/v/9_0hs2sxHHo/?t=4174) Uh, I've been saying this now for two years. Uh, I think MCP and tools are stupid. [chuckles] Ooh. Let's go. Now- You support MCP. I support MCP and we support tools and everything. They make absolutely no sense to me. [chuckles] Uh, and like, and, and I'll explain a little bit why and, and I think I can probably get people to come along on this one. If you are looking for complex tasks, increasingly longer horizon, increasingly complex tasks, doesn't matter if it's coding or something else, uh, you are gonna be interacting with data sources, right?

[1:10:09](https://realalpha.app/v/9_0hs2sxHHo/?t=4209) And you're gonna be interacting with things that are installed on some form of a virtual machine. Uh, and what we are doing is that we're putting a layer in between those things. We're putting like MCP in between, we're putting tool calls in between, and this is even more about tool calls than MCP, where the model can just write the code and interact with the system. And we're starting to see that.

[1:10:32](https://realalpha.app/v/9_0hs2sxHHo/?t=4232) Like Laguna S does this a lot. You'll see this as well in like frontier models. They're increasingly no longer, "Here we're gonna stuff 50 tools in the like system prompt," to "No, here's a virtual machine with these binaries installed, this code base you can operate in. Here, a folder where you can write, you know, your memory if you want to." And the model is using code to do complex asks. And when it uses code, it is not one or two tool calls or three things that are chained together.

[1:10:58](https://realalpha.app/v/9_0hs2sxHHo/?t=4258) It actually starts, you know, using if statements and for loops and, and making things conditional. And so I actually think we're moving from, we already are moving from tool calls, you know, to effectively models writing code, little scripts. And you see this a lot when you get the Python, you know- Code interpreter. Exactly. Like in just the arrow, arrow in, you know, written code in the file. I don't know what you call the- EOF? Yeah. Yeah, exactly.

[1:11:23](https://realalpha.app/v/9_0hs2sxHHo/?t=4283) Like, uh, you already see this happening more in models because when you start training them in RL, the models wanna be free. They wanna be able to do the thing they wanna do in the most efficient possible way, and it is not calling one of the 50 tools in their like system prompt. And so I'm a very big fan of give the model a minimal harness, as minimal as possible. Give it a container in which it has its own code base, right?

[1:11:46](https://realalpha.app/v/9_0hs2sxHHo/?t=4306) Like a, a model's code base that has access to the API keys and data sources and, and little libraries and, and documentation that it needs, and just let it run free at the task. Um, and I think that is the way we're going. I think we will, in 12 months, not see a single system prompt that is stuffed with 20 or 30 or 40 tools anymore. No comment. Uh, no, no, no pushback there.
