AI Power Tools for Sparx EA Docs Release 3.6.4

AI Augmentation Scenarios

In this section

PageWhat it coversCodeCoworkDesktop chatVS Code
Getting started and operations Install AI Power Tools and prove it works, start each session on solid ground, report a problem so support can act on it, and do a task in EA's own interface.
Install and verifyInstall the extension and the skills plugin, and confirm that the server answers with no update notice, that Enterprise Architect is attached, and that the intended model is open.YesYesWith youWith you
Start a session safelyBefore the first write of a session, confirm which repository is open, which modeling technologies are really loaded and enabled, and exactly what will change.YesYesWith youWith you
Report a problem to supportTurn a failure into a structured, complete diagnostic report and send it to support.YesYesWith youWith you
Do something the tools cannot reachCarry out an EA task that no operation covers, by finding the written procedure in Sparx's user guide for the exact EA version and driving it in EA's interface, or by scripting it through EA's automation interface.YesPartlyWith youWith you
Modeling Get the architecture into the repository and keep it there: models built from documents and hierarchies, classes and patterns, diagrams that make an argument, and content moved in and out of Enterprise Architect.
Build a model from source documentsTurn requirements or design documents into an ArchiMate and BPMN model with packages, elements, connectors and diagrams, and prove it by counting back and rendering.YesYesWith youWith you
Load a hierarchy and generate navigation diagramsLoad a hierarchical reference model, such as a capability map or technology taxonomy, into the repository and build click-through drill-down diagrams over it.YesYesWith youWith you
Model classesCreate classes with attributes, operations and operation parameters, relate them, and draw a class diagram.YesYesWith youWith you
Start from a model patternImport a model pattern that ships with EA, such as a cloud reference pattern, through XMI as the starting point for a diagram, then give its elements vendor icons.YesYesWith youWith you
Choose the right diagramFrom what you want to understand and the measured content of a scope, recommend a diagram type and viewpoint, including when the scope spans several modeling languages and no conformant view exists.YesNoNoWith you
Compose a diagramBuild a diagram from model content, rather than hand-placing it, by choosing a layout grammar, computing the geometry, placing and styling the elements, then verifying, linting and correcting.YesNoNoWith you
Tidy and style a diagramMake an existing diagram read as deliberate: align and size it, route its connectors, and set its colors, line styles and labels.YesYesWith youWith you
Reproduce a diagram from a pictureRecreate a diagram that exists only as an image, as real model content in EA, and measure how closely the result matches the picture.YesNoNoWith you
Draw a cloud architecture diagram with vendor iconsDraw AWS, Azure or Google Cloud elements as their vendor icons instead of plain boxes.YesYesWith youWith you
Copy a package as newDuplicate a package subtree, including its elements, attributes, operations, tagged values, connectors and diagrams, with fresh identifiers everywhere, so the copy is independent of the original.YesYesWith youWith you
Move content in and out of Enterprise ArchitectExport a package as XMI (or import XMI back), export a diagram as a picture or an editable Visio file, or generate a formatted document, and know what each of four ways of moving content gives you and what it does not.YesYesWith youWith you
Analysis Answer questions about the architecture from the model itself: what depends on a system, how much is traced, what a target architecture changes, and what changed and who changed it.
Trace dependenciesFind what is around an element, how two elements connect, and what depends on an element along one relationship, before you change or retire it.YesPartlyWith youWith you
Find out what changed, when and by whomSee what was created or changed in a period and who was active, and confirm it against a baseline comparison.YesYesWith youWith you
Compare declared and observed usageCompare what a modeling technology declares (element and connector stereotypes, base types, tags, permitted values) with what the repository actually uses, and report the gaps as findings.YesNoNoWith you
Trace the impact of a change in ProlaborateFind what is connected to an element, one hop at a time, and report what is affected together with exactly how far the search went.YesYesYesYes
Assess the impact of retiring a systemBefore you retire or replace a system, find everything that depends on it, who owns what is affected and how critical it is, and where it is drawn, as an impact report you can take to the decision.YesYesWith youWith you
Check traceability coverageFind out what fraction of your requirements, or any other set of elements, is realized in the model, and list the gaps, with the coverage rule and the count stated so the figure can be trusted.YesYesWith youWith you
Compare the as-is and to-be architectureSee exactly what a target architecture adds, removes and changes compared with the current one, and what the removals affect, whichever way your team models as-is and to-be.YesYesWith youWith you
Governance Keep the model conformant and under control: check it against your modeling standard, catch non-conforming changes, clean up decay, make changes reversible, and own the modeling language itself.
Validate a model against a rulesetRun a conformance ruleset (the ArchiMate 3.1 set, your own file, or one hosted at a web address) against the whole model or one package, then interpret and fix the findings.YesYesWith youWith you
Author a rulesetWrite a complete ruleset for a modeling language (required tags, allowed values, connector counts, endpoint stereotypes) and prove it against known-good and deliberately bad content.YesYesWith youWith you
Catch a non-conforming changeCatch what does not conform to your modeling standard at the moment of change: an architect adds a component to a project, and validation flags it before it is promoted.YesYesWith youWith you
Clean up model decayFind orphan elements, composite-diagram links that have fallen out of sync, and inconsistent stereotype or tag use, then fix them without deleting anything that is still load-bearing.YesYesWith youWith you
Find ungoverned elementsBefore a reporting build, list the elements no report will show because they carry no stereotype, and fix them where the evidence supports it.YesNoNoWith you
Protect a change with a baselineTake a snapshot of a package before a bulk or destructive change, compare afterward, and either keep the change or roll the package back.YesYesWith youWith you
Assess the language situationFind out what state the repository's modeling language is in, and whether a technology is really installed, loaded and enabled, before you change it.YesPartlyWith youWith you
Hand-author an MDG TechnologyWrite the MDG Technology XML for a modeling language, with stereotypes, tagged values, toolbox pages and diagram types, then deploy and test it.YesYesWith youWith you
Build an MDG Technology from a source modelBuild a technology from profile packages that live in the repository, through to the XML file, a version stamp and a verified deployment.YesYesWith youWith you
Generate an MDG Technology from current usageTurn the stereotypes, metaclasses and tagged values that a repository actually uses into a formal technology.YesNoNoWith you
Deploy an MDG Technology and prove it worksPut a technology into a model, or onto a machine, and prove with runtime checks that it works, then retire the builds it replaces.YesYesWith youWith you
Stakeholder Engagement Turn the repository into answers the people who need them can act on: portfolio answers in business terms, a reporting database, Power BI, and Prolaborate dashboards and matrices.
Answer a stakeholder portfolio questionAnswer "how many X are Y", "what is in scope for this regulation", or "how complete are these fields", in business terms, with the coverage that makes the number honest.YesYesWith youWith you
Build a reporting databaseBuild the business layer for a repository: tables named and shaped by the modeling technology that governs it, delivered in the way your estate allows, checked against the repository, and kept fresh.YesNoNoWith you
Rebuild a report without Enterprise ArchitectRebuild a separate reporting database, or the rows behind Parquet files, from the extract kept by the last build, with no EA connection.YesPartlyPartlyYes
Build a Power BI modelPut an EA repository into Power BI as a generated semantic model, with business tables visible, EA's own tables hidden and every relationship declared.YesNoNoWith you
Build a Prolaborate dashboardTurn a set of business questions into a Prolaborate dashboard whose widgets are each backed by a verified query, and finish it by applying a layout plan.YesYesYesYes
Read and export a relationship matrixFind a Prolaborate relationship matrix, read it into a correct grid, and report what its cells mean, exporting or sharing it only if you ask.YesYesYesYes

