NobleBlocks

Research indexJournal article

Agent-based code generation for the Gammapy framework

Kostunin, Sotnikov, Golovachev and 3 others

DESY Publication Database (PUBDB) (Deutsches Elektronen-Synchrotron)1 Jan 2025Open access

NobleIDark:/48914/w1/20261105/4F05D440DOI10.3204/pubdb-2026-00668

Free to read at the publisher

You can read the abstract here, or the full text at the publisher.

Read at the publisher

Abstract

Software code generation using Large Language Models (LLMs) is one of the most successful applications of modern artificial intelligence. Foundational models are very effective for popular frameworks that benefit from documentation, examples, and strong community support. In contrast, specialized scientific libraries often lack these resources and may expose unstable APIs under active development, making it difficult for models trained on limited or outdated data. We address these issues for the Gammapy library by developing an agent capable of writing, executing, and validating code in a controlled environment. We present a minimal web demo and an accompanying benchmarking suite. This contribution summarizes the design, reports our current status, and outlines next steps.

More

Suggest a correction or report