This technology preview introduces Large Language Model (LLM) integration to OMNeT++.
Key features include an integrated chat interface within Qtenv for direct interaction with LLM services, and a dedicated Model Context Protocol (MCP) server. The MCP server allows an LLM to query and manipulate active simulations in real time. For configuration details, please refer to the User Guide.
The integration includes an optional JIT C++ interpreter, allowing the LLM to generate and execute code on the fly to programmatically inspect the simulation and answer complex queries. To ensure security while dynamic code execution is enabled, the simulation must be run within a sandboxed environment to prevent arbitrary access to the host system.
Discover the capabilities of this build through these practical examples:
install.sh script in the root directory to update your environment.ollama is installed and running.opp_sandbox script.See the GitHub release page and the discussion on GitHub Discussions for more details.
Use the install.sh script in the root directory of the archive to install dependencies and build OMNeT++.
Supported: Ubuntu, Debian, Fedora, openSUSE Leap, Arch Linux, AlmaLinux and other similar distros.
OMNeT++ requires a properly installed version of Xcode Command Line Tools and Homebrew (https://brew.sh/).
Use the install.sh script in the root directory of the archive to install dependencies and build OMNeT++.