Working Notes on Agent Systems/Brad Zhang

@teach_fireworks / X longform

What should a production-level agent's runtime system look like? The preservation blogger shared this article:

What should a production-level agent's runtime system look like? The preservation blogger shared this article: 1 To build a good proxy, you need a strong safety harness...

April 21, 2026 · 1 min read

What should a production-level agent's runtime system look like? The preservation blogger shared this article: 1 To build a good proxy, you need a strong safety harness with tips and tools; a powerful runtime that can handle persistent execution, memory, multi-tenancy, observability, etc. 2 Durable execution uses task queues and checkpoints, so long agent loops survive crashes, deployments, and waiting for human input to recover from the last step. 3 Memory includes short-term memory within threads via checkpoints, and long-term memory across sessions in a namespace key-value store with semantic search. 4 Multi-tenancy uses authentication middleware to isolate user data, enable agents to operate via agent-authenticated user credentials, and uses RBAC to control operator access. 5 Human-in-the-loop uses interruptions for approval and clarification; streaming provides real-time progress, while policies handle double text.

  • Enforce policies such as PII editing and tool restrictions through guardrails in middleware; observability provides traces, time travel enables forked debugging, and sandboxing supports safe code execution.

Visual summary

Article argument map

Generated from the post's content graph

FORMATTOPICCAPABILITYMARKETcoverscoverscoverscoverscoverssignalssignalssignalsFORMATlongform noteTOPICagentsTOPICharness engineeringTOPIClong running agentsTOPICtechnical distributionTOPICmemoryCAPABILITYagent workflowCAPABILITYharness engineeringCAPABILITYlong-running agentsCAPABILITYproduct surface
Mermaid outline
flowchart LR
  format-long_post["longform note"]
  topic-agents["agents"]
  topic-harness-engineering["harness engineering"]
  topic-long-running-agents["long running agents"]
  topic-technical-distribution["technical distribution"]
  topic-memory["memory"]
  capability-agent-workflow["agent workflow"]
  capability-harness-engineering["harness engineering"]
  capability-long-running-agents["long-running agents"]
  capability-product-surface["product surface"]
  format-long_post -->|covers| topic-agents
  format-long_post -->|covers| topic-harness-engineering
  format-long_post -->|covers| topic-long-running-agents
  format-long_post -->|covers| topic-technical-distribution
  format-long_post -->|covers| topic-memory
  format-long_post -->|signals| capability-agent-workflow
  format-long_post -->|signals| capability-harness-engineering
  format-long_post -->|signals| capability-long-running-agents

Visual structure

Essay structure map

Built from summary and key paragraph positions

What should a production-level agent's runtime system look like? The preservation blo...THESISWhat should aproduction-levelagent's runtime systemlook like? TheSIGNALWhat should aproduction-levelagent's runtime systemlook like? TheOPERATOR6. Enforce policiessuch as PII editingand tool restrictionsthrough guardrails inIMPLICATION6. Enforce policiessuch as PII editingand tool restrictionsthrough guardrails in
Mermaid outline
flowchart LR
  thesis["What should a production-level agent's runtime system look like? The preservation blogger shared this artic..."]
  signal["What should a production-level agent's runtime system look like? The preservation blogger shared this artic..."]
  operator["6. Enforce policies such as PII editing and tool restrictions through guardrails in middleware; observabili..."]
  implication["6. Enforce policies such as PII editing and tool restrictions through guardrails in middleware; observabili..."]
  thesis -->|frames| signal
  signal -->|develops| operator
  operator -->|lands in| implication

Source: View the original post