Manuscript Offprint
arXiv:2610.17083Declarative Reactive Robot Behaviors from Imperative Language Models
Vincent Berenz , Tasha Kim , Bernhard Schölkopf
Max Planck Institute for Intelligent Systems, Tübingen, Germany
University of Oxford, Oxford, United Kingdom
ELLIS Institute Tübingen, Germany ETH Zürich, Zürich, Switzerland
{vincent.berenz, bernhard.schoelkopf}@tuebingen.mpg.de, tasha.kim@eng.ox.ac.uk
Abstract—Large Language Models (LLMs) are predominantly trained on imperative programming languages, and existing work on LLM-based robot programming reflects this: it focuses on goal-directed tasks expressed as plans. However, many robotic applications require not tasks but behaviors—open-ended, continuous patterns of sensory-motor engagement with no termination condition (e.g., greeting visitors, patrolling an area). Such behaviors are better served by declarative and reactive programming, on which LLMs have virtually no training. We investigate whether this gap can be bridged. Using PLAYFUL, a reactive scripting language, we show that an LLM-based coding agent can generate correct declarative and reactive programs for robotic behaviors. These programs are produced from under-specified natural language descriptions, given suitable context and a set of reusable programming guidelines. The guidelines encode design principles that redirect the agent from imperative defaults toward proper reactive patterns. Developed once by an expert, they generalize across robots and behaviors. Starting from only the generic robot operating system API, the agent jointly designs both the imperative component (Python modules for sensing, acting, and evaluating) and the declarative component (the reactive script that composes them into behavior logic). The declarative nature of reactive programming supports both incremental refinement through conversational turns and one-shot generation of complete behaviors.
I. INTRODUCTION
The vision of users programming robots through natural conversation is a longstanding goal of human-robot interaction research [1]–[3]. Recent advances in speech recognition and LLMs have made this increasingly feasible. A common pipeline transcribes speech, interprets it using an LLM, then converts it into executable code [4], [5]. Existing work has largely focused on task-oriented programming, which entails generating programs that achieve a specific goal with explicit success criteria and termination conditions (e.g., “bring me a coffee”). Such tasks naturally align with imperative programming, since the structure of plan execution can be modeled by sequential control flow, explicit state transitions, and conditional branching. This is precisely what LLMs excel at, as they are trained predominantly on imperative programming languages.
In this paper, we address the distinct challenge of programming robotic behaviors, a term we use to denote open-ended, continuous patterns of sensorimotor engagement that persist and adapt over time (e.g., “greet visitors in a friendly manner”), which are not reduced to a single success criterion or termination condition. This kind of persistent reactivity has long been studied in rule-based agent architectures and robot control systems [6], [7]. In contemporary robotics, behavior trees (BTs) are often used to organize reactive behavior logic [8], [9]. Programming behaviors requires specifying what a robot should do under what conditions, with continuous evaluation and adaptation, which are requirements that are naturally captured by declarative and reactive programming [10], [11]. Yet, LLMs trained predominantly on mainstream imperative languages have very limited exposure to declarative or reactive paradigms, particularly in the context of domain-specific languages (DSLs) [12].
This raises the question of whether LLMs can generate correct declarative and reactive programs despite this training gap. We investigate whether this gap can be bridged using PLAYFUL [11], a behavior programming platform with two components. The first is an imperative component: Python modules implementing sensing, acting, and evaluation primitives that interface with the robot's operating system. The second is a declarative and reactive component: a scripting language composing these modules into hierarchical condition-action mappings that are continuously evaluated at runtime to form BTs [8]. The declarative script encodes the logic of the behavior, and the Python modules provide the interface to the robot.
A further challenge is that natural language behavior descriptions are inherently under-specified: users rely on common-sense assumptions, rarely detail low-level aspects of the desired behavior (e.g., at what distance to stop, where to direct gaze, how to arbitrate competing actions), and may leave parts intentionally open. BTs are well suited to this problem: the top levels of the tree correspond to what the user does specify, while the lower levels encode details the user leaves implicit. We ask if an LLM can fill in these lower levels appropriately, and whether the development process allows the user to observe and correct mismatches incrementally. We investigate whether, given
© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. Accepted to the 2026 IEEE International Conference on Robot and Human Interactive Communication (RO-MAN).
suitable context (language documentation, a developer tutorial, and a set of reusable programming guidelines) an LLM-based coding agent can generate correct PLAYFUL programs from under-specified descriptions, despite having no prior training on the language or the reactive paradigm. A key empirical finding motivates this study: without explicit paradigm-level guidelines, the agent produces syntactically valid but poorly structured programs, in which behavioral logic leaks into Python procedural code rather than being expressed through the DSL's declarative mechanisms. This is a direct consequence of the agent's imperative defaults. But when provided with guidelines authored once by an expert, the same agent reliably produces well-structured reactive programs. This demonstrates that LLMs can work with declarative paradigms when given sufficient context that illustrates how the language works and what correct design looks like. The declarative nature of PLAYFUL also supports incremental conversational refinement [9]: since statements are independent and order-irrelevant, the coding agent can add or modify rules based on conversational turns without restructuring existing code.
The agent starts from only the generic robot operating system (OS) API. Then it leverages its native strength in imperative code where it applies, to jointly design both the imperative Python modules and the declarative script that composes them into behavior logic. The guidelines steer it through the declarative component. This co-design produces a reusable primitive library that transfers across qualitatively different behaviors, with the agent inventing domain-appropriate primitives as needed. We evaluate this approach on the Pepper humanoid robot [13] with two qualitatively different behaviors across three experiments: step-by-step conversational development, one-shot generation of the same behavior, and one-shot generation of a novel behavior.
A. End-user and natural-language robot programming
Programming robots through natural interaction is a longstanding challenge in human-robot interaction [2]. Early dialog-based systems allowed end users to define robot social behaviors through structured conversation [3]. The present work contributes to this tradition: by pairing an LLM coding agent with a declarative reactive language, we enable behavior specification through natural language, with the generated script serving as a transparent, human-readable artifact that users can inspect and refine. This is a property that purely neural approaches do not provide.
B. LLMs for task-oriented robot execution
LLMs have been extensively applied to task planning and execution. Frameworks such as SayCan [14] and Inner Monologue [15] ground LLM outputs in feasibility and affordance estimates, with execution feedback enabling replanning. ProgPrompt [16] structures task planning as program synthesis using situated context and pre-conditions. LLMs have also been used to generate planning domain specifications directly [17]. These systems excel at decomposing commands into skill sequences and adapting upon failure, but their outputs are fundamentally episodic: structured around achieving a specified objective and terminating, rather than maintaining persistent reactive engagement with the environment. A complementary direction trains generalist visuomotor policies end-to-end [18] [19] [20] [21] [22], but these yield opaque policies that users cannot inspect or incrementally refine—a contrast with the transparent, editable scripts produced here.
C. LLM code generation for robotics
LLMs are predominantly trained on imperative languages, reflected by code generation approaches for robotics; ‘Code as Policies’ [23] synthesizes programs calling perception and control APIs; VoxPoser [24] generates code constructing 3D value maps for manipulation; ‘Language to Rewards’ [25] authors reward functions for reinforcement learning. Surveys of robotic language grounding [5] and LLM applications in robotics [4] confirm that generated artifacts are predominantly imperative: they encode a specific control flow toward task completion. The produced code is editable, but are not naturally compositional. These approaches also assume a suitable API and generate code that calls it, but do not generate the API-level implementation itself. LLMs have also been applied to generate programs in domain-specific languages where training data is scarce [12], which is central to our work: PLAYFUL is a reactive DSL with minimal representation in standard LLM training corpora, motivating use of explicit documentation and expert-authored guidelines as context.
D. LLMs and behavior trees
Several recent works have explored LLM-based BT generation in robotics. BTGenBot [26] and BTGenBot-2 [27] fine-tune small language models to generate BTs for task-oriented robot behaviors from natural language. BT-ACTION [28] uses a test-driven approach to decompose user instructions into modular BTs via LLMs. A code-driven approach [29] generates BTs from natural language using programmatic intermediate representations. Styrud et al. [30] present an assisted programming interface combining user interaction with LLM-based BT generation. BTs have also been learned from demonstration [31], [32], and combined with teleoperation interfaces for collaborative programming [33]. These works share our interest in LLM-based BT generation, but focus on task-oriented behaviors in standard BT formalisms where node types and tree structure are predefined. In contrast, we target open-ended behaviors using PLAYFUL's reactive DSL, and require the agent to jointly design both the declarative BT and the imperative Python modules that implement its primitive nodes, which is a co-design problem not addressed in prior BT generation work.
E. Declarative and reactive behavior programming
Brooks’ subsumption architecture [6] and Nilsson’s teleo-reactive programs [7] established the foundations of rule-based, layered reactive robot control. Formal approaches to reactive synthesis from natural language include temporal logic frameworks: LTLMoP [34] maps natural language to linear temporal logic for robot control synthesis, while recent LLM-based autoformalization approaches translates it to temporal or first-order logic specifications [35], [36]; recent work applies grammar-forcing [37] or code synthesis [38] to improve syntactic correctness of generated specifications. These approaches give formally verifiable artifacts, but are oriented toward task-like safety and liveness constraints, not continuously evaluated, open-ended sensorimotor behaviors.
BTs have become a widely used formalism for hierarchical reactive behavior with runtime selection and fallback [8], [9]. Targets-Drives-Means (TDM) proposed composing BTs via independent declarative statements and priority-based arbitration, with demonstrated usability advantages over traditional flow-chart methods [10], [39]. PLAYFUL builds on TDM, implementing a reactive scripting language whose declarative statements resemble natural language [11]. Prior work has shown that PLAYFUL scripts can be generated from human demonstrations [40]. Our work targets generation from natural language alone, and unlike all prior PLAYFUL work, requires no pre-built primitive library.
III. REACTIVE PROGRAMMING AND PLAYFUL PLATFORM
program:
detect_ball
head_search, priority of 1
targeting ball: look_at, while seen, priority of 2
targeting ball: grasp, while close
grasp:
move_arm
close_hand, while graspable

