---
title: "Code Execution · agent building block · Agent Fieldbook"
url: https://agentfieldbook.org/design/building_blocks/code-exec/
description: "runs generated code in a sandbox"
section: "Design · Building Blocks · Node"
source: Agent Fieldbook — generated from the published page
---

# Code Execution

runs generated code in a sandbox

## What it does

## At a glance

| Field | Value |
| --- | --- |
| Kind | Functional node |
| Example agents | Devin, ChatGPT |

## Basis

- [e2b.dev](https://e2b.dev)
