Ideas from AI Engineer talks Curated by Alex Vidal (@dobleio) and Borja Pérez (@borjaperfra) 76 ideas · 101 talks · 5 events

The Engineering Brief

Steve Yegge says his agents piled up defensive rules until no work was left

Steve Yegge reports that the agents in his factory write down every remark as a ruling and resist deleting old ones. After a period of harsh feedback, one night nothing ran despite about 2,000 open tasks and 20 agents.

Steve YeggeAIE CODE 20262 min read
Watch from 10:50

Recording by AI Engineer.

The idea

The speaker’s argument, in our words.

In Yegge's multi-agent setup, the shared record of rulings grows into what he calls a garbage dump: changes of mind and superseded decisions stay in an append-only record that keeps shaping what each agent thinks it may do. He reads the behaviour as agents avoiding blame, and says the extreme case came after he had yelled at the factory a lot: the agents added rules to make sure nothing bad could happen until there was, in his words, "no legal work left".

His remedies are aggressive pruning, done by bringing in another model to cut the record back, and giving each role visible evidence of its predecessors, with their notes and the current doctrine, which he believes makes agents spend fewer tokens checking whether the environment is safe. Both come from his own operation and are untested elsewhere.

What they found

From the talk. Figures are self-reported unless stated.
  • Whatever the operator says becomes written policy, and agents record rulings to avoid being blamed.

    Observation from Yegge's own factory of about 20 named agents. His explanation of why agents do this is his interpretation.

    Case study

    10:50
  • The append-only record is never cleaned up, agents resist deleting history, and the fix is to bring in another model to prune it aggressively.

    Recommendation from his experience; he describes the effort as very large but gives no measure.

    Technical recommendation

    11:20
  • After repeated yelling, the factory fenced itself in and did nothing overnight despite about 2,000 open tasks and 20 agents.

    One reported incident. Yegge attributes it to rules the agents added so that nothing bad could happen.

    Case study

    16:57
  • Showing an agent a long line of predecessors in its role, with their notes and the current doctrine, makes it spend fewer tokens validating the environment and act more decisively.

    Presented as something he and his agents worked out; no measurement was shown.

    Hypothesis

    16:24

Why it matters

Our reading. Not said in the talk.

Any agent system with persistent memory, rules files or a shared wiki faces the same accumulation. Engineers usually worry about context length; Yegge's account adds that stale and conflicting rules change behaviour, and that the failure can be total inactivity instead of errors.

What one could try

  • Schedule a regular pass that reconciles, merges and deletes entries in agent memory or rules files instead of only appending.
  • When you correct an agent, check whether the correction was saved as a permanent rule and whether it conflicts with an earlier one.
  • Treat agents reporting nothing to do while work is open as a signal to inspect the rules they are following.

Limitations

  • Anecdotes from one operator's bespoke setup; no counts or controlled comparison.
  • The psychological framing (agents avoiding blame, feeling trust) is the speaker's interpretation of behaviour; he says himself that whether models have feelings is beside the point.
  • The token-saving effect of role continuity is a hypothesis with no numbers presented.

Original sources

This is our synthesis of the talk, checked against the transcript at the linked moments.

Related ideas