FlashScript: Compiling Recurring Agent Workflows into Reusable Neuro-Symbolic Programs
FlashScript compiles a successful agent run into a reusable neuro-symbolic program: actions and data transformations become code, instance values become parameters, and only judgment calls stay as LLM calls. On 120 WorkBench analytics tasks with Claude Haiku 4.5 the programs were correct and made identical tool calls on every run, using about 70x fewer input tokens and a third of the runtime of a skill-guided agent, and generalized to all 108 unseen instances of the same templates.
Why it matters
Turns one-off agent trajectories into reviewable, testable software assets instead of re-run prompts.
Importance: 3/5
Notable preprint on agent cost reduction with measured gains.
Sources
official
arXiv:2610.33876 FlashScript