# LLM Workflows

Published articles for LLM Workflows.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations

DevFeed: [Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations](<https://devfeed.tech/articles/schema-validated-llm-workflows-a-benchmark-protocol-and-comparative-evaluation-across-six-python-implementations-148263.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.27106>)

Author: Sidney Shapiro, Sanad Al-Khatib, Aurora Pinz\\'on Arzola, Emiliano Sebastian Gonzalez Venegas, Daniel Pearson

Published: 2026-11-23T05:00:00Z

Content type: comparison

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [DSPy](<https://devfeed.tech/topics/dspy.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Python](<https://devfeed.tech/topics/python.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>)

Tags: [agno](<https://devfeed.tech/tags/agno.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [api](<https://devfeed.tech/tags/api.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [dspy](<https://devfeed.tech/tags/dspy.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [failures](<https://devfeed.tech/tags/failures.md>), [framework](<https://devfeed.tech/tags/framework.md>), [langgraph](<https://devfeed.tech/tags/langgraph.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-workflows](<https://devfeed.tech/tags/llm-workflows.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [python](<https://devfeed.tech/tags/python.md>), [schema](<https://devfeed.tech/tags/schema.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

The benchmark separates schema validity from task correctness across five business workflows and six Python implementations. In the eligible confirmatory run, overall schema validity was 0.684 and mean automated quality was 0.638. PydanticAI, LangGraph, and DSPy had near-ceiling schema validity and mean quality of 0.91-0.94; the plain SDK, Agno, and CrewAI scored substantially lower in this package and model configuration. Schema-valid outputs still drew many task-score flags, especially in extraction and compliance QA, and failures varied by condition and task, including a workflow collapse for CrewAI. The results are system-configuration findings, not causal evidence about marketed library features.

### Source excerpt

arXiv:2611.27106v1 Announce Type: new Abstract: Large language models are increasingly used to extract records, generate SQL, summarize reports, answer policy questions, and route operational work. At these software boundaries, parseable output is necessary but does not establish task correctness. We present a reproducible benchmark protocol, a public executable artifact, and a confirmatory live API evaluation that separate structural validity from task-specific correctness across five business workflow tasks and six Python implementation conditions: PydanticAI, LangGraph, DSPy, CrewAI, Agno, and a framework-free SDK reference. We hypothesize that (H1) schema validity and task quality are separable, (H2) structured-output binding paths are heterogeneous under a shared model and lowest-common-denominator contract, and (H3) condition-by-task interactions concentrate failures rather than shifting all tasks equally. Confirmatory analysis uses distinct task instances (100 extraction and 50 per other task, with three nested replicates) under a frozen analysis plan, yielding a 5400-row primary matrix with equivalence margins and Holm-adjusted contrasts against the SDK reference. In the eligible confirmatory run, overall schema validity was 0.684 and mean automated quality was 0.638. PydanticAI, LangGraph, and DSPy retained near-ceiling schema validity with mean quality 0.91-0.94, while the plain SDK, Agno, and CrewAI conditions were substantially lower in this package and model configuration. Schema-valid rows still produced many task-score flags, especially in extraction and compliance QA, and quality residuals show strong condition-by-task interactions (including a workflow collapse for CrewAI). Labelled ablations address retry budgets and feature-using mechanisms; primary contrasts remain system-configuration findings, not causal attributions to marketed library features.

## VerifiQuant: Governance-by-Execution for Financial LLM Workflows

DevFeed: [VerifiQuant: Governance-by-Execution for Financial LLM Workflows](<https://devfeed.tech/articles/verifiquant-governance-by-execution-for-financial-llm-workflows-148614.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.26649>)

Author: Yu-Chi Ko, Mi-Yen Yeh, Shou-De Lin

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>)

Tags: [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [diagnostic](<https://devfeed.tech/tags/diagnostic.md>), [execution](<https://devfeed.tech/tags/execution.md>), [failure](<https://devfeed.tech/tags/failure.md>), [failure-analysis](<https://devfeed.tech/tags/failure-analysis.md>), [financial](<https://devfeed.tech/tags/financial.md>), [framework](<https://devfeed.tech/tags/framework.md>), [funnel](<https://devfeed.tech/tags/funnel.md>), [governance](<https://devfeed.tech/tags/governance.md>), [inference](<https://devfeed.tech/tags/inference.md>), [input](<https://devfeed.tech/tags/input.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-workflows](<https://devfeed.tech/tags/llm-workflows.md>), [q-fin-cp](<https://devfeed.tech/tags/q-fin-cp.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

VerifiQuant addresses financial LLM workflows that may produce confident but unjustified numbers. It packages financial logic into inference contracts and runs each query through an executable diagnostic funnel before deterministic computation, keeping arithmetic outside the language model. The workflow can compute, clarify, intercept, or refuse in structured, auditable ways; when no contract applies, it reports that rather than guessing. Against matched retrieval-and-execution baselines, its stated benefit is safer handling of unsupported inputs, not greater accuracy on well-posed questions. The authors describe a safety-versus-coverage tradeoff: limiting answers carries a coverage cost, and failures can still occur at specific runtime frontiers. This overview reflects the supplied abstract, not the full paper.

### Source excerpt

arXiv:2611.26649v1 Announce Type: cross Abstract: Large language models embedded in financial workflows fail most dangerously by emitting confident, well-formatted but wrong numbers with no signal distinguishing them from correct ones. We argue that the central deployment problem is governability: a system must determine when a question supports a numeric answer and when it should instead clarify, intercept, or refuse. We present VerifiQuant, a governance-by-execution framework that packages financial logic into inference contracts and evaluates each query through an executable diagnostic funnel before deterministic computation. This separation makes computation, clarification, and refusal structured and auditable while keeping financial arithmetic outside the language model. Against matched retrieval-and-execution baselines, and within a declared contract library, the principal benefit is not higher accuracy on well-posed questions but safer behavior when an input does not justify a number. When it finds no applicable contract, it says so instead of guessing. Coverage sweeps and failure analysis put a price on this boundary: safety is bought with coverage rather than with accuracy, and residual failures remain attributable to specific runtime frontiers.

## Nebula: Distributed Position-Independent Caching for LLM Serving

DevFeed: [Nebula: Distributed Position-Independent Caching for LLM Serving](<https://devfeed.tech/articles/nebula-distributed-position-independent-caching-for-llm-serving-123695.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09474>)

Author: Yifei Liu, Junbin Pan, Junhao Hu, Yang Liu, Junyi Chen, Juntong Wu, Chen Chen, Haiyuan Zhao, Xiaoxu Chen, Weihang Chen

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agents](<https://devfeed.tech/tags/agents.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-serving](<https://devfeed.tech/tags/llm-serving.md>), [llm-workflows](<https://devfeed.tech/tags/llm-workflows.md>), [locality](<https://devfeed.tech/tags/locality.md>), [nebula](<https://devfeed.tech/tags/nebula.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [parallelism](<https://devfeed.tech/tags/parallelism.md>), [pc](<https://devfeed.tech/tags/pc.md>), [pic](<https://devfeed.tech/tags/pic.md>), [prefill](<https://devfeed.tech/tags/prefill.md>), [prefix-caching](<https://devfeed.tech/tags/prefix-caching.md>)

### AI overview

Nebula treats position-independent cache segments as cluster-managed resources, allowing remote reuse and parallel prefill for long LLM prompts assembled from independent text segments. It combines optimistic accounting and event-driven updates to track asynchronous cache state, uses cluster-wide ghost-hit feedback to adjust shared capacity between position-independent caching and prefix caching, and models queueing, computation, and KV transfer costs to guide parallelism and compute placement. Across four models and four RAG and agentic workloads, the abstract reports an average 61.4% reduction in median time to first token versus the strongest existing baseline and recovery of 76.1% of tokens missed by prefix caching.

### Source excerpt

arXiv:2611.09474v1 Announce Type: new Abstract: Modern LLM workflows, such as retrieval-augmented generation (RAG) and LLM agents, build long prompts from multiple independent text segments, making prefill a major source of computation. Reusing KV caches is therefore important for reducing serving costs and latency: distributed caching systems spread KV cache across a cluster to increase aggregate capacity, while position-independent caching (PIC) enables reuse of recurring segments under different prefixes. However, existing systems distribute KV caches but still rely on prefix caching (PC), while existing PIC methods enable position-independent reuse without cluster-wide resource management. We present Nebula, the first distributed LLM serving framework to treat PIC segments as first-class citizens, enabling remote PIC reuse and parallel prefill. To track PIC's fine-grained, asynchronous state changes, Nebula combines optimistic accounting with event-driven updates to provide a timely and truthful cluster view for cache management and prefill scheduling. To accommodate diverse reuse patterns across workloads, Nebula leverages cluster-wide ghost-hit feedback to automatically tune the allocation of shared cache capacity between PC and PIC. Finally, Nebula incorporates queueing, computation, and KV transfer costs into a unified prefill completion time model to guide elastic parallelism adjustment and locality-aware compute placement. Across four models and four real-world RAG and agentic workloads, Nebula reduces median TTFT by an average of 61.4% compared with the strongest existing baseline and recovers an average of 76.1% of the tokens missed by prefix caching.

## Your Agent's Tools Can Make Decisions, Too

DevFeed: [Your Agent's Tools Can Make Decisions, Too](<https://devfeed.tech/articles/your-agent-s-tools-can-make-decisions-too-107783.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/your-agents-tools-can-make-decisions-too/>)

Author: Shuai Guo

Published: 2026-10-30T12:30:00Z

Content type: tutorial

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [agentic workflows](<https://devfeed.tech/topics/agentic-workflows.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-tools](<https://devfeed.tech/tags/agent-tools.md>), [agents-sdk](<https://devfeed.tech/tags/agents-sdk.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [azure](<https://devfeed.tech/tags/azure.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [customer-support](<https://devfeed.tech/tags/customer-support.md>), [decision-models](<https://devfeed.tech/tags/decision-models.md>), [delay](<https://devfeed.tech/tags/delay.md>), [editor-s-picks](<https://devfeed.tech/tags/editor-s-picks.md>), [jev](<https://devfeed.tech/tags/jev.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [llm-applications](<https://devfeed.tech/tags/llm-applications.md>), [llm-workflows](<https://devfeed.tech/tags/llm-workflows.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

The decision-model-as-a-tool pattern moves routine lookup choices into a tool: an internal decision model selects and runs backend functions in a loop, then returns collected evidence to the LLM agent. In the order-support example, the specialist exposes six information lookups behind one interface; the agent provides an order ID and question, while the tool tracks evidence and decisions. The model can stop with `done` when it has enough evidence or `blocked` when available operations cannot resolve the issue. Using Decision-1 on Azure, the example completed in 8.9 seconds with one Luna call; an otherwise similarly configured agent calling the six functions directly made six Luna calls and took 25.4 seconds. Both reached the same core recommendation; the author reports 2.85x faster execution and 24.7% lower model cost. The functions use a small synthetic dataset, so these results describe the case study.

### Source excerpt

Decision models as tools: a hands-on guide The post Your Agent's Tools Can Make Decisions, Too appeared first on Towards Data Science.

## Decision Models in Action: Build a Hybrid LLM Workflow

DevFeed: [Decision Models in Action: Build a Hybrid LLM Workflow](<https://devfeed.tech/articles/decision-models-in-action-build-a-hybrid-llm-workflow-92969.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/decision-models-in-action-build-a-hybrid-llm-workflow/>)

Author: Shuai Guo

Published: 2026-10-21T15:30:00Z

Content type: tutorial

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [decision-making](<https://devfeed.tech/topics/decision-making.md>), [workflow automation](<https://devfeed.tech/topics/workflow-automation.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-applications](<https://devfeed.tech/tags/ai-applications.md>), [automation](<https://devfeed.tech/tags/automation.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browser-automation](<https://devfeed.tech/tags/browser-automation.md>), [decision](<https://devfeed.tech/tags/decision.md>), [decision-models](<https://devfeed.tech/tags/decision-models.md>), [editor-s-picks](<https://devfeed.tech/tags/editor-s-picks.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [jev](<https://devfeed.tech/tags/jev.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-applications](<https://devfeed.tech/tags/llm-applications.md>), [llm-workflows](<https://devfeed.tech/tags/llm-workflows.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

The example hybrid workflow completed a hotel search and inquiry in 41 seconds, compared with 156 seconds for a version using GPT-6-Luna for both selections and text generation. It assigns closed-ended choices--including which browser action to take next--to Microsoft Decision-1, uses GPT-6-Luna to write requested text, and has Python orchestrate Playwright MCP snapshots and browser operations. In the fictional hotel case, it selected a EUR 145-per-night refundable Lisbon hotel with breakfast and prepared the requested inquiry. The reported speed result is from this single case study; the excerpt does not establish broader performance.

### Source excerpt

A hands-on guide to building browser automation by combining decision models with LLMs. The post Decision Models in Action: Build a Hybrid LLM Workflow appeared first on Towards Data Science.