Working Notes on Agent Systems/Brad Zhang

@teach_fireworks / X longform

Loop Engineering recommends: Let the agent optimize until each page is less than 50ms!...

Loop Engineering recommends: Let the agent optimize until each page is less than 50ms! This sub-50ms page-load loop is a very typical project example in the Loop Library. Each t...

June 22, 2026 · 1 min read

Loop Engineering recommends: Let the agent optimize until each page is less than 50ms!...
Figure 1 / source image

Loop Engineering recommends: Let the agent optimize until each page is less than 50ms!

This sub-50ms page-load loop is a very typical project example in the Loop Library.

Each target page must be stably below 50ms under the same set of benchmarks.

The action of the agent is also very clear: first test the baseline, do a meaningful optimization, and then retest all pages under the same conditions to confirm that there is no local speedup and other pages slowdown.

I like this example very much because it puts the agent in the most suitable position: dealing with repetitive, trivial, feedback-closed engineering hard work.

But we can’t just look at “letting AI automatically optimize” here.

The real professionalism lies in fixed indicators, fixed environment, fixed route, and fixed stopping conditions.

Otherwise, performance optimization can easily turn into metaphysical parameter adjustment, and the agent will run further and further away in the noise.

Video: Corresponding loop: Open source project:

Visual summary

Article argument map

Generated from the post's content graph

FORMATTOPICCAPABILITYMARKETcoverscoverssignalssignalssignalsFORMATlongform noteTOPICagentsTOPICevaluationCAPABILITYagent workflowCAPABILITYevaluationMARKETopen-source builders
Mermaid outline
flowchart LR
  format-long_post["longform note"]
  topic-agents["agents"]
  topic-evaluation["evaluation"]
  capability-agent-workflow["agent workflow"]
  capability-evaluation["evaluation"]
  market-open-source-builders["open-source builders"]
  format-long_post -->|covers| topic-agents
  format-long_post -->|covers| topic-evaluation
  format-long_post -->|signals| capability-agent-workflow
  format-long_post -->|signals| capability-evaluation
  format-long_post -->|signals| market-open-source-builders

Visual structure

Essay structure map

Built from summary and key paragraph positions

Loop Engineering recommends: Let the agent optimize until each page is less than 50ms...THESISLoop Engineeringrecommends: Let theagent optimize untileach page is less thanSIGNALLoop Engineeringrecommends: Let theagent optimize untileach page is less thanOPERATORI like this examplevery much because itputs the agent in themost suitableIMPLICATIONVideo: Correspondingloop: Open sourceproject:
Mermaid outline
flowchart LR
  thesis["Loop Engineering recommends: Let the agent optimize until each page is less than 50ms! This sub-50ms page-l..."]
  signal["Loop Engineering recommends: Let the agent optimize until each page is less than 50ms!"]
  operator["I like this example very much because it puts the agent in the most suitable position: dealing with repetit..."]
  implication["Video: Corresponding loop: Open source project:"]
  thesis -->|frames| signal
  signal -->|develops| operator
  operator -->|lands in| implication

Source: View the original post