Research questionHow can code-generating agents plan programs that satisfy memory and runtime budgets?Without runtime and memory limits, code-generating agents may choose implementations that exhaust resources or miss execution deadlines. These constraints can affect data representation, traversal, and buffering choices before the program runs.