Author Topic: Enterprise Architect and AI  (Read 3378 times)

balajib

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Enterprise Architect and AI
« on: July 01, 2025, 03:03:18 pm »
Please let me know how to use AI to create models, does EA has this capability?

Richard Freggi

  • EA User
  • **
  • Posts: 493
  • Karma: +18/-7
    • View Profile
Re: Enterprise Architect and AI
« Reply #1 on: July 01, 2025, 09:08:00 pm »
No you still need a brain.  And lots of hard work. 

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Enterprise Architect and AI
« Reply #2 on: July 02, 2025, 09:13:12 am »
Using my free MCP server add-in, we can connect Enterprise Architect and AI.

Check the second video in the following page, I recorded creating a model from AI generation.
https://www.sparxsystems.jp/en/MCP/
(It might be better to mute to avoid my broken English :) - without voice we can understand what happened.)

The book 'AI Assisted MBSE with SysML' explains how to use AI for modeling.

HTH,
--
t-kouno

Arshad

  • EA User
  • **
  • Posts: 286
  • Karma: +20/-1
    • View Profile
Re: Enterprise Architect and AI
« Reply #3 on: July 24, 2025, 01:51:38 pm »
Please let me know how to use AI to create models, does EA has this capability?


Please take a look at EA Genie

shimon

  • EA User
  • **
  • Posts: 167
  • Karma: +5/-0
    • View Profile
Re: Enterprise Architect and AI
« Reply #4 on: July 24, 2025, 04:39:15 pm »
Using my free MCP server add-in, we can connect Enterprise Architect and AI.

Check the second video in the following page, I recorded creating a model from AI generation.
https://www.sparxsystems.jp/en/MCP/
(It might be better to mute to avoid my broken English :) - without voice we can understand what happened.)

The book 'AI Assisted MBSE with SysML' explains how to use AI for modeling.

HTH,

WOW !!!
This looks very promising.
Claude did a pretty good job of converting a long VBscript to Javascript for porting it to a Model Addin.
For me, this integration of Claude with EA is great news.
Shimon

shimon

  • EA User
  • **
  • Posts: 167
  • Karma: +5/-0
    • View Profile
Re: Enterprise Architect and AI
« Reply #5 on: August 12, 2025, 05:25:30 pm »
Hi,
I tried it yesterday, and this is an amazing piece of work. I gave Claude a System Engineering Requirements document and asked it to create the Classes, associations, attributes and operations for it's implementation.
I am not judging the quality of the results, as the document that I gave him underwent some drastic changes by various AI.
I am just relating the ability of a layman to create a rich class model based on a total textual description.
Thanks for a great advance in the implementation of MBSE AI integration.
Shimon

P.S. The MCP_EA_x86.msi is not really an x86 installer. It is exactly the same size as the MCP_EA_x64.msi and installed it into the 64 bit directory. I installed the 64 bit EA in order to get it working, but I can't leave it that way for long.
Thanks.
 

shimon

  • EA User
  • **
  • Posts: 167
  • Karma: +5/-0
    • View Profile
Re: Enterprise Architect and AI
« Reply #6 on: August 12, 2025, 05:30:56 pm »
No you still need a brain.  And lots of hard work.

Yeh, but these days you have to apply your brain to utilize AI.
The answer to his question is "Yes". You can use AI to create and enrich diagrams and elements in Enterprise Architect.

In order to use this feature, you have to adjust the MCP to enable edits. This is what  www.sparxsystems.jp/en/MCP/ writes.

Create models: To use these features, you need to add '-enableEdit' as an argument when launching the MCP3.exe.
create_diagram
create_element
create_connector
create_package
set_element_property
place_element_on_diagram
layout_diagram


As I am not an expert on MCP, I tried a few variations and still failed. I then "used my brain" to ask Claude how I should implement this and he showed me the correct usage ( a comma and then a new entry for the args).

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Enterprise Architect and AI
« Reply #7 on: August 12, 2025, 05:37:25 pm »
Hi Shimon,

Thank you for your comment! I'm glad to hear that.

As I mentioned in my email direct to you, these installers seem to be fine. The file size does not mean that the MCP_EA_x86.msi is not an x86 installer.
If you try running the MCP_EA_x64.msi on a 32-bit Windows system, it will not work. However, the MCP_EA_x86.msi works well on 32-bit Windows.
(I have double-checked with the current files.)

Perhaps the problem lies in the way the installer finds the installed directory. The installer tries to find the EA installation directory. Perhaps your machine has information about the 64-bit version of Enterprise Architect. If there is information about the 64-bit version of Enterprise Architect, even if it has already been uninstalled, the installer tries to install the directory.

I will try to change the way the installer finds the installed directory.
--
t-kouno

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Enterprise Architect and AI
« Reply #8 on: August 12, 2025, 05:58:44 pm »
Hi Shimon,

I have changed the way to find the Enterprise Architect installed path in the x86 installer and uploaded it as version 1.9.4.1.
Please check if it works fine.
--
t-kouno

shimon

  • EA User
  • **
  • Posts: 167
  • Karma: +5/-0
    • View Profile
Re: Enterprise Architect and AI
« Reply #9 on: August 18, 2025, 03:26:14 pm »
Hi,
It indeed works as you said.
There are some SQL errors when Claude reads the model. Do you want me to post them here (or send them to you)?

I tried creating Use Cases and found that I cannot. Claude created classes ( and later Requirements, after I requested that). I assume that this is by design.

As there exist already some add-ins ( that I did not experiment with, yet) to create sequence diagrams from text, via plantUML, I assume that Claude would have no problem creating sequence diagram from log files of a running program. This opens the possibility of Reverse Engineering ( to be more exact, creating a Design Model from)  a/an existing Software Project.
Are you planning to extend the abilities of the MCP to include sequence diagrams ( and / or Statecharts)?
These possibilities are really exiting.
Sincerely,
Shimon
 

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Enterprise Architect and AI
« Reply #10 on: August 18, 2025, 03:38:45 pm »
Hi Shimon,

Thank you for your reply. I am glad to hear that it works well with the latest installer.

As you guessed, currently some limited types and the profile-based types (such as ArchiMate) are supported. Please read the description of the tool to know which types are supported. This is because currently I think it is not easy for the LLMs to specify the correct Enterprise Architect element types. (For example, 'UseCase' is okay but 'Use Case' is NG).

About the Sequence diagrams, currently the MCP server supports exporting information from Sequence diagrams, to be able to generate source codes etc. from the Sequece diagrams. The server exports information about fragments too, so now I think it is enough to generate source codes from the diagrams.
Unfortunately, currently generating the Sequence diagrams are not supported, this is very difficult.

I have checked that the MCP server and Claude/ChatGPT on VSCode can generate source codes from the Sequence, StateMachine and Activity diagrams.

p.s.
Please send me the error information directly. I am the only one interested in the details.
« Last Edit: August 18, 2025, 03:44:12 pm by Takeshi K »
--
t-kouno