OpenRath: 에이전트 시스템을 위한 세션 중심 런타임 상태
OpenRath: Session-Centered Runtime State for Agent Systems
June 17, 2026
저자: Fukang Wen, Zhijie Wang, Ruilin Xu
cs.AI
초록
현대 에이전트 시스템은 종종 단편화된 런타임 상태 문제를 겪는다. 대화 기록, 도구 효과, 메모리 이벤트, 작업 공간 배치, 분기 계보, 재생 증거가 각각 분리되어 기록되므로 검사나 재현이 어렵다. OpenRath는 이러한 문제를 다중 에이전트, 다중 세션 시스템을 위한 PyTorch 유형의 프로그래밍 모델로 해결한다. 이 비유는 텐서 연산이 아닌 중앙 일급 런타임 추상화의 역할에 관한 것이다. 핵심 추상화는 Session이며, 이는 에이전트와 워크플로우 사이에서 전달되는 런타임 값이다. Session은 분기 가능하고, 검사 가능하며, 재생 가능하고, 백엔드를 인식하며, 합성 가능하다. 또한 대화 청크, 샌드박스 배치, 계보 메타데이터, 토큰 사용량, 대기 작업, 도구 증거를 기록하며, 메모리 상호작용이 런타임 기록에 진입하는 지점을 정의한다. 이 상태는 프로그램 실행에 사용되는 동일한 값에 의해 전달되므로, 포크, 병합, 재생은 외부 추적으로부터 재구성된 상태가 아닌 명시적 런타임 연산이 된다. OpenRath는 추가로 Sandbox, Tool, Agent, Memory, Workflow, Selector를 정의하며, Selector는 제어 흐름을 런타임에서 라우팅되는 결정으로 전환한다. 본 보고서는 프로그래밍 모델, 아키텍처, 감사된 마일스톤, 증거 프로토콜을 제시한다. 주장은 통제된 런타임 속성으로 제한되며, 광범위한 정량적 비교, 실시간 제공자 품질, 선택적 백엔드 가용성, 메모리 품질은 후속 평가로 미룬다. 핵심 논지는 Session이 에이전트 시스템에 감사 가능한 구성을 위한 일급 런타임 값을 제공한다는 것이다.
English
Modern agent systems often suffer from fragmented runtime state: transcripts, tool effects, memory events, workspace placement, branch provenance, and replay evidence are recorded separately and become difficult to inspect or reproduce. OpenRath addresses this issue with a PyTorch-like programming model for multi-agent, multi-session systems. The analogy concerns the role of a central first-class runtime abstraction, not tensor computation. Its core abstraction is Session, the runtime value passed between agents and workflows. A Session is branchable, inspectable, replayable, backend-aware, and composable. It records conversation chunks, sandbox placement, lineage metadata, token usage, pending work, and tool evidence, while defining where memory interactions enter the runtime record. Since this state is carried by the same value used in program execution, fork, merge, and replay become explicit runtime operations rather than states reconstructed from external traces. OpenRath further defines Sandbox, Tool, Agent, Memory, Workflow, and Selector, with Selector turning control flow into runtime-routed decisions. This report presents the programming model, architecture, audited milestones, and evidence protocol. Its claims are limited to controlled runtime properties, while broad quantitative comparisons, live-provider quality, optional-backend availability, and memory quality are left for follow-on evaluation. The central thesis is that Session provides agent systems with a first-class runtime value for auditable composition.