TimeTravelContainer: A Live Forking Sandbox for Stateful Agent Exploration
- ID: 6704b72b
- 原文链接: https://arxiv.org/abs/2611.32255
- 作者: Zizheng Guo, Yanqing Zhang, Nathaniel Pinckney, Cunxi Yu, Brucek Khailany
- 日期: 2026-11-24
- 分类: infra
- 来源类型: paper
- 标签: agent-infra, sandboxing, containers, forking, parallel-exploration
- 质量评分: 4/5
- 抓取时间: 2026-11-29T15:42:39Z
中文导读
Agent 驱动有状态工具时经常要克隆回溯并行活会话,但序列化落盘或从头重启都太慢NVlabs 的 TimeTravelContainer 是无 root 容器运行时,在运行中以写时复制方式活分叉整个容器(进程内存文件系统网络);分叉点后会话内存大头只读克隆间自动共享,只有改写页额外占内存不需要内核补丁硬件虚拟化或 root,LinuxmacOS(Apple Silicon)Windows(WSL 2)可跑两条 agentic EDA 流程上环境克隆加速 84.1 倍内存省 31-72%端到端加速 1.7-9.4 倍,代码开源于 NVlabs/TimeTravelContainer共享机器与无虚拟化权限环境里,活分叉比快照恢复更实用
为什么值得关注
无 root 的容器活分叉把 agent 并行探索成本打到可用:克隆加速 84 倍省内存 31-72%,共享机器上优先选它而非快照恢复
agent 并行探索的实用原语:无 root、无内核补丁的活分叉让共享机器和无虚拟化权限环境也能做并行探索,代码已开源可直接试。
关键信息
- 标题: TimeTravelContainer: A Live Forking Sandbox for Stateful Agent Exploration
- 作者: Zizheng Guo, Yanqing Zhang, Nathaniel Pinckney, Cunxi Yu, Brucek Khailany
- 链接: https://arxiv.org/abs/2611.32255
- PDF: https://arxiv.org/pdf/2611.32255
- arXiv 分类: cs.OS, cs.MA
- 代码: https://github.com/NVlabs/TimeTravelContainer
- 发布时间: 2026-11-24
- 分类: infra | 标签: agent-infra, sandboxing, containers, forking, parallel-exploration
English Abstract
LLM agents that drive stateful tools (e.g., interactive shells, design environments, simulation engines) frequently need to clone, backtrack, and parallelize live sessions to support exploration. However, cloning a live session today requires serializing the tool's in-memory state to disk or relaunching from scratch, both prohibitively slow for interactive exploration. Existing agent sandboxes based on microVMs or kernel patches either serialize full guest memory to storage or require privileged deployment, limiting use on shared compute farms, personal computers, and other restricted environments. We present TimeTravelContainer (TTC), a rootless container runtime that live-forks an entire running container, including processes, memory, filesystem, and network, with copy-on-write (CoW) semantics. Because the bulk of a tool session's memory is typically read-only after the fork point, clones share it automatically and only diverged pages consume additional memory. TTC requires no kernel modifications, hardware virtualization, or root privileges, and runs on all major platforms including Linux, macOS (Apple Silicon), and Windows (WSL 2), making it deployable as a portable foundation for agent harnesses. We evaluate TTC on two agentic electronic design automation (EDA) flows as representative stateful-tool workloads: MAGE (Innovus) and EvoDRC (KLayout). TTC achieves 84.1$\times$ environment cloning speedup, 31--72% memory reduction, and 1.7--9.4$\times$ end-to-end speedup, demonstrating that live forking removes a scaling barrier for agent-driven exploration of stateful tool environments.
Obsidian 证据摘录
在两条 agentic EDA 流程(MAGE/Innovus 和 EvoDRC/KLayout)上,环境克隆加速 84.1 倍,内存节省 31-72%,端到端加速 1.7-9.4 倍,代码开源在 NVlabs/TimeTravelContainer。
—— Users/gracker/Library/Mobile Documents/iCloud~md~obsidian/Documents/Obsidian/OpenClaw定时任务/论文流水线/2026-11-29-论文流水线.md