Get Started

Runtime Feedback Loops

Agents that do not see real command output guess. A feedback runner captures stdout, stderr, exit code, and timing into a structured record the next turn can read. Then the agent reacts to facts instead of to its own prediction of facts.

50 minutesBuildPython (stdlib)Members

Learning Objectives

  • Distinguish runtime feedback from observability telemetry.
  • Build a feedback runner that wraps shell commands and persists structured records.
  • Truncate large outputs deterministically so the loop stays within token budget.
  • Refuse to advance the loop when feedback is missing.