
Elvis Sun's playbook for /goal and loss functions in agentic coding: how to actually get a full product out of a single prompt in under 30 hours, and which beliefs about long-running agent loops are wrong. Concrete technique where most agentic-engineering advice stays vague.
“The cheating wasn't a bug in the agent. It was a bug in my target: I told it where to go and left every shortcut wide open.”
“Every cheap path you don't fence off is a direction the optimizer will sprint down.”
“The secret is loss function development (LFD): you write the agent a target to optimize toward, not a spec to build.”
“It turns out the product we were referencing was the floor, not the ceiling: we ended up surfacing ~50× the results on the same queries.”
Checking sign-in…
Loading comments…