Workshop: Agent Runtime Design

Question

What must an agent runtime provide to turn bounded model calls into governable, long-lived work? Which state, effects, guarantees, and control operations belong to the runtime, and which must it expose to a CLI, TUI, API client, or host application?

Why this workshop exists

The agent-memory work established a useful sequence: start from what future work needs, derive requirements and boundaries, and only then turn the stable comparison lens into a review type and writing workflow. Its durable results now include Designing a Memory System for LLM-Based Agents, the agent-memory requirements, the agent-memory-system review type, and the review-writing skill.

Agent-runtime coverage has reached the point where the same move is useful. kb/agentic-systems/ contains code-grounded analyses of execution loops, orchestration APIs, context assembly, sub-agent coordination, permission boundaries, durable state, recovery, and self-modification. Those analyses do not yet share a requirements-derived review contract. The collection contract already says that a mature methodology should follow the memory collection's path.

This workshop develops that methodology. It does not begin by standardizing the current reviews. First it must determine what work an agent runtime is responsible for, distinguish the runtime from its clients and surrounding application, and identify which differences support fair comparison across unlike systems.

Working boundary

For this workshop, the agent runtime is the operational system that turns model judgments into situated work across time. Its starting decomposition is scheduler, context engine, and execution substrate, but that is a hypothesis to test rather than a fixed definition. Runtime policy, durable run state, delegation, recovery, and event protocols may require sharper treatment.

A runtime client or interface lets a person or application operate that system. It can configure and start work, project runtime state, carry steering and authority decisions back into execution, and expose interruption or recovery controls. A TUI, CLI, API callback, organizational policy service, or headless runner can play this role. Runtime and client may share one process without becoming the same architectural responsibility.

User approval is the forcing case for the boundary. An effect may remain pending until policy or a person grants or denies authority. The first working thesis is that capability requests and scoped grants are the clean interface for this decision. The runtime derives and enforces the request; a client presents an unresolved decision and returns the answer.

Approval also exposes a deeper runtime requirement: the dependent effect must remain blocked while the operational system either retains a continuation or ends with typed pending work that can be re-entered later without replaying the effect. The recent recursive-agent architecture ingest makes the durable case explicit through pending work, effect guarantees, recovery, and capability-bounded enforcement.

Memory-system internals remain covered by kb/agent-memory-systems/; this workshop asks what runtime contract consumes memory and makes its consequential state or controls available. A builder or improvement plane that changes the runtime must also be distinguished from the runtime version currently executing work.

Current working material

Possible graduated artifacts

The analysis may earn some or all of these artifacts:

  • a synthesis note explaining the agent-runtime boundary and the requirements that follow;
  • a small requirements inventory, split only where individual requirements are useful on their own;
  • a code-grounded agent-runtime-review type for kb/agentic-systems/;
  • a local skill for writing or updating agent-runtime reviews;
  • a comparison matrix or survey if repeated controlled fields prove useful.

These are possible outputs, not a required package. In particular, the workshop should not create a review schema until the fields discriminate real systems and change an architectural judgment.

Working conventions

  • Derive requirements from concrete work stories and observable failures, not feature catalogues.
  • Keep unconditional requirements separate from scenario-dependent capabilities.
  • Record separately what the runtime implements, what a client exposes, what policy decides, and what remains with the user or host application.
  • Separate protected runtime mechanisms from extensible execution policies. Record authorship, persistence, and change target independently: generated ephemeral code, externally authored durable extensions, durable generated capabilities, and runtime self-modification are different cases.
  • Make commit-pinned code inspection the primary evidence for runtime ownership, wiring, alternate paths, and enforcement claims. Use focused tests or first-hand operation for deployment behavior that static inspection cannot establish. Documentation-only and closed-source evidence may generate questions or support a mechanism analysis, but does not by itself validate the code-grounded review contract.
  • Keep memory-system internals out of scope while recording the runtime-side memory contract.
  • Treat current review headings as evidence about useful questions, not as a schema to preserve.
  • Use harness only when preserving a source's own terminology; use agent runtime for the architectural object studied here.

What closes the workshop

The workshop closes when it has:

  1. a requirements map grounded in several materially different work stories and their failure modes;
  2. a clear boundary among model, runtime, runtime client or interface, host application, memory subsystem, and builder or improvement plane;
  3. a comparison lens tested against heterogeneous systems in the current collection, including at least one interactive runtime, one durable or distributed runtime, and one self-modifying or builder-oriented system;
  4. an explicit account of which requirements are general, conditional, or externalized;
  5. durable conclusions promoted to the appropriate library collections.

If those conclusions support a stable review type and writing skill, promote them too. If they do not, record why a shared methodology would erase important differences. Then remove this workshop and its entry from the active-workshop index.


Complete file listing (generated at build time)