arXiv:2611.22171v1 cs.AI

Readie: AI 에이전트를 위한 저지연 코드 샌드박스

Readie: Low-Latency Code Sandboxes for AI Agents

Arjun Sivaraman, Zhaoheng Li, Alan Shi, Sanjay Malisetty, Eugene Wu, Yongjoo Park

제출 2026-11-18

한국어 초록

정량 연구부터 개인 비서 업무까지, AI 에이전트는 코드를 반복해서 생성하고 실행하며 과제를 수행한다. 에이전트의 실행 환경과 코드 실행을 분리하기 위해 많은 에이전트가 코드 실행을 샌드박스라는 전용 시스템에 맡긴다. 그러나 기존 코드 샌드박스는 시작이 느리다. 맞춤 스냅샷을 만들든 큰 이미지 하나를 쓰든 근본 원인은 같다. 에이전트가 생성한 여러 코드를 실행할 수 있도록 필요한 패키지와 데이터셋 등을 거의 모두 담으면서, 작고 사전 준비된 스냅샷을 만들기 어렵다. 저지연 코드 샌드박스를 위한 학습 기반 시작 스냅샷을 제안한다. 스냅샷 하나를 작게 유지하면서 작업 대부분을 지원하기는 어렵지만 스냅샷 집합은 두 조건을 충족할 수 있다. 각 스냅샷은 작고 초기화가 빠르며 생성 코드의 일부를 지원한다. 집합 전체는 코드 대부분을 지원한다. 스냅샷 구성을 최적화 문제로 정식화하고 근사 알고리즘으로 풀어, 대규모 학습 작업에서 스냅샷 집합을 얻는다. 공개 및 LLM 합성 스크립트 1만 5천 개를 이용해 구성한 Readie는 같은 저장 공간 예산에서 기존 접근법보다 시작 지연을 3~22$\times$, 종단 간 실행 시간을 1.3~3.3$\times$ 줄였다.

원문 초록

From quantitative research to personal assistance, AI agents act by iteratively generating and executing code. To decouple the agent harness from code execution, many agents offload execution to dedicated systems called code sandboxes. However, existing code sandboxes suffer from slow startup. Whether they rely on custom snapshots or a single fat image, the root cause is the same: it is hard to build a compact, pre-warmed snapshot that can be shared across diverse agent-generated code while covering nearly all the artifacts (e.g., packages, datasets) it requires. In this work, we propose learned startup snapshots for low-latency code sandboxes. Our insight is that while it is hard for a single snapshot to be both compact and cover most workloads, a set of snapshots can achieve both. Each snapshot is small, initializes quickly, and covers a fraction of agent-generated code; together, the set covers most of it. We learn this set from a large training workload by formulating snapshot construction as an optimization problem and solving it with an approximation algorithm. Planned on 15K public and LLM-synthesized scripts, our system, Readie, reduces startup latency by 3-22$\times$ and end-to-end runtime by 1.3-3.3$\times$ compared to existing approaches at the same storage budget.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2611.22171v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.