Where it runs: Yes = runs fully · With you = runs, and you do the steps in EA’s window · Partly = one part needs a capability the client lacks · No = not available · TBC = to be confirmed

A scenario is a complete piece of work an architect comes to AI Power Tools to get done: install AI Power Tools and check that it works, build a model from a requirements document, build a modeling language, validate a model against a standard, produce a reporting database. Each scenario names who it is for, what you end up with, which skills carry the work, where you must decide, and how to check that the result is right.

Parts 3 and 4 describe the parts. This part shows them working together, and shows where a human has to decide. There are 39 scenarios. After Getting started and operations, they are grouped by the four things AI does for an architect: Modeling, Analysis, Governance and Stakeholder Engagement. AI-Augmented Enterprise Architecture describes the practice behind the four.

How to read a scenario

The structure of every scenario

Every scenario follows one structure, so you can find the same thing in the same place.

Section What it gives you
Goal One line on what is accomplished, who it is for, and what you end up with
Where it runs Whether the scenario runs fully, runs with some steps handed to you, or is not available, on each of four surfaces
Before you start What must be true first: EA state, repository type, technologies, files, and the baseline to take
Steps Numbered steps. Each names the skill that carries it and is marked AI, AI Power Tools, Engine, AI with computer use; otherwise you or You
Prompts to use An opening prompt, then follow-ups that drive each phase
Recommended models A fit rating for each Claude model, with the reason
Checking the result Checks for three questions: is it accurate, is it complete, and did anything change that should not have
Variations Other ways to reach the same outcome
Limitations What the scenario cannot do and where it goes wrong

