Radio LLM is a platform designed to facilitate the integration of Large Language Models (LLMs) with the Meshtastic mesh communication network. This repository, hosted on GitHub and developed by pham-tuan-binh, provides tools and functionalities that allow users on a Meshtastic network to interact with an LLM for automated, context-aware responses and to execute specific tasks through simple commands.
git clone <repo_url>
.pip install -r requirements.txt
.python main.py
.Radio LLM functions similarly to a chatbot on platforms like Discord. Users can send commands to configure interactions or execute specific tasks:
LLM Chat Features:
/enable_llm
: Activates the LLM chat feature./disable_llm
: Deactivates the LLM chat feature.Echo Features (for testing Meshtastic):
/enable_echo
: Activates echo./disable_echo
: Deactivates echo.Users can modify the LLM model by updating the chat
function in chat_with_llm
. Adjustments can be made to the chunk size or message length limits as needed.
To add custom tools:
model/tool_handler.py
.model/tool_registry.py
.config.yaml
.Different interfaces for connecting to Meshtastic devices are supported, including TCP, BLE, and serial connections. Users should select the appropriate interface based on their setup and follow the Meshtastic documentation for detailed instructions.
The project is licensed under the GPL-3.0 license. Users are advised to ensure compliance with local laws and regulations when using Meshtastic devices and LLMs.
Contributions to the project are welcome, and users can submit issues or pull requests on GitHub for improvements or bug fixes.
Radio LLM offers a practical solution for integrating advanced language processing capabilities with robust mesh network communications, enhancing the utility and interactivity of Meshtastic networks.