Visual Studio Code extension scaffold for the MADS framework.
What is MADS
MADS is a Multi-Agent Distributed System: a multi-platform framework of tools and libraries to coordinate a bunch of agents that exchange information through ZeroMQ protocol. MADS is plugin-based, and also has a Python interface.
This extension helps in the development of MADS plugins. Look at the Guides for HOW-TOs.
Features
Activity bar entry with MADS Info, Control, Configurations, and Plugins side views
Shows mads -v and mads -p
Lists .ini files with [agents] and .toml files with [director] from the workspace
Opens files in the editor when selected
Starts and stops mads broker / mads director
Generates .ini, .toml, and FSM .dot template files
Lists mads --plugins output and creates new plugins
Settings
MADSCode contributes the following settings:
madscode.roomsTimeoutMs: timeout in milliseconds used by the MADS Info > Rooms discovery command. The default is 5000.
You can also configure it in settings.json:
{
"madscode.roomsTimeoutMs": 5000
}
Installing
MADSCode is on Visual Studio Code marketplace here.
MADSCode is also distributed via Open VSX, you can install it by downloading it from https://open-vsx.org/extension/MADS-Net/madscode and then code --install-extension MADS-Net.madscode-<version>.vsix
Running locally
Open this folder in Visual Studio Code.
Press F5 to launch the Extension Development Host.
In the new window, open a workspace containing MADS configuration files.
Packaging
Run npm install.
Run npm run package.
Install the generated .vsix from the VS Code Extensions panel with Install from VSIX....