Mislav Ivanda: Choose an execution boundary before an agent framework

The Daytona engineer compares local approvals, embedded runtimes and sandboxed machines for running agent-generated code.

MIMislav IvandaPonente · Daytona
Canal
AI Engineer
Publicado
9 nov 2026
Vídeo
15:35
Lectura
4 min
Diapositivas
2
Original
inglés
Abrir en YouTube
Al desplazarte, el vídeo se reduce a la esquina inferior derecha y sigue reproduciéndose. Los subtítulos siguen tu idioma de lectura.
Idioma de lecturaDisponible en 2 idiomas
Este artículo aún no está en español, así que se muestra el original en inglés.
RESUMEN

En 30 segundos

Mislav Ivanda observed a common pattern while integrating Daytona into competing agent frameworks: create a sandbox, execute a task, then delete it. He argues that the harder architectural decision is not which framework to use but where generated code and its tool calls execute. He contrasts command approvals and embedded runtimes with separate sandboxed machines, and stresses designing the execution boundary before a prototype becomes production infrastructure.

  1. 1Competing frameworks share a sandbox lifecycleAlthough integration APIs vary, Ivanda sees the same three operations: create, execute and delete.
  2. 2An approved interpreter can still access broad capabilitiesApproving a Python command does not by itself restrict its network or filesystem access.
  3. 3Tool calls can cross an embedded runtime boundaryEven if generated code is isolated, database or email tools may execute elsewhere with their own permissions.
  4. 4A sandboxed machine creates a stronger separationIvanda recommends a separate execution environment; the actual protection depends on its configuration and access grants.
  5. 5Retrofitting the execution boundary changes architectureTools written for unrestricted local access can be difficult to move into a sandbox after a prototype reaches production.

Conclusiones

  1. Different agent frameworks often integrate sandbox providers through the same create, execute and delete lifecycle.
  2. Allowing a general-purpose interpreter can grant capabilities well beyond the apparent command name.
  3. An embedded runtime can isolate generated code while tool calls still execute outside that boundary.
  4. A separate sandbox needs carefully scoped networking, credentials and tool permissions to provide meaningful isolation.
  5. The execution boundary shapes architecture and can be harder to change later than a model or framework.
TEXTO COMPLETO

Lee el texto editado por capítulos

Solo la transcripción
01

The common pattern across frameworks

Ivanda describes integrating Daytona with different agent frameworks. Their sandbox APIs vary, but their lifecycle has recurring operations.

Mislav Ivanda introduces his work integrating Daytona sandboxes into agent frameworks, coding-agent harnesses and developer tools. Across these integrations he noticed a repeated pattern, despite substantial differences between the frameworks.

He shows a code sample and asks the audience to guess the framework. Several answers are plausible, he says, because the sandbox-related contributions look very similar even when one framework uses a tool, another a plugin and another a client class.

Different integrations, the same lifecycle
DIAPOSITIVA 1 / 2Different integrations, the same lifecycleThe examples show sandbox creation, code execution and deletion across frameworks.

Under those different interfaces, the same operations recur: create a sandbox, run code or a task within it, and delete it. Ivanda finds that agreement striking because competing frameworks disagree on many other fundamentals.

He contrasts frameworks that describe agents as graphs, collections of role-playing agents, model loops or more complete products. They differ in languages and in whether developers explicitly specify workflows or agents decide their own steps.

02

Three places to run generated code

He compares local command approvals, embedded runtimes and a separate sandboxed machine. The discussion focuses on where permissions and tool calls cross boundaries.

Ivanda argues that useful agent workflows eventually need some form of code execution or shell access. The next architectural question is where that code should run and what capabilities it should have.

The first approach is local execution with command allowlists, approval prompts and hooks. Those checks can constrain interactions, but approving a general-purpose interpreter can still let the invoked code access files, open network connections or execute additional code.

The distinction, he says, is between specifying which command the model should use and controlling what the resulting process can actually do. If the process has broad host permissions, a compromised step can exploit those permissions.

The second approach runs generated code in an embedded runtime such as V8 or QuickJS. That can provide filesystem and network isolation for the code running inside the runtime.

Ivanda warns that isolation of generated code is not automatically isolation of every tool it calls. An email or database tool may execute outside the embedded runtime, with its own permissions; a harmful action can therefore cross the boundary through an exposed tool.

