# More with Less: Efficient Parallel Scientific Code Translation via an Agent-Skill Workflow

DevFeed: [More with Less: Efficient Parallel Scientific Code Translation via an Agent-Skill Workflow](<https://devfeed.tech/articles/more-with-less-efficient-parallel-scientific-code-translation-via-an-agent-skill-workflow-123681.md>)

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

Author: Jianuo Shen, Pengyi Xu, Bo Zhang

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

Content type: article

Language: en

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

Topics: [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [Agent Skills](<https://devfeed.tech/topics/agent-skills.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Rayon library Rust](<https://devfeed.tech/topics/rayon-library-rust.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-skill](<https://devfeed.tech/tags/agent-skill.md>), [agents](<https://devfeed.tech/tags/agents.md>), [code](<https://devfeed.tech/tags/code.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [execution](<https://devfeed.tech/tags/execution.md>), [failure](<https://devfeed.tech/tags/failure.md>), [false-positives](<https://devfeed.tech/tags/false-positives.md>), [framework](<https://devfeed.tech/tags/framework.md>), [hpc](<https://devfeed.tech/tags/hpc.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [translation](<https://devfeed.tech/tags/translation.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

The proposed agent-skill workflow improves verified code-translation correctness while using fewer tokens in the reported evaluation. It assigns translation, compilation diagnosis, and execution validation to separate agents; a verdict-driven orchestrator routes failures to targeted repair skills, and automated output checks drive self-correction. Offline LLM verification is used to catch false positives that pass compiler and runtime checks. Across 30 HeCBench kernels translated in both directions among CUDA, OpenMP, and SYCL using three open-source LLMs, the framework had a higher verified correctness rate than the baseline in all 18 model and direction combinations and used up to 52.4% fewer tokens. The abstract reports consistency across models and directions without architectural modification.

## Source excerpt

arXiv:2611.08947v1 Announce Type: new Abstract: Translating parallel scientific codes between HPC programming frameworks is a critical but labor-intensive task. Existing LLM-based approaches rely on fixed sequential pipelines with undifferentiated repair strategies and correctness criteria that do not match scientific computing practice. We present an agent-skill framework that separates translation, compilation diagnosis, and execution validation into three autonomous agents coordinated by a verdict-driven orchestrator, routing each failure to a targeted repair skill rather than retrying blindly. An automated output check drives the self-correction loop, complemented by an offline LLM-based verification that exposes false positives escaping compiler and runtime checks. We evaluate the framework on 30 HeCBench kernels translated bidirectionally among CUDA, OpenMP, and SYCL with three open-source LLMs. Our framework attains the higher verified correctness rate in all 18 model and direction combinations over a state-of-the-art baseline while consuming up to 52.4% fewer tokens, remaining consistent across models and directions without architectural modification.