Deep Agents Harness, DeltaChannel & Composite VFS Architecture

Deep Agents Harness, DeltaChannel & Composite VFS Architecture An architecture diagram generated by Archify. dcode Terminal · Textual TUI / Client · Architecture component · libs/code dcode Terminal Textual TUI / Client libs/code Server Factory · make_graph · Deep Agents Harness Control Plane · In-Memory / HTTP Server Factory make_graph In-Memory / HTTP Profile Engine · Provider Tuning · Deep Agents Harness Control Plane Profile Engine Provider Tuning Pregel Loop · create_agent ReAct · Deep Agents Harness Control Plane · recursion=9999 Pregel Loop create_agent ReAct recursion=9999 Delta Checkpoint · O(N) Reducer · Deep Agents Harness Control Plane · snapshot_freq=50 Delta Checkpoint O(N) Reducer snapshot_freq=50 FS Middleware · Tools + Offload · Deep Agents Harness Control Plane · ls, read, write FS Middleware Tools + Offload ls, read, write SubAgent Router · task Delegation · Deep Agents Harness Control Plane SubAgent Router task Delegation Composite VFS · Virtual Router · Virtual Storage Domain Composite VFS Virtual Router FilesystemBackend · Host /workspace · Virtual Storage Domain · CWD Mount FilesystemBackend Host /workspace CWD Mount StateBackend · Thread /scratch · Virtual Storage Domain · Ephemeral StateBackend Thread /scratch Ephemeral GP Subagent · Worker StateGraph · Architecture component · Scrubbed State GP Subagent Worker StateGraph Scrubbed State stream profile compile deltas tools vfs route disk state task spawn Deep Agents Harness Control Plane Virtual Storage Domain Legend Backend Database Cloud Security External

DeltaChannel Checkpointing

  • • Replaces O(N^2) full message copies with incremental O(N) delta streams
  • • Consolidates full snapshot every 50 steps for fast recovery

Composite Virtual Routing

  • • Routes tool calls across virtual paths (/workspace, /scratch)
  • • Translates virtual prefixes to host paths for execute shell commands
  • • Automatically evicts large outputs exceeding token limits

Subagent State Hygiene

  • • Scans and scrubs private parent middleware state keys
  • • Compiles isolated subgraphs returning sanitized turn summaries