Who decides in a step

In every scenario the AI plans and drives, and AI Power Tools does the computing and checking, through deterministic or rule-based steps. See section 0.5 for what each label means. The marks on each step say which part is which.

Mark Meaning
AI The AI model reads, plans, judges or writes. The result can vary between runs and between models
AI Power Tools AI Power Tools computes or checks it. Given the same inputs and the same model state, it gives the same result with no AI judgment involved, or, for a rule-based judgment, a repeatable one that can still be wrong
Engine A code engine computes it, on the machine where EA runs. The same input gives the same result, and it costs far fewer tokens than the AI working the same thing out. It needs local code execution
AI with computer use; otherwise you The AI does it by seeing and operating a desktop application, EA's own window or Power BI Desktop, when computer use is available, and hands the step to you when it is not. Typical steps: starting EA and opening a model, reading and dismissing a dialog, looking at a diagram in EA, and actions that exist only in EA's interface
You A decision or approval that is yours

Engine steps are the deterministic or rule-based computing done by the code engines in Code engines. Where a scenario depends on an engine, its Where it runs table says what happens on a surface without local code execution. When the AI hands you a step marked AI with computer use; otherwise you, it tells you what to do and asks what you see, and the scenario still completes. A dialog that EA raises is handled the same way in every scenario. With computer use, the AI sees the dialog in EA's window, reads it, uses the message to correct the call, dismisses it and carries on. Without computer use, you take a screenshot of the dialog and paste it into the conversation so the AI can analyze it, and then you dismiss the dialog so processing can continue.

You marks the points where the AI should stop and ask. Some are choices that are yours because the result is visible to your organization: names, the shape of a model, which stereotypes a language includes. Others are approvals before something that cannot be undone. A write step with no You before it is one to be careful with.

Where it runs

Every scenario has a Where it runs subsection straight after its Goal. It answers one question before you start: can I do this on the AI client I use? The answer depends on four capabilities. The MCP server is always present. The other three vary by surface, which is the AI client you work in. The table of surfaces is in Capabilities and surfaces.

Capability What it gives the assistant What depends on it in the scenarios
MCP server The 149 operations on EA All EA work
Computer use Seeing and operating desktop applications: EA's own window, and Power BI Desktop Starting EA and opening a model. Reading and dismissing EA's dialogs. Looking at the real EA window. Tasks that exist only in EA's interface, such as Save Package as MDG Technology, the Manage Technologies dialog and document templates. Opening and refreshing a generated Power BI project
Local code execution Running the Python code engines bundled with the skills, on the machine where EA runs The diagram advisor, the composition engine, the census, inclusion choice and governance gate, and the Power BI generator (Code engines), and ea-com scripts
Browser control Operating web applications through a built-in browser or Chrome The Prolaborate scenarios (Trace the impact of a change in Prolaborate, Build a Prolaborate dashboard, Read and export a relationship matrix). Computer use can see a browser but cannot click in one

Each scenario has one row for each of four surfaces: Claude Code, Claude Cowork, Claude Desktop chat, and VS Code with GitHub Copilot. A row says one of these:

Row says Means
Fully Nothing in the scenario needs a capability the surface lacks
Fully, except the UI steps, which you perform The scenario has steps in EA's window and the surface has no computer use. The AI hands you each step and you tell it what you see. The scenario still completes
Not available The scenario depends on a capability the surface lacks, with the reason

A row can combine these and name what is left out. Starting EA and opening the model, and dealing with any dialog EA raises, are UI steps in every scenario that touches a model.

Who does each step. With computer use the assistant can start EA, read and dismiss its dialogs, look at the real EA window, and carry out tasks that exist only in EA's interface. With local code execution it runs the engines. The step marker shows who does each task.

The index below lists, for each scenario, what it needs beyond the MCP server. Starting EA and clearing its dialogs are common to every scenario that touches a model and are not repeated there. Computer use is listed when the scenario has UI steps of its own.

Examples use Westbrook Bank

Every example uses Westbrook Bank, a fictitious bank, with the modeling technology WBA (version 1.1.1), the display name WestbrookBankArchitecture, 15 element stereotypes such as WBABusinessApplication (qualified as WBA::WBABusinessApplication), 3 connector stereotypes (Uses, Flows and realizes), and the model file WestbrookBank.qea.

