VineLM: Trie-Based Fine-Grained Control for Agentic Workflows
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Agentic workflows interleave configurable LLM stages with tool stages and often include retries or refinement loops. Existing workflow managers profile full workflow configurations offline and assign each request a static workflow-level plan that binds each configurable LLM stage to a single model, reuses that model across repeated loop iterations, and does not revisit those choices at runtime. We present VineLM, a workflow manager that enables fine-grained control by choosing the model for each stage invocation as execution unfolds under request-level objectives such as maximizing accuracy under cost or latency budgets. VineLM represents feasible executions as an annotated trie of model-choice prefixes and uses checkpointing and cascade profiling to estimate path accuracy, cost, and latency without exhaustively profiling every request on every path. At runtime, VineLM re-roots the trie after each stage invocation and replans over the remaining subtrie using the realized execution prefix and remaining latency budget. On NL2SQL and math reasoning workflows, VineLM improves the cost-latency-accuracy frontier over coarse workflow-level baselines, achieving up to 18% higher accuracy at the same per-request budget with its sparse profiling reducing offline profiling cost by 98-99.8% when compared to exhaustive profiling.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 25 of its 52 references that are in the map. First posted on arXiv 9 Apr 2026.
Builds on
25 of 52 references.
Closest ancestors · 2
Same direction, newest first
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 23
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
11 more
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 223
- 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Servingcited by 203
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 184
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 126
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
- 2014Matrix Completion and Low-Rank SVD via Fast Alternating Least Squarescited by 104
- 2024A Unified Approach to Routing and Cascading for LLMscited by 80
- 2025Is Long Context All You Need? Leveraging LLM's Extended Context for NL2SQLcited by 30
- 2021Llama: A Heterogeneous & Serverless Framework for Auto-Tuning Video Analytics Pipelinescited by 16
- 2024Do Large Language Models Need a Content Delivery Network?cited by 16
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
- 2026Complete Cyclic Subtask Graphs for Tool-Using LLM Agents: Flexibility, Cost, and Bottlenecks in Long-Horizon Workflows
- 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows
- 2026Orla: A Library for Serving LLM-Based Multi-Agent Systems
- 2025Flow: Modularized Agentic Workflow Automation
- 2026GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration
- 2026AgentSPEX: An Agent SPecification and EXecution Language
- 2026Do More Agents Help? Controlled and Protocol-Aligned Evaluation of LLM Agent Workflows