An Artificial Intelligence (AI) Approach to Convert Operational Procedures into C2 Scripts
PURPOSE
Feasibility assessment that investigates LLM capability to generate code for ground C2 systems from operational satellite vehicle procedural flowcharts.
BACKGROUND
The future of rapid military capability development hinges upon the exploitation of advanced technologies to outpace evolving adversarial threats. A central acquisition priority across the Department of War (DoW) as a whole is to reduce programs that are over budget, behind schedule, and underperforming.[1] Concurrently, the United States Space Force (USSF) recognizes the need to bolster the acquisition process with artificial intelligence (AI) to expeditiously deliver mission critical systems to our warfighters and to enhance the effectiveness of our national defense capabilities.[2] An age-old acquisition challenge is the manual and cumbersome integration of space vehicle mission-unique procedures onto the respective ground system’s flight control software. The current process imposes substantial manpower costs, preventable schedule delays, and increased performance risk; all of which delay capability delivery to the Joint Force.[3] Current Department of the Air Force space acquisition transformation strategies identify the importance of leveraging AI to streamline the capability delivery process to the warfighter.[4]
This paper investigates the application of Large Language Models (LLMs) to automate the generation of ground command and control (C2) scripts directly from written operational procedures. If demonstrated to be a feasible approach, this capability would revolutionize the mission on-boarding and system integration processes by compressing timelines, slashing labor costs, reducing engineering burden, and increasing mission resilience. This paper elaborates on LLMs, the relevance of LLMs in recent modernization efforts, specific use cases for this approach, results of the conducted pathfinder test, and a recommended route forward for the implementation of this AI tool. Results of this assessment argue in favor of further exploration and implementation of LLMs for this use case and other potential avenues within the DoW at large.
Large Language Models are a class of AI system designed to understand natural language, reason about provided data, and generate coherent outputs. Examples of LLM output include content synthesis, text summarization, and procedural reasoning. Built upon deep neural network architectures and trained on extensive databases, LLMs can learn complex syntactic, semantic, and logistical patterns that enable generalizable problem-solving capabilities. Recent advancements in this area of research demonstrate that with sufficient training, LLMs can be effectively adapted and fine-tuned for highly specialized applications. A substantial body of research is actively exploring techniques such as prompt engineering, reinforcement learning, agentic pipeline development, and fine-tuning methods to align these models with specific output objectives. The scope of this paper evaluates the feasibility of Impact Level 5 (IL5) LLMs through structured prompt engineering, supervised fine-tuning, and reinforcement learning approaches to automate the generation of operational ground scripts from a database of satellite procedures.[5]
Leveraging LLMs to expedite and refine desired outputs is gaining traction in the space domain. In 2025, the European Space Agency developed a 7-billion parameter instructed LLM specifically designed for Satellite Communications constellations. The trained model, developed on Llama-3v, demonstrated a 6.6% improvement over the baseline model, worked significantly better than retrieval-augmented generation (RAG) methods, and performed incomparably better than a completely manual approach.[6] This assessment was a pathfinder to the advancements of LLMs for space domain-specific applications from the civilian sector. In the same vein, several branches in the DoW are funding efforts that explore the use of LLMs to expedite notoriously cumbersome, yet mission critical processes.[7] For example, the U.S. Air Force has an extensive modernization initiative called Next Generation Information Technology for Mobility Readiness Enhancement (NITMRE). A subset of this effort is Conversational AI Technology for Transition (CAITT) which is an Air Force sponsored artificial intelligence initiative conducted at the Massachusetts Institute of Technology Lincoln Laboratory (MIT LL) to enhance air mobility mission planning. This project uses natural language processing to classify major trends, retrieve specific information, identify critical decision points, and contextualize content to reduce cognitive load, bolster decision making logic and streamline global transport logistics between pilots, flight crews, and air traffic controllers in the Air Mobility Command.[8] Involvement from notable civilian, military, and Research and Development (R&D) entities is a testament to the importance of this assessment.
The Space Systems Command System Delta 89 Space Development Directorate is an acquisition unit whose mission is to advance national security space capabilities through experimentation, innovation and prototyping.[9] As an R&D unit on the forefront of testing novel technologies, the mission portfolio requires the need to expeditiously develop and test these innovative capabilities. It is imperative to develop prototypes rapidly, expeditiously integrate amongst various vendors, and iteratively test these systems throughout the development lifecycle. A critical challenge commonly faced by these experimental units is integrating mission deliverables from various vendors. Each company often utilizes distinct code structures, unique application programming interfaces (APIs), disparate data modalities, and differing procedural documentation formats. The current approach used is to hire integration contractors for manual assembly of the architecture. This method is inefficient, inflexible, resource intensive, lacks scalability, and hinders mission development timelines. These types of technological barriers that impede the rapid deployment of new space capabilities cripples the ability of the Space Force to counter adversarial threats which are growing at alarming rates; ultimately jeopardizing our ability to maintain space superiority.
DISCUSSION
The purpose of this assessment was to determine if an LLM can be trained to generate ground C2 scripts from space vehicle procedures. Specifically, how well an LLM can convert EELV Secondary Payload Adapter (ESPAStar) satellite bus manuals to Python scripts that successfully run in an open-source command and control flight software suite known as OpenC3 Cosmos. The assessment also investigated to what degree human-in-the-loop resources could be reduced and what the potential benefits would be of this novel human-machine synergistic approach. The scope of the assessment is broken down into six predominant phases, each iterating on the previous.
1. The first part of the study was to determine which LLMs were feasible to use. The Government Non-Classified Protocol Router Network (NIPR) has access to GenAI and AskSage, both of which are multi-modal generative AI technology platforms that can handle sensitive information. GenAI is under development, and as such, Gemini is the only LLM available currently on this platform. On the other hand, Ask Sage is much more robust but is expected to be replaced by GenAI. To prevent testing on models that are either rudimentary or soon to be obsolete, this study used MIT LL’s Co-Pilot LLM. As part of the Microsoft 360 Suite and a pending component of the GenAI platform, Co-Pilot is a strong LLM cleared to process CUI on the MIT LL network and is scheduled for release on the NIPR network as well. An assumption made was that most of the functional processing capability will be preserved amongst different Co-Pilot LLMs independent of the specific platform on which it is located. This is a critical assumption since a key differentiating factor of the selected Co-Pilot model was the ability to parse Portable Document Format (PDF) documents.
2. Once the model was selected, the next step was to test what type of material the LLM could ingest and correctly process. The input data consisted of ESPAStar Procedure Flowcharts as PDFs, ESPAStar Procedure Pseudocode as PDFs, a Command and Telemetry List (CTL) as an Excel file, the OpenC3 Scripting API Guide as a web link, and example output scripts as python files. The LLM accepted all these inputs and processed them without notable hallucinations or incompatibility. An identified limitation was that this model could not ingest image files. While not an issue for this specific use case, it is a notable setback. Results from this phase are as follows:
a. When prompted with the flowchart PDFs, the model correctly parsed out the steps and used correct logic that concurred with the desired flow.
b. The original bus scripts were written in Maestro which were deliberately omitted as input. Prior to this study, a brief test was conducted to determine if this LLM could translate Maestro scripts into Python. This proved to be largely successful and very simple for the model to compute. As such, the scope of this study is specifically to test determine if LLMs can use diagrams and natural language to generate coding scripts, ultimately bypassing the need for any original coding language in order to conduct ground script generation.
c. Prior to ingesting the scripting guide, the sample output was rudimentary and included lines of code for simple commands that can be called from the flight software. After instructing the LLM to use the OpenC3 Scripting Guide and providing the web link, the output scripts imported the correct functions from OpenC3 in the code and removed the external calls. A means to bypass this in future iterations is to create a pre-processing script that includes all utility scripts and functions used to eliminate external calls in the generated code.
d. The CTL contains the syntax of all the specific bus commands and telemetry packets. This is an extremely large file which took the LLM several minutes to ingest, nonetheless, it did not exceed its compute limit. The accuracy of this process was determined by assessing the correct naming of the command and telemetry data points consistent with the expected nomenclature. It will also be further validated in future elements of this assessment since the vehicle simulator would fail if there were syntactical errors within the code.
3. The previous phase proved that this LLM has sufficient multi-modal flexibility and compute capabilities to accept inputs of various sizes and file types. Now, the LLM was prompted to generate Python scripts compliant with OpenC3 scripting standards.
a. The original prompt asked for the generation of a COSMOS compliant script given the general mission CTL along with the flowchart and pseudocode for a specific operational procedure. Note that at this point, the LLM has not been given any feedback on what the Python script outputs should look like. As such, the initial version of the script was different from the ideal output. The LLM broke down the procedure into two overarching functions and included all the scripting of the utility functions within the code. This script was not tested in the COSMOS simulator, so functionality was not assessed. A visual assessment of the code structure and commands was sufficient to determine this was not the desired output. The generated script cited comments throughout the code to indicate where it gathered the data to generate specific functions within the script. It appeared that the LLM correctly synthesized the information, but the script structure was inefficient and not in an ideal human readable format.
b. Without giving any feedback on the previous input, the next prompt provided an example which included the flowchart, pseudocode, and manually developed Python script of a different procedure. The model was prompted to regenerate the Python script output of the original procedure using the example as a valid reference. The new output was completely structurally revamped to emulate the example. This included the same header texts, structural breakdown of each step as a separate function, and even included the utility imports from the validated scripts. Interestingly, the LLM was not given the list of utility scripts (a limitation of this study), nonetheless, it was able to interpret their function since they were used in the example output provided. A pivotal observation in this assessment is that once the model was given a singular example of what right looks like, the quality of the output increased notably. A strength of LLMs is pattern recognition which was proven here. After feeding the model with only one example, the script outputs all closely followed the same code structure.
4. At this point the output script appears to be an 80% solution with minor formatting inefficiencies. Again, the scripts have not yet been tested in the simulator. This phase of the study involved using supervised fine-tuning prompts for specific structural and syntactic changes in the code. For example, the previous output broke down each step into a function but there was no consolidated run function. The model was directly prompted to label each function with the step number and then a final run function following the flowchart logic. The LLM was able to make this modification without need for manual edits. Another desired change was to generalize the target name input by using Embedded Ruby (ERB) templates. When the model was provided a prompt with the specific syntax of this change, it correctly generated the desired output with no additional fixes needed. Thus far, the feedback provided has focused on consistency, coding best practices, and historical patterns rather than on operational functionality.
5. The next step of the assessment was to determine if the model could incorporate error messages from the simulator and self-correct the script. This portion of the study involved running the output Python code in COSMOS using an ESPAStar vehicle simulator. A full agentic pipeline was not created, instead, the error messages were passed in a prompt to the LLM which then generated the output script with the corrections. Surprisingly, there was only one error in the script after the original output was run through the simulator. This error resulted from use of a utility script when calling text banners. In other words, the model successfully ingested the error message and corrected the script. The revised script then ran correctly and to completion in the simulator without any further edits. To ensure accuracy of the script, the procedure was followed step-by-step to emulate operations and confirm proper commanding.
6. Now that the LLM was able to create a fully functional script, the final step was to test if the model would be able to incorporate all the data and feedback to generate scripts of more complicated procedures. To assess this, two more procedure flowcharts and pseudocode PDFs were passed as inputs, and their respective outputs were run through the simulator. None of the mistakes that were previously corrected were present in the output. Two minor errors were detected but both were due to discrepancies between the CTL and current state of the plug-in. Had the model been given the most up to date information, these errors may have likely been avoided. At this point, the study has shown the LLM can correctly generate COSMOS compliant Python scripts. An important take away from this part of the assessment is ensuring that there are proper documentation and adequate synchronization between the CTL and the state of the plugin in order to prevent these kinds of errors.
RESULTS
The results of this assessment showed that LLMs have the capability to successfully translate human understandable operational procedures into machine interpretable ground scripting code. The script outputs from the LLM and conversion tool were not error-free, thus the software integration process would still require a degree of human oversight. Nevertheless, these small manual fixes are negligible in terms of time and resources compared to manual generation of the entire ground script database. The recommended path forward is to utilize a trained LLM to conduct the bulk of code generation from the satellite bus and payload operational procedures for initial development while leveraging a human-in-the-loop to conduct quality control reviews.
Though the results of this initial assessment were promising, there is significant work to be done to further refine this model and better understand the capabilities of LLMs. Future work is to repeat this assessment on a Government-owned LLM. It will be important to determine if the DoW AI models are robust enough for these types of complex applications. Ongoing efforts are currently leveraging USSF AI accelerator environments to conduct this analysis via a Microsoft Azure platform. Now that the technical feasibility has been proven, this comparative seeks to translate all the ESPAStar scripts using both the AI accelerator platform and manual translation approaches to truly quantify the cost, schedule, and performance impact of this alternative approach.
CONCLUSION
This paper demonstrates that using Large Language Models in spacecraft ground system integration offers a transformative opportunity to modernize acquisition workflows, hasten capability delivery, and strengthen mission resilience across the military space enterprise. The automated generation of operational command and control scripts directly from written space vehicle procedures removes a critical hurdle in the mission on-boarding process. This synergistic human-machine interaction approach of using LLMs to develop the initial scripts with manual refinement would notably drive down cost, accelerate acquisition timelines, and reduce performance risk. The recommended path forward is to operationalize this initial capability through controlled deployment within R&D units and employ a human-in-the-loop model to ensure reliability while progressively reducing manual intervention. This approach provides a scalable pathway to compress integration timelines, reduce contractor dependence, and enhance mission agility across future space systems. Ultimately, AI-enabled approaches will be essential in preserving our space superiority in an increasingly contested domain.
The views and opinions expressed in this paper are solely those of the author and do not reflect the official policy, position, or endorsement of the Department of War, the United States Space Force, or any other agency of the U.S. Government.
First Lieutenant Samantha Botros is an AFIT/CI scholar pursuing master’s degrees in Mechanical and Aerospace Engineering at the Massachusetts Institute of Technology. Her work focuses on AI-enabled system development and human robot interaction. Previously, she was the Mission Onboarding Lead Program Manager for the Innovation and Prototyping Acquisition Delta for Space Systems Command at Kirtland Air Force Base, New Mexico. She led the development of next-generation, cloud-native ground architectures for space R&D missions and directed a 120-member team delivering several prototype satellite programs valued at $760M. During this tour, Samantha also served as a Flight Director, leading on-orbit operations of experimental missions.
REFERENCES
[1] Ainsworth, Thomas W. "Written Statement of Mr. Thomas W. Ainsworth, Performing the Duties of Assistant Secretary of the Air Force for Space Acquisition and Integration." Testimony before the House Committee on Armed Services, Subcommittee on Strategic Forces. Hearing on National Security Space Programs and Activities, March 25, 2026. https://armedservices.house.gov/uploadedfiles/hasc-sf_written_statement_ainsworth.pdf.
[2] Space Systems Command Public Affairs. "The Guardian's Edge: Inside the Space Force's Three-Pronged Push for AI Dominance." Space Systems Command, March 23, 2026. https://www.ssc.spaceforce.mil/Newsroom/Article/4436489/the-guardians-edge-inside-the-space-forces-three-pronged-push-for-ai-dominance.
[3] United States Government Accountability Office. Defense Acquisitions: Challenges in Aligning Space System Components. GAO-10-55. Washington, DC: Government Accountability Office, October 29, 2009. https://www.gao.gov/products/gao-10-55.
[4] United States Space Force, Deputy Chief of Space Operations for Cyber and Data. Data & Artificial Intelligence FY 2025 Strategic Action Plan. Washington, DC: Department of the Air Force, March 19, 2025.
[5] United States Department of War. Defense Information Systems Agency. Cloud Service Provider (CSP) Security Requirements Guide (SRG), Version 1, Release 7. Fort Meade, MD: Defense Information Systems Agency, June 30, 2026.
[6] Mozo, Alejandro Jesús, Sergio Gálvez-Rojas, Ioannis Christou, Dimitrios Vogiatzis, Tomás Navarro, and Francisco López-Valverde. "Adapting LLMs for Satellite Communications: Methodology, Challenges, and Impact." IEEE Access, September 2, 2025. https://doi.org/10.1109/ACCESS.2025.3605022.
[7] Foy, Kylie, and Ariana Gaines. "MIT Lincoln Laboratory Remains a Driving Force in National Security Innovation." MIT Lincoln Laboratory News, July 26, 2026. https://www.ll.mit.edu/news/mit-lincoln-laboratory-remains-driving-force-national-security-innovation.
[8] Foy, Kylie. "Artificial Intelligence Enhances Air Mobility Planning." MIT Lincoln Laboratory News, March 28, 2025. https://www.ll.mit.edu/news/artificial-intelligence-enhances-air-mobility-planning.
[9] Kirtland Air Force Base. "Space Systems Command - Innovation & Prototyping Acquisition Delta." Units. Accessed September 16, 2026. https://www.kirtland.af.mil/Units/Space-Systems-Command.