Fig. 1. A PLAYFUL script and its behavior tree (BT) representation. The red and violet arrows explicit show how sensorimotor loops are enforced.
Consider a robot that should search for a ball, look at it when detected, and grasp it when close. Figure 1 displays the corresponding script as well as its graphical representations.
Rather than encoding this as a sequence of actions, PLAYFUL declares what conditions should trigger what actions. The order of statements is irrelevant: all the four statements of the program are continuously evaluated at runtime. Primitives (detect_ball, head_search, look_at, grasp) are activated when their conditions (seen, close) hold. When primitives compete for a shared resource (e.g. head_search and look_at both control the head) the
A.

B.
C.
D.
Fig. 2. Experimental validation of the generated behaviors on Pepper. The greeter behavior: Pepper robot transitions from idle scanning A. to active engagement B., driven by the declarative script using the targeting keyword. The guardian behavior: Pepper robot patrols C. and intercepts a visitor with stop gesture D., governed by a script that dynamically arbitrates priority, and reuses primitives from the greeter behavior.
higher priority wins. The targeting keyword binds a world-model object (ball) to the associated primitives, and the engine instantiates one set of nodes per detected object. If multiple objects are present, priority of resolves conflicts via dynamic arbitration, continuously recomputed as the environment changes. Conditions, priorities, and leaf nodes are implemented as Python modules that interface with the robot's operating system. Scripts can reference other scripts hierarchically: for example, grasp is a 'sub' PLAYFUL script combining move_arm and close_hand. The result is a behavior tree (Figure 1) whose branches are activated and deactivated at runtime based on evaluations and priorities.
A PLAYFUL application thus comprises two components: an imperative component, reusable Python modules that interface with the robot OS; and a declarative component: the script that composes these modules into behavior logic. A detailed description of the formal semantics is in [11].
IV. EXPERIMENTS
The experiments are designed to demonstrate that a coding agent without prior training on PLAYFUL can generate well-structured robotic applications when guided by paradigm-level design guidelines. Starting from underspecified natural language instructions, the agent jointly develops the imperative layer (Python modules) and the declarative layer (behavior trees). All experiments are conducted using the Pepper humanoid robot [13] and Claude Code (Anthropic, 2025) Opus 4.6 as the coding agent. The context provided to the agent consists of:
TABLE I PROGRAMMING GUIDELINES PROVIDED TO THE CODING AGENT
| Category | Overview |
|---|---|
| Script as source of truth | The playful script must fully describe the behavior; reading Python should not be necessary. |
| Targeting and generality | Nodes and evaluations are generic; scheme-type binding is expressed only in the script via targeting. |
| Scheme types | Distinct behavioral roles require distinct scheme types. |
| Naming | Names must be generic and action-oriented. |
| Resource granularity | Resources map one-to-one to independently controllable API channels and to nodes. |
| Safety | Safety constraints must be visible in the script, not hidden in Python. |
| Oscillation | Resource arbitration is winner-takes-all with no blending; priority crossovers are discrete switches. |
| Code reuse | Reuse Python nodes, evaluations and priorities developed for other behaviors |
• the PLAYFUL language description [11],
-
a PLAYFUL developer tutorial with illustrative examples, and
-
the Pepper robot's robot operating system (ROS) API reference.
The robot API follows a conventional Python-based robotics middleware design, wrapping NaoQi OS (SoftBank Robotics), ROS [41], and OpenPose [42]. It is not specific to PLAYFUL and adheres to standard robotics interface conventions. Importantly, the API is intentionally limited in scope: it exposes only a set of basic, preemptible functions providing high-level access to sensors and actuators, and it is not integrated with advanced control or optimization libraries. This design choice ensures that the observed behavioral complexity arises from the proposed programming approach rather than from capabilities implicitly provided by the underlying middleware. No pre-existing PLAYFUL primitive library is included in the agent's context. Consequently, the agent must implement all Python artifacts—including scheme types, evaluation functions, and leaf nodes—alongside the behavior trees that orchestrate them. The natural language instructions (Figure 3) define two behaviors, referred to as greeter and guardian. These instructions are deliberately under-specified; for instance, they do not explicitly require the robot to search for humans, prioritize battery management, or specify LED control policies. We provide the complete experimental context, including the guidelines (Section IV-A), generated code, and execution videos online.
Behavior 1 (Greeter):
- “Create this new behavior for the Pepper robot: the robot is at a designated location, looking for humans. When it sees one, it waves at them and goes toward them.”
"The designated location and the charger do not correspond to physical objects that can be seen by the robot. They are imaginary locations tracked by odometry."
-
“The robot should never go too far from its designated location.”
-
“When at its designated location, the robot should also turn toward the direction it had at startup.”
-
“The robot should go to its charging station when its battery is low.”
-
“While going to the charger or while charging, the robot should still interact with humans by turning toward them and waving at them.”
-
“Manage the color of the LEDs to be entertaining and informative.”
Behavior 2 (Guardian):
- “Given a location to guard, the robot should patrol around it and (kindly) block people from approaching the location. The robot should find a way to communicate with people that the location is off limits.”
Fig. 3. Natural language instructions that are provided to the coding agent. Behavior 1 was developed both in a single prompt (see Section IV-B), and incrementally, with each step issued in a separate conversational turn (see Section IV-D).
A. Developing the Guidelines
During an exploratory phase, the coding agent was tasked with implementing various behaviors. Although the provided context was adequate for generating syntactically correct programs, the agent tended to default to imperative patterns. Specifically, behavioral logic was often implemented within lower-level Python modules rather than being expressed through the DSL operators (targeting, while, priority of) that are designed to capture this logic at the script level. This approach risks obscuring the behavior specification, undermining the purpose of the reactive declarative formalism, and limiting code reusability. To address these recurring design issues, an expert user compiled a set of reusable, platform-independent guidelines (Table I). Their central objective is to make explicit to the coding agent that behavioral structure and arbitration must reside in the declarative script, while Python modules should remain minimal, reusable building blocks. The guidelines focus on enforcing a proper use of the targeting mechanisms, and also address other aspects such as resource granularity and code reuse. Although these guidelines were developed in response to the agent's shortcomings, they were not derived from any systematic analysis of the agent's generated programs, which might have rendered them agent-specific. Instead, they remain generic: they would prove equally useful to human programmers.
Code and videos available at: https://nextcloud.tuebingen.mpg.de/index.php/s/qq932bWGDAip4Yd
TABLE II DISTRIBUTION OF LOGICAL ELEMENTS BETWEEN THE PLAYFUL SCRIPT AND PYTHON CODE ACROSS BOTH BEHAVIORS
| Element type | Guidelines | No guidelines |
|---|---|---|
| Script logical elements | ||
| Activation conditions (targeting) | 10 | 0 |
| Activation conditions (while) | 10 | 16 |
| Priority assignments | 56 | 20 |
| Mode transitions | 0 | 4 |
| Subtotal | 76 | 40 |
| Python logical elements | ||
| Memory reads | 3 | 11 |
| Memory writes | 5 | 6 |
| Behavioral conditions | 11 | 24 |
| Subtotal | 19 | 41 |
| Ratio (script/Python) | 4.0 | 1.0 |
B. Developing the Behavior
The agent was instructed to implement the behaviors listed in Figure 3, both in the absence and in the presence of paradigm-level guidelines provided in the context. In both conditions, the agent generates complete and functional implementations of the greeter and guardian behaviors in a single pass, including both the Python modules and their orchestration through PLAYFUL scripts. The corresponding tree representations are shown in Figure 4. In the figure, branches are displayed in green. 'Program' is the top node. For the greeter behavior, nodes which are reused in various branches are in pink. For the guardian behavior, nodes reused from the greeter behavior are in orange. Despite the underspecified nature of the natural language instructions—which do not explicitly require human search, battery management prioritization, LED control policies, or enforcement of a distance constraint from the home location—the agent infers reasonable default behaviors. As discussed in the following sections, however, the implementations produced with and without guidelines differ significantly in terms of script readability and code reusability.
C. The Impact of Guidelines
The primary structural difference between the two implementations lies in the use of the targeting keyword, which appears exclusively in the guideline-compliant scripts. This construct makes explicit the relationships between objects, actions (nodes), and behavioral logic (evaluations), enabling reactive behaviors to be expressed declaratively rather than encoded imperatively. As a result, behavioral logic is shifted out of the Python layer and into the scripts.
This effect is reflected quantitatively in Table II. With guidelines, most logical elements are encoded in the declarative scripts, yielding a script-to-Python logic ratio of 4.0. Activation conditions and priority assignments are handled at the script level, while Python modules remain largely free of control logic. In contrast, without guidelines, activation conditions are implemented using imperative while constructs, and a substantial fraction of behavioral conditions
TABLE III LINES OF CODE (PYTHON) REQUIRED FOR THE GUARDIAN BEHAVIOR
| Code source | Guidelines | No guidelines |
|---|---|---|
| New lines (from guardian) | 144 | 263 |
| Reused lines (from greeter) | 225 | 47 |
| Total lines | 369 | 310 |
| Reuse ratio | 61% | 15% |
and memory accesses is embedded in Python, resulting in a balanced logic distribution (ratio 1.0).
The increased declarativity enabled by targeting directly improves code reuse. Reused lines are definitions from the greeter's Python file that the guardian script references directly. As shown in Table III, the guideline-compliant guardian behavior reuses 61% of the Python code defined for the greeter, compared to 15% without guidelines, despite similar total code size. This indicates that making object-action-logic relationships explicit promotes more generic and reusable Python primitives.
D. Iterative Development
The greeter behavior was also developed using the guidelines through six successive natural language instructions (Figure 3). At each iteration, the agent produced a functional behavior tree that was incrementally extended: new requirements were integrated into the existing script without requiring substantial restructuring. This demonstrates that the proposed approach supports iterative behavior development, enabling users to progressively refine and correct robot behavior through multiple conversational interactions.
V. DISCUSSION AND FUTURE WORK
The experiments demonstrated that a coding agent, with no training on PLAYFUL, can: (1) produce well-designed applications when guided by paradigm-level programming guidelines; (2) jointly develop both the imperative layer (Python modules) and the declarative layer (behavior tree); and (3) handle the under-specification inherent in natural language behavior descriptions.
A key finding of our work is that syntactic correctness and sound reactive design are distinct capabilities. When lacking guidelines, the agent produces valid but structurally incorrect programs. In particular, the behavioral logic migrated into Python instead of staying visible in the declarative script. This is a paradigm orientation failure, not of language understanding. That is, the agent's imperative defaults are strong enough to persist, even when DSL offers explicit declarative mechanisms. Guidelines communicate design intent without adding syntax, which redirects the agent toward patterns that it would not have independently selected. This suggests that for reactive or declarative DSL with limited training representation, a likely necessary component for LLM-based paradigm-level guidelines of this kind is likely a necessary component for an LLM-based generation approach.
The experiments show that the agent can develop both layers from high-level natural-language descriptions, without
With guidelines:
(a) Greeter
(b) Guardian

