{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/74672"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/74672","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"HIVEMIND: MULTI-AGENT LARGE LANGUAGE MODELS FOR OFFLINE SOFTWARE DEVELOPMENT","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.","abstract_html":"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.","abstract_has_math":true,"creators":["Asuncion, Justin G."],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"Master of Science in Computer Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science (CS)","school":null,"contributors":[],"advisors":["Orescanin, Marko","Duvio, Dalton L."],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-09","date_published":"2025-09","updated_at":"2026-11-19T06:43:09Z","subjects":[],"languages":[],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["368, Computer Science"],"render_values":[{"text":"368, Computer Science","href":null,"code":true}]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["41009"],"render_values":[{"text":"41009","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/74672","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/74672","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F74672","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F74672","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Orescanin, Marko","Duvio, Dalton L."]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science (CS)"]},{"key":"dc:creator","label":"Author","values":["Asuncion, Justin G."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-03-05T17:46:38Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-03-05T17:46:38Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-09"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["67864e54-711d-4c0a-a6d4-439a011f2bd1"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["41009"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["artificial intelligence","AI","machine learning","ML","large language model","LLM","ChatGPT","Mistral","Llama","AI agents","multi-agent systems","code generation","software debugging","prompt engineering","offline inference","edge models","air-gapped networks","AutoGen framework","Department of Defense","DoD","U.S. Navy","open-source models"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["368, Computer Science"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/74672"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:title","label":"Title","values":["HIVEMIND: MULTI-AGENT LARGE LANGUAGE MODELS FOR OFFLINE SOFTWARE DEVELOPMENT"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Lieutenant, United States Navy"]}]}],"canonical_facts":{"dc:contributor.advisor":["Orescanin, Marko","Duvio, Dalton L."],"dc:contributor.department":["Computer Science (CS)"],"dc:creator":["Asuncion, Justin G."],"dc:date.accessioned":["2026-03-05T17:46:38Z"],"dc:date.available":["2026-03-05T17:46:38Z"],"dc:date.issued":["2025-09"],"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."],"dc:identifier.programcode":["368, Computer Science"],"dc:identifier.uri":["https://hdl.handle.net/10945/74672"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:relation.orgunit":["67864e54-711d-4c0a-a6d4-439a011f2bd1"],"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."],"dc:subject.keyword":["artificial intelligence","AI","machine learning","ML","large language model","LLM","ChatGPT","Mistral","Llama","AI agents","multi-agent systems","code generation","software debugging","prompt engineering","offline inference","edge models","air-gapped networks","AutoGen framework","Department of Defense","DoD","U.S. Navy","open-source models"],"dc:title":["HIVEMIND: MULTI-AGENT LARGE LANGUAGE MODELS FOR OFFLINE SOFTWARE DEVELOPMENT"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Lieutenant, United States Navy"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Computer Science"],"thesis:institution_name":["Naval Postgraduate School"],"thesis:thesis_identifier":["41009"]},"updated_at":"2026-11-19T06:43:09Z"}