Westbrook is an illustration, not a prerequisite. You do not need the Westbrook model, and no scenario depends on it. Wherever a Westbrook name appears, substitute your own technology, stereotypes, packages and file paths.

Prompts are starting points

The prompts are written in plain language on purpose. The skills tell the AI what to do, so you do not need to name operations, and the AI should not ask you to. Expect the AI to restate its plan, name the model it is about to change, and ask before its first write.

Before any scenario

Three habits apply to every scenario that touches a model.

  1. Run the start-of-session check. It confirms the server answers, which model is open, and which modeling technologies are really loaded and enabled. See ea-start-here and Start a session safely. Most failures come from a model that is not the one you think is open.
  2. Take a baseline before a bulk or destructive change. See Protect a change with a baseline. Deletions made through EA's automation interface cannot be undone.
  3. Look at what was built. A result that says it succeeded means data was written. It does not mean the diagram looks right. Reload and render it, or look at it in EA.

Scenario index

Scenario Persona Main skills Needs beyond the MCP server
Install and verify Deployer ea-start-here None
Start a session safely Architect, any user ea-start-here, ea-mdg-assess None
Report a problem to support Any user ea-diagnostic None
Do something the tools cannot reach Any user, administrator ea-help, ea-com Computer use, for procedures in EA's interface. Code execution, for scripting through EA's automation interface
Build a model from source documents Architect ea-modeling, ea-change-management None. Code execution, for the scripting variation on very large loads only
Load a hierarchy and generate navigation diagrams Architect ea-modeling, ea-navigation-diagrams Computer use, for the Browser reload and the double-click test
Model classes Architect ea-modeling None. Code execution, for the scripting variation on a large class model only
Start from a model pattern Cloud or solution architect ea-import-export, ea-diagram-composition None
Choose the right diagram Architect ea-diagram-advisor Code execution
Compose a diagram Architect ea-diagram-composition Code execution
Tidy and style a diagram Architect ea-diagram-composition, ea-modeling None
Reproduce a diagram from a picture Architect ea-diagram-composition Code execution
Draw a cloud architecture diagram with vendor icons Cloud or solution architect ea-diagram-composition, ea-modeling None. Computer use, for Image Manager on a model that is not a local file
Copy a package as new Architect ea-modeling Computer use, to compare diagrams in EA
Move content in and out of Enterprise Architect Architect ea-import-export Computer use, to create a report template in EA
Trace dependencies Architect, analyst None dedicated: ea-modeling, ea-stakeholder-reporting Code execution, for the optional diagram only
Find out what changed, when and by whom Model steward ea-change-management None
Compare declared and observed usage MDG author, model steward ea-mdg-assess Code execution
Trace the impact of a change in Prolaborate Architect prol-start-here, prol-impact-analysis Browser control
Assess the impact of retiring a system Architect ea-model-hygiene, ea-stakeholder-reporting None
Check traceability coverage Architect, analyst, model steward ea-stakeholder-reporting None
Compare the as-is and to-be architecture Architect ea-change-management, ea-stakeholder-reporting, ea-model-hygiene None
Validate a model against a ruleset Architect, model steward ea-validation, ruleset-archimate31 Computer use, to open findings in EA
Author a ruleset MDG author, standards owner ea-ruleset-author, ea-validation Computer use, to look at the scratch package in EA
Catch a non-conforming change Solution architect, review board ea-validation, ea-modeling Computer use, to look at the corrected diagram in EA
Clean up model decay Model steward ea-model-hygiene, ea-change-management None
Find ungoverned elements Model steward, reporting developer ea-reporting-database Code execution
Protect a change with a baseline Architect ea-change-management Computer use, for EA's baseline comparison view
Assess the language situation MDG author, administrator ea-mdg-assess Code execution, for the census recomputation. Computer use, for Manage Technologies
Hand-author an MDG Technology MDG author ea-mdg-author, ea-mdg-deploy Computer use, for importing a technology file to a model, and for the checks after deployment
Build an MDG Technology from a source model MDG author ea-mdg-model-build, ea-mdg-deploy, ea-help Computer use, for Save Package as MDG Technology and Manage Technologies
Generate an MDG Technology from current usage MDG author ea-mdg-model-build, ea-reporting-database Code execution, for the census. Computer use, when building from a source model
Deploy an MDG Technology and prove it works Administrator, MDG author ea-mdg-deploy Computer use, for importing a technology file to a model, the screen checks, restarts and Manage Technologies
Answer a stakeholder portfolio question Portfolio manager, analyst ea-stakeholder-reporting None
Build a reporting database Reporting developer ea-reporting-database Code execution, for the census, the inclusion choice and the governance gate. SQL Server for the two database ways, or a SQL database in Microsoft Fabric for a reporting database
Rebuild a report without Enterprise Architect Reporting developer ea-reporting-database None. Code execution, to rewrite Parquet files only
Build a Power BI model Reporting developer ea-power-bi Code execution. Computer use, for Power BI Desktop
Build a Prolaborate dashboard Architect, portfolio manager prol-start-here, prol-dashboards Browser control
Read and export a relationship matrix Architect, portfolio manager prol-start-here, prol-matrix Browser control