Without guidelines:
(a) Greeter
(b) Guardian

Fig. 4. Flattened tree representations of the PLAYFUL scripts.
prior training on the specific reactive paradigm: a tutorial and a set of guidelines included in the agent's context were sufficient. A notable outcome is that a reusable library of Python primitives (scheme types, evaluation functions, and leaf nodes) was co-developed alongside the scripts, and that these primitives transferred across behaviors.
The coding agent paired with a reactive formalism handles under-specification well. High-level instructions were compiled into behavior trees with multiple layers of abstraction. Much of the lower-level code (sensor processing, proportional control, LED patterns, derived scheme types) was only implicitly specified in the natural language instructions, yet was nevertheless implemented correctly. The co-developed Python primitive library transferred across qualitatively different behaviors, suggesting that a reusable layer accumulates naturally, even without being explicitly requested. Another advantage of the proposed approach is that the resulting behavior is fully specified in a compact script that is easy to understand or amend. The resulting artifact is inspectable, and an expert user can easily audit and refine this.
Our experiments serve as an initial proof of concept that underscores several directions for further investigation. First, the robotic platform and API are intentionally constrained, and the deployed behaviors are deliberately simple, allowing the proposed approach to be examined in isolation; future work should extend the approach to more complex and modern robotic systems to assess scalability and generality. Second, future work could develop principled methods for authoring, refining, or automatically inducing guidelines, reducing reliance on expert knowledge. Lastly, the complete user-facing workflow should be evaluated, in which the embedded speech-to-text software feeds instructions to the agent that deploys the robot's behavior live; this evaluation would also include user-feedback studies on how well the generated behavior aligns with the user's expectations.
VI. Conclusion
LLMs are trained predominantly on imperative code. On the other hand, robotic behaviors are often more naturally expressed through declarative and reactive programming. Our work shows this mismatch is not fundamental. That is, a set of paradigm-level guidelines that are authored once by an expert is sufficient to redirect a coding agent towards sound reactive design. Given these guidelines, a standard language documentation, and robot OS API, an LLM-based coding agent is able to jointly design both the imperative Python modules and the declarative reactive scripts. Through this, they produce deployable robotic applications from natural language alone.
Though the imperative defaults of an agent are strong, they remain unfixed and can be overridden through explicit design principles conveyed through context. This highlights a general strategy when applying LLM-based code generation to declarative and reactive DSLs, which are domains where training data is sparse, but structure of good design can be articulated. The resulting scripts are executable and readable, as they provide artifacts that users can inspect and refine through conversation. This turns reactive scripting into a productive interface that bridges natural language and robot control.
REFERENCES
[1] S. Tellex, N. Gopalan, H. Kress-Gazit, and C. Matuszek, “Robots that use language,” Annual Review of Control, Robotics, and Autonomous Systems, vol. 3, pp. 25–55, 2020.
[2] G. Ajaykumar, M. Steele, and C.-M. Huang, “A survey on end-user robot programming,” ACM Computing Surveys (CSUR), vol. 54, pp. 1–36, 2021.
[3] J. F. Gorostiza and M. A. Salichs, “End-user programming of a social robot by dialog,” Robotics and Autonomous Systems (RAS), vol. 59, pp. 1102–1114, 2011.
[4] J. Wang, E. Shi, H. Hu, C. Ma, Y. Liu, X. Wang, Y. Yao, X. Liu, B. Ge, and S. Zhang, “Large language models for robotics: Opportunities, challenges, and perspectives,” Journal of Automation and Intelligence (JAI), vol. 4, pp. 52–64, 2025.
[5] V. Cohen, J. X. Liu, R. Mooney, S. Tellex, and D. Watkins, “A survey of robotic language grounding: tradeoffs between symbols and embeddings,” in International Joint Conference on Artificial Intelligence (IJCAI), 2024.
[6] R. Brooks, “A robust layered control system for a mobile robot,” IEEE Journal on Robotics and Automation, vol. 2, no. 1, pp. 14–23, 1986.
[7] N. J. Nilsson, “Teleo-reactive programs for agent control,” Journal of Artificial Intelligence Research (JAIR), vol. 1, p. 139–158, Jan. 1994.
[8] M. Colledanchise and P. Ögren, Behavior Trees in Robotics and AI: An Introduction. CRC Press, Inc., 2018.
[9] M. Iovino, E. Scukins, J. Styrud, P. Ögren, and C. Smith, “A survey of behavior trees in robotics and AI,” Robotics and Autonomous Systems (RAS), vol. 154, Aug. 2022.
[10] V. Berenz and K. Suzuki, “Targets-drives-means: A declarative approach to dynamic behavior specification with higher usability,” Robotics and Autonomous Systems (RAS), vol. 62, pp. 545–555, 2014.
[11] V. Berenz and S. Schaal, “The playful software platform: Reactive programming for orchestrating robotic behavior,” IEEE Robotics and Automation Magazine (RAM), vol. 25, no. 3, pp. 49–60, 2018.
[12] S. Joel, J. Wu, and F. Fard, “A survey on llm-based code generation for low-resource and domain-specific programming languages,” in ACM Transactions on Software Engineering and Methodology, 2025.
[13] A. K. Pandey and R. Gelin, “A mass-produced sociable humanoid robot: Pepper: The first machine of its kind,” IEEE Robotics and Automation Magazine (RAM), vol. 25, no. 3, pp. 40–48, 2018.
[14] M. Ahn, A. Brohan, N. Brown, Y. Chebotar, O. Cortes, B. David, C. Finn, C. Fu, K. Gopalakrishnan, K. Hausman, A. Herzog, D. Ho, J. Hsu, J. Ibarz, B. Ichter, A. Irpan, E. Jang, R. M. J. Ruano, K. Jeffrey, S. Jesmonth, N. J. Joshi, R. C. Julian, D. Kalashnikov, Y. Kuang, K. H. Lee, S. Levine, Y. Lu, L. Luu, C. Parada, P. Pastor, J. Quiambao, K. Rao, J. Rettinghouse, D. M. Reyes, P. Sermanet, N. Sievers, C. Tan, A. Toshev, V. Vanhoucke, F. Xia, T. Xiao, P. Xu, S. Xu, M. Yan, and A. Zeng, “Do as I can, not as I say: Grounding language in robotic affordances,” in Conference on Robot Learning (CoRL), 2022.
[15] W. Huang, F. Xia, T. Xiao, H. Chan, J. Liang, P. Florence, A. Zeng, J. Tompson, I. Mordatch, Y. Chebotar, P. Sermanet, T. Jackson, N. Brown, L. Luu, S. Levine, K. Hausman, and B. Ichter, “Inner monologue: Embodied reasoning through planning with language models,” in Conference on Robot Learning (CoRL), 2022.
[16] I. Singh, V. Blukis, A. Mousavian, A. Goyal, D. Xu, J. Tremblay, D. Fox, J. Thomason, and A. Garg, “ProgPrompt: program generation for situated robot task planning using large language models,” Autonomous Robots, vol. 47, no. 8, p. 999–1012, 2023.
[17] J. Oswald, K. Srinivas, H. Kokel, J. Lee, M. Katz, and S. Sohrabi, "Large language models as planning domain generators," in Proceedings of the International Conference on Automated Planning and Scheduling (ICAPS), vol. 34, pp. 423–431, 2024.
[18] A. Brohan, N. Brown, J. Carbajal, Y. Chebotar, J. Dabis, C. Finn, K. Gopalakrishnan, K. Hausman, A. Herzog, J. Hsu, J. Ibarz, B. Ichter, A. Irpan, T. Jackson, S. Jesmonth, N. Joshi, R. Julian, D. Kalashnikov, Y. Kuang, I. Leal, K.-H. Lee, S. Levine, Y. Lu, U. Malla, D. Manjunath, I. Mordatch, O. Nachum, C. Parada, J. Peralta, E. Perez, K. Pertsch, J. Quiambao, K. Rao, M. S. Ryoo, G. Salazar, P. R. Sanketi, K. Sayed, J. Singh, S. Sontakke, A. Stone, C. Tan, H. Tran, V. Vanhoucke, S. Vega, Q. H. Vuong, F. Xia, T. Xiao, P. Xu, S. Xu, T. Yu, and B. Zitkovich, “RT-1: Robotics transformer for real-world control at scale,” in Robotics: Science and Systems (RSS), 2023.
[19] B. Zitkovich, T. Yu, S. Xu, P. Xu, T. Xiao, F. Xia, J. Wu, P. Wohlhart, S. Welker, A. Wahid, Q. Vuong, V. Vanhoucke, H. Tran, R. Soricut, A. Singh, J. Singh, P. Sermanet, P. R. Sanketi, G. Salazar, M. S. Ryoo, K. Reymann, K. Rao, K. Pertsch, I. Mordatch, H. Michalewski, Y. Lu,
S. Levine, L. Lee, T.-W. E. Lee, I. Leal, Y. Kuang, D. Kalashnikov, R. Julian, N. J. Joshi, A. Irpan, B. Ichter, J. Hsu, A. Herzog, K. Hausman, K. Gopalakrishnan, C. Fu, P. Florence, C. Finn, K. A. Dubey, D. Driess, T. Ding, K. M. Choromanski, X. Chen, Y. Chebotar, J. Carbajal, N. Brown, A. Brohan, M. G. Arenas, and K. Han, “RT-2: Vision-language-action models transfer web knowledge to robotic control,” in Conference on Robot Learning (CoRL), vol. 229 of Proceedings of Machine Learning Research, pp. 2165–2183, 2023.
[20] D. Driess, F. Xia, M. S. M. Sajjadi, C. Lynch, A. Chowdhery, B. Ichter, A. Wahid, J. Tompson, Q. Vuong, T. Yu, W. Huang, Y. Chebotar, P. Sermanet, D. Duckworth, S. Levine, V. Vanhoucke, K. Hausman, M. Toussaint, K. Greff, A. Zeng, I. Mordatch, and P. Florence, "PaLM-E: An embodied multimodal language model," in International Conference on Machine Learning (ICML), 2023.
[21] K. Bousmalis, G. Vezzani, D. Rao, C. Devin, A. X. Lee, M. Bauzá, T. Davchev, Y. Zhou, A. Gupta, A. Raju, A. Laurens, C. Fantacci, V. Dalibard, M. Zambelli, M. F. Martins, R. Pevceviciute, M. Blokzijl, M. Denil, N. Batchelor, T. Lampe, E. Parisotto, K. Zolna, S. E. Reed, S. G. Colmenarejo, J. Scholz, A. Abdolmaleki, O. Groth, J.-B. Regli, O. O. Sushkov, T. Rothorl, J. E. Chen, Y. Aytar, D. Barker, J. Ortiz, M. A. Riedmiller, J. T. Springenberg, R. Hadsell, F. Nori, and N. M. O. Heess, “RoboCat: A self-improving generalist agent for robotic manipulation,” in Transactions on Machine Learning Research (TMLR), 2023.
[22] Octo Model Team, D. Ghosh, H. Walke, K. Pertsch, K. Black, O. Mees, S. Dasari, J. Hejna, T. Kreiman, C. Xu, J. Luo, Y. L. Tan, L. Y. Chen, P. Sanketi, Q. Vuong, T. Xiao, D. Sadigh, C. Finn, and S. Levine, “Octo: An open-source generalist robot policy,” in Robotics: Science and Systems (RSS), 2024.
[23] J. Liang, W. Huang, F. Xia, P. Xu, K. Hausman, B. Ichter, P. R. Florence, and A. Zeng, “Code as policies: Language model programs for embodied control,” International Conference on Robotics and Automation (ICRA), 2022.
[24] W. Huang, C. Wang, R. Zhang, Y. Li, J. Wu, and L. Fei-Fei, “Voxposer: Composable 3D value maps for robotic manipulation with language models,” in Conference on Robot Learning (CoRL), 2023.
[25] W. Yu, N. Gileadi, C. Fu, S. Kirmani, K.-H. Lee, M. G. Arenas, H.-T. L. Chiang, T. Erez, L. Hasenclever, J. Humplik, B. Ichter, T. Xiao, P. Xu, A. Zeng, T. Zhang, N. Heess, D. Sadigh, J. Tan, Y. Tassa, and F. Xia, “Language to rewards for robotic skill synthesis,” in Conference on Robot Learning (CoRL), 2023.
[26] R. A. Izzo, G. Bardaro, and M. Matteucci, “BTGenBot: Behavior tree generation for robotic tasks with lightweight LLMs,” International Conference on Intelligent Robots and Systems (IROS), 2024.
[27] R. A. Izzo, G. Bardaro, and M. Matteucci, “BTGenBot-2: Efficient behavior tree generation with small language models,” arXiv:2602.01870, 2026.
[28] A. Leszczyński, S. Gillet, I. Leite, and F. I. Doğan, “BT-ACTION: A test-driven approach for modular understanding of user instruction leveraging behaviour trees and LLMs,” in International Conference on Robot and Human Interactive Communication (RO-MAN), 2025.
[29] S. Zhang, B. Li, J. Qi, X. Wang, F. Li, J. Wang, E. Zhu, and J. Sun, "Code-BT: A code-driven approach to behavior tree generation for robot tasks planning with large language models," in International Joint Conference on Artificial Intelligence (IJCAI), 2025.
[30] J. Styrud, M. Iovino, R. Stower, M. Kartašev, M. Norrlof, M. Björkman, and C. Smith, “Design and evaluation of an assisted programming interface for behavior trees in robotics,” IEEE Transactions on Automation Science and Engineering, 2026.
[31] K. French, S. Wu, T. Pan, Z. Zhou, and O. C. Jenkins, “Learning behavior trees from demonstration,” in International Conference on Robotics and Automation (ICRA), 2019.
[32] L. Scherf, A. Schmidt, S. Pal, and D. Koert, “Interactively learning behavior trees from imperfect human demonstrations,” Frontiers in Robotics and AI, vol. 10, 2023.
[33] C. Paxton, A. Hundt, F. Jonathan, K. Guerin, and G. D. Hager, "CoSTAR: Instructing collaborative robots with behavior trees and vision," in International Conference on Robotics and Automation (ICRA), pp. 564–571, 2017.
[34] C. Finucane, G. Jing, and H. Kress-Gazit, “LTLMoP: Experimenting with language, temporal logic and robot control,” in International Conference on Intelligent Robots and Systems (IROS), 2010.
[35] Y. Chen, R. Gandhi, Y. Zhang, and C. Fan, “NL2TL: Transforming natural languages to temporal logics using large language models,” in
Conference on Empirical Methods in Natural Language Processing (EMNLP), 2023.
[36] A. Lalwani, T. Kim, L. Chopra, C. Hahn, Z. Jin, and M. Sachan, "Autoformalizing natural language to first-order logic: A case study in logical fallacy detection," in International Joint Conference on Natural Language Processing and Asia-Pacific Chapter of the Association for Computational Linguistics (IJCNLP-AACL), 2025.
[37] W. English, D. Simon, S. K. Jha, and R. Ewetz, “Grammar-forced translation of natural language to temporal logic using LLMs,” in International Conference on Machine Learning (ICML), 2025.
[38] B. Rabiei, M. K. A. R, Z. Dai, S. L. Pilla, Q. Dong, and N. Atanasov, "LTLCodeGen: Code generation of syntactically correct temporal logic for robot task planning," International Conference on Intelligent Robots and Systems (IROS), 2025.
[39] V. Berenz and K. Suzuki, “Usability benchmarks of the targets-drives-means robotic architecture,” in International Conference on Humanoid Robots (Humanoids), 2012.
[40] V. Berenz, A. Bjelic, L. Herath, and J. Mainprice, “Learning sensory-motor associations from demonstration,” in International Conference on Robot and Human Interactive Communication (RO-MAN), 2020.
[41] M. Quigley, K. Conley, B. Gerkey, J. Faust, T. Foote, J. Leibs, R. Wheeler, and A. Ng, “ROS: an open-source robot operating system,” in International Conference on Robotics and Automation (ICRA) Workshop on Open Source Software, 2009.
[42] Z. Cao, G. Hidalgo, T. Simon, S.-E. Wei, and Y. Sheikh, “OpenPose: Realtime multi-person 2D pose estimation using part affinity fields,” in Transactions on Pattern Analysis and Machine Intelligence (TPAMI), vol. 43, pp. 172–186, 2021.