The LLM Plugin is a proof-of-concept extension for Astah SysML and Astah System Safety that uses a large language model (LLM) to write the definition of a selected SysML block. The plugin is open source and published on GitHub (modeldriven-hu/astah-llm).
For the AI features built into Astah, such as creating and reviewing diagrams in a chat pane, see AI Chat Copilot.
Watch the Demo Video:
Installation Instructions:
Create a GitHub personal access token.
Set the token as an environment variable named ASTAH_GITHUB_TOKEN.
In the dialog, click [Install] and select the downloaded .jar file.
Restart Astah so that it picks up the environment variable. On a Mac, run launchctl setenv ASTAH_GITHUB_TOKEN "your github token" in the Terminal before launching Astah.
The installation is complete if [Document] appears under the [Tools] menu.
How to use
Open your SysML model in Astah.
Select a block.
Go to [Tools] – [Document] – [Document with LLM] in the main menu.
The plugin writes an AI-generated definition into the definition field of the selected block.
Important Notes:
This is a proof-of-concept (PoC) plugin. It is experimental and lets you try out LLM-based documentation in Astah.
Existing definitions are overwritten. If you have already written a definition for the block, the plugin replaces it.