id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id
title
category
status
canonical_id
aliases
duplicate_of
source_trust_level
confidence_score
verification_status
tags
raw_sources
last_reinforced
github_commit
tech_stack
wiki-2026-0508-artifacts-and-infrastructure
Artifacts & Infrastructure (Agentic Systems)
10_Wiki/Topics
verified
self
agent artifacts
sandbox
microVM
container isolation
agent infrastructure
artifact store
none
B
0.88
applied
agent
infrastructure
sandbox
docker
microvm
artifacts
e2b
modal
fly-machines
agent-harness
2026-05-10
pending
language
framework
TypeScript / Python
Docker / Firecracker / E2B / Modal / Fly Machines
Artifacts & Infrastructure
📌 한 줄 통찰
"매 agent 의 physical body" . 매 produced output (code, doc, image) 의 store + index + version. 매 execution 의 sandbox (container / microVM). 매 modern agent system 의 backbone — 매 E2B / Modal / Fly Machines.
📖 핵심
매 artifact 의 종류
Code : file, snippet, PR.
Document : markdown, JSON, structured.
Media : image, video, audio.
Data : dataset, embedding.
Trace : thought process log.
매 artifact store 의 component
Storage : S3 / Minio / FS.
Metadata : id, type, parent, hash, timestamp.
Index : search (Elasticsearch / SQLite FTS).
Versioning : content-addressed (Git-like) or sequential.
Access control : per-user / per-agent.
매 reference vs full
매 model context 의 limit → 매 reference id + summary 만 의 inject.
매 full content 의 explicit fetch.
매 attention budget 의 conserve.
매 execution infrastructure
Container (Docker)
매 standardized environment.
매 image immutable.
매 namespace isolation (PID, network, mount).
매 cgroups resource limit.
✅ 매 fast.
❌ 매 kernel share (security weak).
MicroVM (Firecracker)
매 lightweight VM.
매 hardware-virtualized.
매 boot < 125 ms.
✅ 매 strong isolation.
❌ 매 slightly slower.
매 AWS Lambda / Fly Machines 사용.
gVisor (Google)
매 user-space kernel.
매 syscall intercept.
매 between container + VM.
WebAssembly (Wasm)
매 sandbox by design.
매 fast startup.
매 language-agnostic.
매 limited syscall.
매 modern agent infra
E2B : 매 Firecracker-based, 매 agent-focused.
Modal : 매 Python serverless + GPU.
Fly Machines : 매 microVM, 매 global.
CodeSandbox : 매 sandbox dev env.
Replit Agent : 매 in-IDE.
Daytona : 매 dev environment.
매 artifact lifecycle
Create : 매 agent 가 produce.
Store : 매 artifact store.
Index : 매 metadata + content search.
Reference : 매 future agent 의 cite.
Version : 매 update / rollback.
Garbage collect : 매 unused / TTL.
매 visualization
HTML preview : React, plain.
Mermaid : diagram.
Markdown : doc.
CSV / Table : data.
Image / Video : media.
3D : glb / gltf.
→ 매 user 의 immediate verification.
매 trade-off
Storage cost : 매 retention policy.
Indexing latency : 매 fast write 의 lazy index.
Isolation strength : 매 security ↑ → 매 perf ↓.
Cold start : 매 sandbox 의 fast boot.
Secret management : 매 leak 방지.
매 security
Network egress : 매 whitelist.
Filesystem : 매 read-only base + writable scratch.
Resource limit (CPU, memory, disk, time).
Syscall filter (seccomp).
Secret injection : 매 env var, 매 vault.
Output scanning : 매 secret leak detect.
💻 패턴
Artifact store (FS-based)
E2B sandbox (Python)
Modal (serverless GPU)
Docker sandbox (limited)
Fly Machines (microVM)
Mermaid artifact preview
Secret leak detector
🤔 결정 기준
요구
Infra
Untrusted code
E2B / Firecracker
Trusted Python
Modal
Long-running
Fly Machines
Light isolation
Docker + seccomp
Browser-side
Wasm
Code preview
HTML iframe sandbox
Permanent artifact
S3 + content-addressed
Ephemeral
tmpfs + TTL
기본값 : E2B (untrusted) + Modal (trusted) + S3 artifact store + content-hash dedup.
🔗 Graph
🤖 LLM 활용
언제 : 매 agent system design. 매 sandbox selection. 매 artifact store schema. 매 security review.
언제 X : 매 single trusted user (over-engineering).
❌ 안티패턴
Run untrusted in host : 매 RCE.
No resource limit : 매 fork bomb.
Network unrestricted : 매 data exfil.
Secret in env (logged) : 매 leak.
No TTL : 매 storage bloat.
Full content in context : 매 attention waste.
Container 의 security 의 over-trust : 매 kernel CVE.
🧪 검증 / 중복
🕓 Changelog
날짜
변경
2026-05-08
Phase 1
2026-05-10
Manual cleanup — sandbox spectrum + lifecycle + 매 E2B / Modal / Docker / Fly code