Compiled agents: http://squig.com/
It takes your instructions, write a versioned spec, then generates a hybrid workflow of code+LLM calls and protects it with tests/evals
The result is that the agents run much faster (90% of it is code), cheaper (LLM steps are scoped tightly and uses smaller models) and reliably (specs get turned into coded state-machine)