This repository houses the HBTP package, which integrates large language models, behavior trees, and simulation platforms to foster the development of intelligent agents.
LLM-HBTP
└── btgym
├── agent # Configuration for intelligent agents.
├── algos # Training and decision-making algorithms.
│ ├── bt_autogen # Autonomous behavior tree generation.
│ │ └── OptimalBTExpansionAlgorithm.py # Core HOBTEA algorithm implementation.
│ └── llm_client # Modules for large language model integration.
├── behavior_tree # Behavior tree engine components.
├── envs # Scene environments for agent interaction.
│ ├── base # Foundational elements for environments.
│ ├── gridworld # Grid-based testing environment.
│ ├── robowaiter # Café service robot scenario.
│ ├── virtualhome # Household robot scenario.
│ ├── virtualhomwtest # Testing environment for household robots.
│ └── virtualhomwtestsmall # Smaller version of the household robot testing environment.
└── utils # Supporting functions and utilities.
└── simulators # Platforms for realistic training environments.
└── test # Testing modules for behavior trees, LLMs, and scene environments.
Create and activate a new Conda environment:
conda create --name btgym python=3.10
conda activate btgym
Install BTGym:
cd BTGym
pip install -e .
Operating System | Download Link |
---|---|
Linux | Download |
MacOS | Download |
Windows | Download |
Download the simulator, unzip it, and run CafeSimulator.exe
to open the simulator. The simulator will display an empty scene, awaiting the code to generate the scene and complete robot interactions.
- Download the simulator.
- Unzip the downloaded files and move them to
simulators/virtualhome/windows
. - Execute
watch_tv.py
to view the simulation:python test/watch_tv.py
- Execute
VHT_main.py
to see the results from the LLM-HOBTEA framework:python test/VHT_main.py
These modifications include the addition of relevant icons to each section header for better visual distinction and to match the content topics more closely.
The images below illustrate examples from two simulation scenarios, including behavior trees generated by LLM-HOBTEA and their corresponding simulation environments.
The RoboWaiter scenario involves a service robot performing tasks in a café setting.
Goal: On(Coffee,Table3) & Active(AC)
The VirtualHome scenario simulates a household environment where a robot performs various domestic tasks.
Goal: IsIn(bananas,fridge) & IsClose(fridge)
This project is licensed under the MIT License. See the LICENSE file for details.