mlsanityData to 24 Nov 2026

FlashScript: Compiling Recurring Agent Workflows into Reusable Neuro-Symbolic Programs

arXiv 2610.33876 ↗Submitted 24 Oct 2026cs.HC cs.AI cs.SEcited by 0

On the map: LLM agents and tool use → Agent skill learning and evolution also fits: Software engineering coding agents

Abstract (arXiv)

Many agent tasks recur with new data or small changes, yet agents regenerate their reasoning and actions on each run, producing different results. Distilling a prior run into a skill helps the agent avoid earlier mistakes, but it still re-runs the full process each time, so runs can vary and incur that cost. We compile a successful agent run into a reusable neuro-symbolic program (NSP) with a set of guidelines we call FlashScript. Actions and data transformations become code, instance-specific values become parameters, and decisions that need model judgment become LLM calls. We identify three layers where these calls belong and three techniques that replace most of them with code. The compilation does not remove nondeterminism; it localizes it, so the deterministic program and its neural calls can be reviewed and tested separately. Across 120 WorkBench analytics tasks with Claude Haiku 4.5, the NSPs were correct and made identical tool calls on every run, using about 70 times fewer input tokens and a third of the runtime of a skill-guided agent whose runs were inconsistent. In a composite version of the tasks, the skill-guided agent's accuracy fell to 23%, and its output inconsistency increased, while the NSPs remained correct and identical across all runs. The NSPs successfully generalized to all 108 unseen instances of the same templates. Our findings suggest that NSPs from agent trajectories can be considered cumulative software assets for end-users to test, maintain, and reuse in their recurring workflows.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 24 of its 41 references that are in the map. Submitted 24 Oct 2026.

Builds on

24 of 41 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026Lifting Traces to Logic: Programmatic Skill Induction with Neuro-Symbolic Learning for Long-Horizon Agentic Tasks2 May

Other references · 23

  1. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,131
  2. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
  3. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 1,000
  4. 2022PAL: Program-aided Language Modelscited by 685
  5. 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 678
  6. 2022Visual Programming: Compositional visual reasoning without trainingcited by 579
  7. 2024Agent Workflow Memorycited by 482
  8. 2023Efficient Guided Generation for Large Language Modelscited by 244
  9. 2022Binding Language Models in Symbolic Languagescited by 234
  10. 2023An LLM Compiler for Parallel Function Callingcited by 217
  11. 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 116
  12. 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 99
11 more
  1. 2024AutoGuide: Automated Generation and Selection of Context-Aware Guidelines for Large Language Model Agentscited by 90
  2. 2024WorkBench: a Benchmark Dataset for Agents in a Realistic Workplace Settingcited by 65
  3. 2026JEV-as-a-Judge: Accept When Confident, Escalate When Unsurecited by 65
  4. 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 39
  5. 2026PreAct: Computer-Using Agents that Get Faster on Repeated Taskscited by 8
  6. 2026SKILL-DISCO: Distilling and Compiling Agent Traces into Reusable Procedural Skillscited by 8
  7. 2026TraceCompiler: Skill-Guided Mining and Compilation of LLM Agent Traces into Mostly Deterministic Workflowscited by 8
  8. 2026When Agents Disagree With Themselves: Behavioral Consistency as an Uncertainty Signal for LLM Agentscited by 5
  9. 2026InconLens: Interactive Visual Diagnosis of Behavioral Inconsistencies in LLM-based Agentic Systemscited by 2
  10. 2025A Roadmap for Tamed Interactions with Large Language Modelscited by 1
  11. 2025Specification and Detection of LLM Code Smellscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Neuro-Symbolic Computer Use: Learning Reusable Policies for Reliable and Efficient Execution
  2. 2026Compile Away Uncertainty: Self-Evolving Agent Skills via Programmatic Compilation
  3. 2026Auto: The AGI Compiler
  4. 2026SkillZip: Evaluation-Free Skill Compression for Self-Evolving Agents by Discovering Reusable Structure
  5. 2026AgentFactory: A Self-Evolving Framework Through Executable Subagent Accumulation and Reuse
  6. 2026SkillSmith: Compiling Agent Skills into Boundary-Guided Runtime Interfaces
  7. 2026Subagents vs Agent Skills: Executing Reusable Knowledge for Long-Horizon Agentic Tasks
  8. 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Libraries