Skip to main content

A – Configuration

Back to index | ← A – Configuration


A1 · Prerequisites

ComponentVersion / Detail
Enterprise Architect17.1 Build 1716 (64-bit, ULTIMATE)
OSWindows 11 (VM – VMware Fusion on macOS)
RepositoryMariaDB (~800 MB) + QEA SQLite (test model)
.NET Desktop Runtime9.0.5 or newer (required before install)
Python3.12.10 (for Python Execution feature)

Note on Python version: Windows Python Install Manager installs 3.14 by default. Install 3.12 explicitly – pywin32 (EA COM interface) is not yet verified for Python 3.14.


A2 · Installation

Download: .msi installer from Kernaro Beta link (email from kernaro@sparxsystems.com, valid 3 days).

Installation path: C:\Program Files\Sparx Systems\Kernaro AI for EA\
Port: 9090 on localhost (configurable during setup).

Publisher verified in Windows UAC: Sixth Force Solutions Pty Ltd.

After installation, EA must be restarted. Kernaro appears in Add-Ins ribbon.


A3 · API Key – Claude Sonnet 4.6

  1. Create account at https://console.anthropic.com [1]
  2. Purchase API credits (minimum $5, prepaid model)
  3. Generate API key: Account Settings → API Keys
  4. In EA: Add-Ins → Kernaro AI (Beta) → Configuration → Models → + Add New
  5. Provider: Anthropic, Model: Claude Sonnet 4.6
  6. Paste API key → Save

The key is stored encrypted locally. No server-side setup required on Kernaro side.

Cost model: Pay-as-you-go, prepaid credits. Real-time usage visible in Anthropic Console dashboard. Set a spend limit to prevent surprises on large repositories.


A4 · Chat Agent Settings

Settings → Chat Agent Settings

ToggleFunctionRecommended
Enable Script AgentDelegates EA scripting tasks to Script Agent✅ ON
Enable Document AgentFile and document operations✅ ON
Enable Layout AgentDiagram layout tasksON for layout tests
Enable Visual VerificationAnalyses diagram screenshots – consumes additional tokens⚠️ OFF by default

A5 · Python Execution

Settings → Python Execution

  1. Enable toggle: Enable Python Execution
  2. Enter interpreter path:
C:\Users\Roman\AppData\Local\Python\pythoncore-3.12-64\python.exe
  1. Click Validate → confirm Verified successfully – Python 3.12.10
  2. Save Changes

Required Python packages (if using external scripts alongside Kernaro):

py -3.12 -m pip install pywin32 python-docx
py -3.12 C:\...\Scripts\pywin32_postinstall.py -install

Important: External Python scripts calling EA via win32com.client will deadlock if Kernaro add-in is active simultaneously. EA is single-threaded COM – Kernaro holds the main thread. Use Kernaro Python Execution (internal) instead. See D – JavaScript for details.


A6 · First run – /instructions

After configuration, run /instructions in Kernaro Chat. Kernaro will:

  1. Scan the full repository (element types, naming patterns, package structure, stereotypes, tags)
  2. Generate a rulebook as persistent system context
  3. Load it automatically at the start of every future chat session

This is a one-time setup. Re-run if modelling standards change significantly.

Token cost: /instructions on a large repository (~800 MB) can consume several thousand tokens. Run it once on the production model, then work primarily on scoped packages.


[1] Anthropic Console – https://console.anthropic.com
[2] Kernaro AI for EA – https://kernaro.sparxsystems.com


Back to index | ← A – Configuration | → B – Chat


Images

[IMG-01]

img/KERNARO-AGENTS/01CFG_KERNARO_AGENT.png

[IMG-02]

img/KERNARO-AGENTS/02-CFG_KERNARO_AGENT.png

[IMG-03]

img/KERNARO-AGENTS/03-CFG_KERNARO_AGENT.png

[IMG-04]

img/KERNARO-AGENTS/04-CFG_KERNARO_AGENT.png

[IMG-05]

img/KERNARO-AGENTS/05-CFG_KERNARO_AGENT.png

[IMG-06]

img/KERNARO-Installation/01-INSTALL_KERNARO.png

[IMG-07]

img/KERNARO-Installation/02-INSTALL_KERNARO.png

[IMG-08]

img/KERNARO-Installation/03-INSTALL_KERNARO.png

[IMG-09]

img/KERNARO-Installation/04-INSTALL_KERNARO.png

[IMG-10]

img/KERNARO-Installation/05-INSTALL_KERNARO.png

[IMG-11]

img/KERNARO-Installation/06-INSTALL_KERNARO.png

[IMG-12]

img/KERNARO-Installation/07-INSTALL_KERNARO.png

[IMG-13]

img/KERNARO-Installation/08-INSTALL_KERNARO.png

[IMG-14]

img/KERNARO-Installation/09-INSTALL_KERNARO.png

[IMG-15]

img/KERNARO-Installation/10-INSTALL_KERNARO.png

[IMG-16]

img/KERNARO-Installation/11-INSTALL_KERNARO.png

[IMG-17]

img/KERNARO-Installation/12-INSTALL_KERNARO.png

[IMG-18]

img/KERNARO-Installation/13-INSTALL_KERNARO.png

[IMG-19]

img/KERNARO-Settings-Admin-Console/01-KERNARO-Settings-ChatAgent.png

[IMG-20]

img/KERNARO-Settings-Admin-Console/02-KERNARO-Settings-Workspace.png

[IMG-21]

img/KERNARO-Settings-Admin-Console/03-KERNARO-Settings-Python.png

[IMG-22]

img/KERNARO-Settings-Admin-Console/04-KERNARO-Settings-Logging.png

[IMG-23]

img/KERNARO-Settings/01-KERNARO-Settings.png

[IMG-24]

img/KERNARO-Settings/02-KERNARO-Settings.png

[IMG-25]

img/KERNARO-Settings/03-KERNARO-Settings.png

[IMG-26]

img/KERNARO-Settings/04-KERNARO-Settings.png

[IMG-27]

img/KERNARO-Settings/05-KERNARO-Settings.png

[IMG-28]

img/KERNARO-Settings/06-KERNARO-Settings.png

[IMG-29]

img/KERNARO-Settings/07-KERNARO-Settings.png

[IMG-30]

img/Python/A2-python-312-installed.png

[IMG-31]

img/Python/A2-python-install-manager.png

[IMG-32]

img/Python/A2-python-installing-312.png

[IMG-33]

img/Python/A4-chat-agent-settings.png

[IMG-34]

img/Python/A5-python-execution-empty.png

[IMG-35]

img/Python/A5-python-execution-empty2.png

[IMG-36]

img/Python/A5-python-verified.png