---
id: "lib-2026-11-10-isolate-execution-keep-the-session-an-agent"
type: "library"
title: "Isolate execution, keep the session: an agent platform for a network-separated environment (실행은 격리하고, 세션은 이어간다: 망분리 환경의 Agent Platform 설계기)"
lang: "KO"
org: "Toss"
source_type: "Practitioner post"
date: "2026-11-10"
week: "2026-W46"
url: "https://nosov.ai/library/lib-2026-11-10-isolate-execution-keep-the-session-an-agent/"
original_url: "https://toss.tech/article/agent-platform-foundation"
tier: "B"
tier_name: "Useful, limited"
tier_reason: "Toss's AI Platform team documents a concrete sandbox and session design for agents inside a regulated, network-separated bank network, with trade-offs stated, but reports no usage, cost or incident figures."
summary_basis: "full-text"
original_minutes: "10"
tags: ["ai technology", "agent platform", "financial regulation", "sandboxing"]
---

# Isolate execution, keep the session: an agent platform for a network-separated environment (실행은 격리하고, 세션은 이어간다: 망분리 환경의 Agent Platform 설계기)

Tier B (Useful, limited): Toss's AI Platform team documents a concrete sandbox and session design for agents inside a regulated, network-separated bank network, with trade-offs stated, but reports no usage, cost or incident figures.

Summary based on the full text.

## In short

A Toss tech blog post (10 November 2026) from the company's AI Platform team on how it lets data-analysis agents run code on the internal network. Korean financial supervision rules require that network to be separated from internet-facing work, and the data cannot leave it. The team gives each user a reusable Kubernetes pod, isolates each agent's harness inside that pod with Linux namespaces, keeps platform credentials out of the harness, and persists work files and session state so that "compare this month the same way as last month" works across sessions and pod restarts. In the comments the team states that the platform runs self-hosted open-weight models, not external SaaS models.

## Key numbers

- three: limits applied to each isolated harness: mounted files, process and network namespaces, dropped privileges
- two stages: egress control: a Runtime HTTP proxy that blocks forbidden targets, then an OpenSandbox egress allow-list

## What it reports

- Driver: under the Electronic Financial Supervision Regulation, Toss separates the internal network for financial work from the internet environment; the analysis data lives on the internal network and cannot be moved out.
- Split of duties: an existing harness runs the model and tool loop; the platform checks who is asking and prepares the execution environment and access rights, so the harness can be swapped without rebuilding user management or storage wiring.
- Model: Workspace (one per user), Agent (instructions plus tools), Session (one conversation). One pod per user, managed by open-source OpenSandbox on Kubernetes, reused as the Workspace runtime.
- Per-harness isolation with bubblewrap: only the agent's work folder, user-approved folders and the current session's state path are mounted; reference folders are read-only; separate PID and network namespaces; harness runs as a low-privilege user with capabilities dropped; if isolation setup fails, the run stops.
- The team chose namespaces over one VM per agent to reuse the workspace pod, and states the cost: the host kernel is shared, so kernel-level isolation is weaker than a VM.
- Network: harness traffic goes through a Unix domain socket to a Runtime HTTP proxy; OpenSandbox egress policy sets allowed destinations. Model calls go through a GenAI Gateway, tool calls through an MCP Gateway.
- Credentials: the harness sends placeholder values; the OpenSandbox auth proxy swaps in real credentials only for preset destinations. Platform database credentials are never passed to the harness.
- Persistence: work files and session state sit on persistent volumes. Files are shared across sessions of the same agent; conversation state is kept per session. Resume uses the harness's own saved state and session ID rather than a platform-side conversion, which the team first built and dropped because it had to track the harness's internal format.
- A separate common execution log in the OpenResponses format serves history views and hand-off to a different harness via a summary. Missing state returns an error rather than silently continuing.

## How they got it

A design write-up by the team that built the platform, with architecture diagrams, a VM-versus-namespace comparison table and a table of which record serves which purpose. It describes intended behaviour and the reasons for choices. It does not report adoption, latency, cost, security testing or incidents.

## Limits

- Architecture only: no usage numbers, no measured outcomes, no evaluation of isolation under attack.
- The team states what the design does not cover: wrong edits inside writable folders, correctness of analysis, data sent to an allowed service, rollback of files or external actions, and duplicate execution of external tasks.
- Credential substitution applies only to HTTP(S) integrations the auth proxy supports, not to every CLI or personal subscription.
- Shared host kernel; harness version changes can break saved-state compatibility.

## Why it matters for companies

Any firm in a regulated industry that wants agents to run code against internal data faces the same two questions: how to stop the agent's code from reaching what it should not, and how to make work continue across sessions. The post gives a buildable answer with standard parts (Kubernetes, OpenSandbox, bubblewrap, proxies) and is candid about where restriction stops and where review, backups and service-side permissions must take over. The point that hiding a key is different from limiting what the key can do is a useful checklist item for any agent platform review.

## Key passages in translation

> 프롬프트로 주의를 주는 것만으로는 이런 실수를 막기 어려웠습니다. 그래서 에이전트의 코드를 샌드박스 안에서 실행하고, 작업에 필요한 파일과 시스템에만 접근하도록 제한했습니다.

Warnings in the prompt alone could hardly prevent such mistakes. So we ran the agent's code inside a sandbox and restricted it to the files and systems the task needs.

> 다만 키를 숨기는 것과 사용 권한을 제한하는 것은 다릅니다. 하네스는 프록시를 통해 그 키에 허용된 기능을 그대로 사용할 수 있습니다.

But hiding a key is different from limiting its permissions. Through the proxy, the harness can still use every function that key allows.

> 에이전트가 읽은 데이터를 접속이 허용된 서비스로 보내는 일도 가능합니다. 이 구조만으로 데이터 반출을 모두 막을 수는 없습니다.

The agent can also send data it has read to a service it is allowed to reach. This structure alone cannot prevent all data exfiltration.

Original: https://toss.tech/article/agent-platform-foundation
