NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Low-code LLM: Graphical User Interface over Large Language Models

Yuzhe Cai, Shaoguang Mao, Wenshan Wu, Zehua Wang, Yaobo Liang, Tao Ge, Chenfei Wu, Wang You, Ting Song, Yan Xia, Nan Duan, Furu Wei

Abstract

Utilizing Large Language Models (LLMs) for complex tasks is challenging, often involving a time-consuming and uncontrollable prompt engineering process. This paper introduces a novel human-LLM interaction framework, Low-code LLM. It incorporates six types of simple low-code visual programming interactions to achieve more controllable and stable responses. Through visual interaction with a graphical user interface, users can incorporate their ideas into the process without writing trivial prompts. The proposed Low-code LLM framework consists of a Planning LLM that designs a structured planning workflow for complex tasks, which can be correspondingly edited and confirmed by users through low-code visual programming operations, and an Executing LLM that generates responses following the user-confirmed workflow. We highlight three advantages of the low-code LLM: user-friendly interaction, controllable generation, and wide applicability.

Introduction

While Large Language Models (LLMs) like GPT-4 have demonstrated remarkable capabilities, their application to complex, multi-step tasks remains fraught with difficulty. Currently, users rely heavily on "prompt engineering"—a trial-and-error process of refining text-based instructions. This approach suffers from significant drawbacks:

  1. Uncontrollability: Ensuring a model adheres to a specific logical structure over long generations is difficult.
  2. Efficiency: Refining prompts is time-consuming and often lacks a clear path to improvement.
  3. Lack of Transparency: The generation process is essentially a "black box," making it hard to identify where a multi-step task went wrong.

Low-code LLM addresses these issues by introducing a visual, editable workflow that bridges the gap between human intent and model execution.

The Low-code LLM Framework

The core innovation of Low-code LLM is the decoupling of the planning and execution phases, mediated by a Graphical User Interface (GUI).

Comparison between conventional Human-LLM interaction and the proposed Low-code LLM framework.

The framework operates through three primary components:

  • Planning LLM: Instead of generating a final response immediately, the Planning LLM creates a Structured Planning Workflow. This is a Standard Operating Procedure (SOP) represented as a flowchart with discrete steps and conditional "jump logic."
  • Graphical User Interface (GUI): The workflow is presented as an interactive flowchart. Users can intervene in the logic of the task before the final generation begins.
  • Executing LLM: After the user confirms or modifies the workflow, the Executing LLM follows the plan step-by-step to produce the final output.

Visual Programming Interactions

To make the framework accessible, the authors implemented six "low-code" operations that allow users to steer the model without writing complex prompts:

The six types of low-code visual programming interactions provided by the framework.
  • Adding/Removing Steps: Users can refine the process by inserting new requirements or deleting unnecessary ones.
  • Modifying Step Content: Users can double-click steps to edit names or descriptions.
  • Extending Sub-flowcharts: Complex steps can be broken down into more granular sub-processes.
  • Adding/Removing Jump Logic: Users can define conditional branches (e.g., "If research is insufficient, return to the research step").
  • Changing Order: Steps can be reordered via simple drag-and-drop.
  • Regeneration and Confirmation: Users can request the Planning LLM to rethink specific parts of the plan before final execution.

Applications and Key Results

The researchers evaluated Low-code LLM across four diverse pilot cases:

  • Long Content Generation: In essay writing, users could edit the thesis statement in the flowchart, ensuring the entire multi-paragraph output remained aligned with their specific viewpoint.
  • Large Project Development: For object-oriented programming (OOP), the framework allowed users to explicitly define class hierarchies, forcing the model to produce architecturally sound code that standard "one-shot" prompts often failed to achieve.
  • Task-completion Virtual Assistant: In a hotel reservation scenario, the framework allowed a "manager" to define specific policies for room unavailability, preventing the bot from hallucinating unhelpful responses.
  • Knowledge-embedded System: A resume-building helper demonstrated how domain-specific logic could be embedded directly into the workflow.

Discussion and Conclusion

Low-code LLM shifts the paradigm from "prompting" to "programming" with natural language. By using a workflow as an intermediate language, the framework provides a bridge that is structured enough for machines to follow and intuitive enough for humans to edit.

While the framework reduces the burden of prompt engineering, it does introduce a new form of cognitive load as users must understand and modify flowcharts. Furthermore, the quality of the initial plan depends on the Planning LLM. Future work will focus on improving the Planning LLM's robustness and exploring specialized industrial applications where controllable collaboration is paramount.

Summary updated

BibTeX
@inproceedings{cai2024low,
  author = {Yuzhe Cai and Shaoguang Mao and Wenshan Wu and Zehua Wang and Yaobo Liang and Tao Ge and Chenfei Wu and Wang You and Ting Song and Yan Xia and Nan Duan and Furu Wei},
  title = {{Low-code LLM: Graphical User Interface over Large Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=SAaARjKHX3},
}
Figure