Concept · 1 episode(s)

Program Search

← all concepts

Definition

Program search is the practice of finding a good program by exploring a space of candidate programs, generating, executing, and scoring variants against an objective. With coding agents, this is run as an outer loop: an LLM proposes edits, tests or benchmarks score them, and a strategy such as evolutionary search (maintaining a population of diverse candidates) or greedy search (always building on the current best) chooses what to refine next. Comparing strategies under fixed compute or token budgets shows whether sophisticated search actually beats simpler approaches at equal cost.

Episodes covering this