Skip to content

This repository contains a Python application that bridges a Large Language Model (LLM) with a private Meshtastic mesh network.

License

Notifications You must be signed in to change notification settings

fiquett/llm-meshtastic-bridge

Repository files navigation

LLM-Meshtastic Bridge

This repository enables a Large Language Model (LLM) to communicate over a private, encrypted Meshtastic mesh network via Wi-Fi or USB serial. It supports OpenAI's ChatGPT API and local Ollama models, maintains thread memory, and can initiate scheduled emergency nets.

Features

  • Dual Connectivity: Supports both Wi-Fi (TCP) and USB serial connections to Meshtastic devices.
  • AI Memory: Remembers ongoing conversations and tracks the connection mode.
  • Automated Emergency Nets: Schedules and runs practice emergency procedures for friend groups.
  • Custom AI Prompts: Generates scenario-based training drills and interacts dynamically.
  • Contact Tracking: Logs participants and can ping missing members.

Setup & Installation

  1. Clone this repo or extract the ZIP contents into your GitHub repo folder.
  2. Install dependencies: pip install -r requirements.txt
  3. Copy config.example.yaml to config.yaml and configure.
  4. Run with: python llm_meshtastic_bridge.py

Configuration

Modify config.yaml to set your LLM provider, API keys, Meshtastic connection mode, and emergency drill preferences.

About

This repository contains a Python application that bridges a Large Language Model (LLM) with a private Meshtastic mesh network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages