WorkflowGen:an adaptive workflow generation mechanism driven by trajectory experience
arXiv cs.LG / 4/23/2026
📰 NewsIdeas & Deep AnalysisModels & Research
Key Points
- The paper introduces WorkflowGen, a framework that generates LLM-agent workflows by reusing “trajectory experiences” instead of rebuilding workflows from scratch for every query.
- WorkflowGen captures complete execution trajectories early, extracts reusable knowledge (e.g., error fingerprints, tool mappings, parameter schemas, execution paths, and exception-avoidance strategies), and stores it for later use.
- It uses a closed-loop process that performs lightweight generation only on variable nodes via trajectory rewriting, experience updating, and template induction.
- A three-tier adaptive routing strategy chooses between direct reuse, rewriting-based generation, or full initialization based on semantic similarity to historical queries.
- Experiments (without large annotated datasets) report over 40% lower token usage versus real-time planning, and about a 20% success-rate improvement on medium-similarity queries, with better robustness and deployability through modular, traceable experiences.
💡 Insights using this article
This article is featured in our daily AI news digest — key takeaways and action items at a glance.
Related Articles

Big Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.
Dev.to

Trajectory Forecasts in Unknown Environments Conditioned on Grid-Based Plans
Dev.to

Why use an AI gateway at all?
Dev.to

OpenAI Just Named It Workspace Agents. We Open-Sourced Our Lark Version Six Months Ago
Dev.to

GPT Image 2 Subject-Lock Editing: A Practical Guide to input_fidelity
Dev.to