His recommended alternative is a separate sandboxed computer or virtual machine managed through an API. The execution environment can be created, used and discarded without deliberately sharing all the application’s host resources.

Ivanda presents this as a way to contain a compromised execution step instead of exposing the entire application. In practice that protection depends on the sandbox’s configuration, network access, credentials and the capabilities of any connected tools.

03

How frameworks and sandbox usage evolved

Ivanda gives examples of frameworks moving toward isolation and describes sandboxes as execution environments for complete agents and parallel workloads.

He gives examples of agent frameworks changing their code execution support, including CrewAI, AG2 and OpenAI’s Agents SDK. His point is that isolation has moved from an optional add-on toward a central execution choice.

Ivanda describes an evolution in sandbox use. Early agents often created a short-lived environment for one task and deleted it; more capable agents can instead run their broader workflow inside an isolated environment.

Running many environments concurrently can also support reinforcement learning, fine-tuning, benchmarks and parallel subagents. These workloads use the same basic ability to provision isolated execution at scale.

04

Choose the hard-to-change boundary first

Models, prompts and some features can be replaced, he argues. Moving execution out of the host can require a deeper architectural change.

This history makes him reconsider the usual question, “Which agent framework should I pick?” He argues that many factors developers compare can be changed later, while the execution boundary is often more fundamental.

Frameworks written in the same language can be migrated through refactoring, he says, and models and prompts can also be changed with tuning and regression tests. Missing features can sometimes be implemented or supplied by external tools.

Ivanda singles out durable execution as a more difficult feature to reproduce quickly because it affects architecture. He regards evaluation, tracing and memory integrations as examples teams can often add separately.

Sandbox providers can also share a basic create-run-delete interface, though they differ in capabilities and performance. He contrasts that with the harder decision of executing locally versus in an external environment.

Swappable choices and execution commitments
DIAPOSITIVA 2 / 2Swappable choices and execution commitmentsThe slide contrasts models and frameworks with the harder-to-change execution boundary.

A local-first prototype may build tools around the host filesystem and application process. If those assumptions persist into production, moving execution behind a separate boundary can require changes across the system.

Ivanda closes with his central advice: choose an execution boundary before choosing a framework. Frameworks express changeable design preferences; execution boundaries become commitments embedded in the architecture.

Más de este canal

7 diapositivas19:41EN
AI Engineer· 9 nov 2026A high-reliability automation starts by routing the hard cases awayMatthew Jewkes · Standard CyberneticsMatthew Jewkes describes separating critical errors, ambiguous decisions and unusual exceptions in a biopharma indexing workflow.Ingeniería de agentesWorkflow automationEvaluaciones+1
7 diapositivas22:01EN
AI Engineer· 9 nov 2026Zach Lloyd: make the software factory measurable and editableZach Lloyd · WarpWarp’s CEO proposes recording agent runs, scoring failures and testing changes to the workflow on real tasks.Fábricas de softwareAgentes de programaciónEvaluaciones+2
12 diapositivas27:35EN
AI Engineer· 9 nov 2026Uber traded an always-green trunk for faster AI-scale mergesPreetam Dwivedi, Manjari Akella · UberIts merge queue now relaxes some conflicts and validates the combined state after landing, with a verified-good fallback.Flujos de desarrollo y pruebasAgentes de programaciónInfraestructura y despliegue+2
3 diapositivas15:25EN
AI Engineer· 9 nov 2026Hassan and Omar El Mghari: When an AI financial forecast is right for the wrong reasonsHassan El Mghari, Omar El Mghari · Together AIA Costco membership-fee model passed basic checks and landed close to reported results, but an audit uncovered offsetting assumptions.IA en finanzasEvaluacionesIngeniería de agentes
3 diapositivas14:38EN
AI Engineer· 9 nov 2026Jemima Abu: Give coding agents accessibility rules from the startJemima Abu · CAISA product engineer shows how semantic HTML, reusable components and explicit agent skills can help teams build more usable interfaces.Agentes de programaciónProducto y UXAgent skills
4 diapositivas21:12EN
AI Engineer· 9 nov 2026Tom Moor: Give coding agents the product context that code cannot showTom Moor · LinearLinear’s workflow carries customer requests, past decisions, review history and human feedback from intake through implementation and review.Agentes de programaciónProducto y UXIngeniería de agentes