Arrow Research search
Back to AAMAS

AAMAS 2026

DomAgent: Leveraging Knowledge Graphs and Case-Based Reasoning for Domain-Specific Code Generation

Conference Paper Extended Abstracts Autonomous Agents and Multiagent Systems

Abstract

Large language models (LLMs) perform well on general code generation but often struggle with domain-specific software tasks due to limitedspecializedknowledgeintheirtrainingdata. WeproposeDomAgent, an autonomous coding agent that enables domain-adapted code generation through structured reasoning and targeted retrieval. Its core module, DomRetriever, combines knowledge-graph reasoning with case-based reasoning to iteratively retrieve and synthesize relevant domain knowledge and examples. Experiments on the DS-1000 benchmark and real-world Volvo truck software development tasks show that DomAgent significantly improves domainspecific code generation, allowing small open-source models to approach the performance of large proprietary LLMs. The code is publicly available at: https: //github. com/Wangshuaiia/DomAgent.

Authors

Keywords

  • LLMs
  • Domain-Specific Code Generation
  • Knowledge Graph

Context

Venue
International Conference on Autonomous Agents and Multiagent Systems
Archive span
2002-2026
Indexed papers
8043
Paper id
404509200874530048
v2026.09.13