Scenarios by persona

The personas are roles, and one person often holds several. Start with the persona that matches your job, then follow the cross-references. A persona is a hint about who a scenario is written for, not an access control.

Persona What they are trying to do Scenarios
Deployer, an EA administrator or IT engineer Get AI Power Tools onto one machine or a fleet, and know it works Install and verify. Also Report a problem to support and Deploy an MDG Technology and prove it works
Architect, an enterprise, solution or data architect Build and maintain model content and diagrams Start a session safely, Build a model from source documents, Load a hierarchy and generate navigation diagrams, Model classes, Start from a model pattern, Choose the right diagram, Compose a diagram, Tidy and style a diagram, Reproduce a diagram from a picture, Draw a cloud architecture diagram with vendor icons, Copy a package as new, Move content in and out of Enterprise Architect, Trace dependencies, Trace the impact of a change in Prolaborate, Assess the impact of retiring a system, Compare the as-is and to-be architecture, Protect a change with a baseline, Build a Prolaborate dashboard
MDG author, a methodologist or modeling-standards owner Define, build, deploy and govern a modeling language Compare declared and observed usage, Author a ruleset, Assess the language situation, Hand-author an MDG Technology, Build an MDG Technology from a source model, Generate an MDG Technology from current usage, Deploy an MDG Technology and prove it works
Model steward, an architecture governance or quality owner Keep the repository conformant and clean, and know what changed Find out what changed, when and by whom, Compare declared and observed usage, Check traceability coverage, Validate a model against a ruleset, Catch a non-conforming change, Clean up model decay, Find ungoverned elements
Reporting developer Get repository content into a queryable database or a BI model Find ungoverned elements, Build a reporting database, Rebuild a report without Enterprise Architect, Build a Power BI model
Portfolio manager or analyst Get business answers without learning EA Answer a stakeholder portfolio question, Check traceability coverage, Build a Prolaborate dashboard, Read and export a relationship matrix
Any user Get unstuck Start a session safely, Report a problem to support, Do something the tools cannot reach

If you have never used AI Power Tools, start with Install and verify and Start a session safely, then Trace dependencies (it reads the model and changes nothing) before any scenario that writes.

Impact and traceability questions

Impact analysis across the repository, traceability coverage ("which requirements have no realizing element?") and as-is and to-be gap analysis are answered from deterministic operations: trace_connectors, find_paths and get_traceability_tree in ea_analyze, direct model queries, and baseline comparison. You ask in plain language, and the AI picks the operation.

The Analysis scenarios put these questions to work: Assess the impact of retiring a system, Check traceability coverage and Compare the as-is and to-be architecture, built on Trace dependencies. prol-impact-analysis (Trace the impact of a change in Prolaborate) is a different thing: it traces impact through Prolaborate's own query surface, not through the EA repository.

What to expect from a run

  • The AI plans from the skill, so context matters more than wording. Say what you want, which model it applies to, and what must not change.
  • Results vary by model. Each scenario's recommended-models table rates fit from the kind of reasoning the task needs. Open-ended design, long plans and visual judgment favor the stronger models. Procedural work that AI Power Tools or a code engine computes runs well on the lighter ones. The ratings are guidance.
  • Long scenarios split. Large builds are best run one phase per session, seeding each session with a targeted question about the current state of the model rather than an open-ended request to describe it.
  • Models that run on your device. VS Code with GitHub Copilot can also use AI models that run on the device. The model guidance in this part is written for Claude models. A scenario whose work is mostly done by code engines depends least on the model, and a scenario that relies on AI judgment depends most.
  • One EA instance. The server drives the EA instance that is already running. Never start a second instance against the same model file, and do not repeat a request that appears to hang before looking at EA for a dialog. With computer use the AI sees the dialog in EA's window, reads it, uses the message to correct the call, dismisses it and carries on. Without computer use, you take a screenshot of the dialog and paste it into the conversation so the AI can analyze it, then dismiss the dialog so processing can continue. Troubleshooting covers the symptoms.