A Chrome extension that helps to analyze LeanIX reports by detecting relevant fact sheets and providing AI-powered insights.
This is an unofficial extension for analyzing SAP LeanIX reports. It is not affiliated with, officially connected to, or endorsed by LeanIX GmbH or SAP SE. All product names, logos, and brands are property of their respective owners. This extension is an independent, open-source tool created to help SAP LeanIX users analyze their reports more effectively.
- Automatically detects when a LeanIX report is opened
- Captures and processes GraphQL requests for fact sheet data
- Resolves UUIDs to human-readable names across different filters
- Marks relevant fact sheets in the report with interactive indicators
- Provides AI-powered analysis of the report data
- Caches analysis results for quick access across sessions and devices
- Configurable to work with different AI providers (OpenAI, Azure OpenAI, GenAI)
- Supports multiple output modes for different model types
- Allows additional user instructions for customized analysis
The extension currently supports:
- Landscape Reports
The extension does not support:
- Predefined reports (those that come with LeanIX by default)
- Other report types (Matrix, etc.)
For predefined reports, you can create your own copy by:
- Opening a predefined report
- Clicking the "Save as" button
- Opening your newly created copy
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Open a LeanIX report in your browser
- Click the extension icon to open the popup
- Configure your AI settings (first time only):
- Select your AI provider (OpenAI, Azure OpenAI, or GenAI)
- Enter your API credentials
- Choose appropriate output mode for your model
- Test the connection
- Save your settings
- Click "Analyze Report" to start the analysis
- View the results and hover over the markers in the report for detailed insights
- Previously analyzed reports will show cached results automatically
The extension supports three AI providers:
- Model Name (e.g., gpt-4)
- API Key
- Endpoint URL
- API Version
- Deployment Name
- API Key
- Endpoint URL
- API Version
- Deployment Name
- API Key
- JSON Output Mode (recommended for most models)
- JSON Output Schema (for o3-mini 2025-01-31+, o1 2024-12-17+, gpt-4o-mini 2024-07-18+, gpt-4o 2024-08-06+)
- Text Mode (for o1-preview and o1-mini)
- Automatically detects when a LeanIX report is opened
- Monitors for URL changes to update report status
- Restores cached analysis results when returning to previously analyzed reports
- Intercepts GraphQL requests for fact sheet data
- Merges multiple requests for comprehensive data collection
- Resolves UUIDs to human-readable names using cross-referencing
- Adds pulsing icons next to relevant fact sheets in the report
- Shows detailed reasoning on hover
- Smart positioning of tooltips to ensure visibility
- Transforms data into a standardized format
- Generates insights based on report structure and content
- Provides reasoning for each highlighted fact sheet
- Supports different output modes for various model types
- Allows custom analysis instructions through optional user input
- Automatically saves analysis results
- Syncs results across devices using Chrome sync storage
- Shows cached results immediately when returning to a report
- Allows re-analysis of reports when needed
- Only works with custom Landscape Reports (predefined reports are not supported)
- SAP GenAI Hub integration is in beta and not fully tested
- Extension is not extensively tested for bugs
- View and properties are not translated (technical values)
The extension consists of several key components:
manifest.json
: Extension configurationpopup.html/js
: User interface and control logiccontent.js
: Page interaction and visual markersbackground.js
: Request interception and data processingprompt-template.js
: AI prompt templates and schema generationstyles.css
: UI styling with SAP Fiori design system