Back to search

Monterey, CA; Naval Postgraduate School

HIVEMIND: MULTI-AGENT LARGE LANGUAGE MODELS FOR OFFLINE SOFTWARE DEVELOPMENT

Abstract

dc:description.abstract

General large language models’ (LLMs) ability to process natural language requests and return sound output to users has been revolutionary. Still, it comes at the cost of extensive computing power, reliable internet connections, and time. This thesis creates a system, HIVEMIND, that explores the use of multi-agent open-source LLMs, Llama3.1 and Mistral-small, in an open-source framework, AutoGen, to facilitate communication between multiple LLM agents, each specialized to a specific task in a process, to provide an alternate approach to improving LLM performance in an offline (air-gapped) environment. With proper architecture tuning, results showed that three-agent configurations achieved the best efficacy in solving, executing, and debugging code challenges. On medium and hard code challenges, the three-agent Mistral-small outperformed with a modest increase in compute resources. The HIVEMIND system can be deployed on ships and in other offline military environments today to enhance LLM performance in assisting developers with software creation and code problem-solving, utilizing off-the-shelf components for $3,199 per installation or $2 million for two HIVEMINDs for 300 ships.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department dc:contributor.department
Computer Science (CS)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Asuncion, Justin G.
Advisors dc:contributor.advisor
  • Orescanin, Marko
  • Duvio, Dalton L.

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Distribution Statement A. Approved for public release: Distribution is unlimited.

Identifiers

dc:identifier.*
Dc Identifier Programcode
368, Computer Science
Thesis Thesis Identifier
41009

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Asuncion, Justin G.. HIVEMIND: MULTI-AGENT LARGE LANGUAGE MODELS FOR OFFLINE SOFTWARE DEVELOPMENT. Masters thesis, Monterey, CA; Naval Postgraduate School, 2025. https://hdl.handle.net/10945/74672