AIDE Lite - AI in StudioPro, right where you build
Overview
AIDE Lite is an Claude powered AI development assistant that runs natively inside Mendix Studio Pro 10.24 LTS. It reads your full app model and lets you create and modify microflows through natural language conversation. No context switching, no copy-pasting, no leaving the IDE.
Note: This is the Lite version of AIDE. For AIDE Pro, refer here: AIDE Pro - Golden Earth
How It Works
When you open AIDE Lite and load your app context, it reads every entity with all attributes and data types, every association with parent/child relationships, every microflow with its complete activity sequence and flow control structure, every enumeration with its values, and every page name. This full model is sent to Claude as context, so the AI already understands your app's data structure and existing logic before you type a single message.
You then interact through a chat panel docked inside Studio Pro. Ask questions, request microflows, search for model elements, or get advice. Claude responds with real actions, not just text.
Use Cases
Speed up microflow development. Describe what you need — "Create a microflow that retrieves all active orders, calculates the total amount, and commits a log entry", and Claude builds it with the correct entity names, attribute types, and XPath constraints from your actual model.
Onboard to unfamiliar apps faster. Ask "Describe the domain model" or "What does ACT_Order_Process do?" and get an instant, accurate answer based on the real model, not documentation that may be outdated.
Edit existing microflows without clicking through dialogs. Change an XPath constraint, rename a microflow, add activities at a specific position, or replace activities entirely, all through conversation. Existing decisions, loops, and merges are preserved when editing properties.
Search across your entire project. Find any entity, microflow, page, or enumeration by name across all modules in one command. Marketplace modules are excluded automatically to reduce noise.
Get Mendix best practice advice in context. Claude has development guidelines built in covering naming conventions, XPath optimization, performance patterns, memory management, and security, and it applies them while looking at your actual model.
Build complex branching logic. Claude can't create decisions directly (an Extensions API limitation), but it works around this by creating sub-microflows for each branch and a router microflow that calls them. It labels activities with captions like "Add decision before this: check $IsValid" and gives you a one-line instruction for the manual step. You get ~90% automated.
What You Need
- Mendix Studio Pro 10.24.x (LTS)
- An Anthropic API key (bring your own: get one at console.anthropic.com)
- Studio Pro launched with the --enable-extension-development flag
Your API key is encrypted locally with Windows DPAPI and never logged or stored in project files. You pay only for your own Anthropic API usage. This extension itself is free.
Three Claude models available: Sonnet 4.5 (recommended), Opus 4.6 (most intelligent), Haiku 4.5 (fastest).
Documentation
Typical usage scenario
AIDE Lite is for Mendix developers who want to accelerate their daily work inside Studio Pro. Typical use cases:
- Exploring an unfamiliar app: Ask Claude to describe the domain model, list microflows, or explain what a specific microflow does. It reads the actual model, not just names.
- Creating microflows faster: Describe what you need in plain English and Claude builds it: retrieves, creates, changes, commits, deletes, aggregates, microflow calls, and more, with correct entity and attribute names from your model.
- Editing existing microflows: Rename, add activities at specific positions, change XPath constraints, update variable names, or replace activities entirely. All through conversation.
- Searching across modules: Find any entity, microflow, page, or enumeration by name across your entire project without manually browsing the App Explorer.
- Getting best practice advice: Ask about performance, naming conventions, XPath optimization, or data modeling. Claude has Mendix development guidelines built in.
- Building complex logic: For branching logic requiring decisions, Claude creates sub-microflows for each branch with caption hints, then tells you exactly where to add the 1-2 manual decisions.
Features and limitations
Features
Model Reading
- Reads your complete app model: entities (all attributes with data types), associations (parent/child, type, ownership), microflows (activities, parameters, return types, flow control elements), pages (names), enumerations (with values)
- Full model is loaded into Claude's context on every request — Claude already knows your data structure before you ask
- Cross-module search by name across all element types
- Marketplace modules automatically excluded to reduce noise
Microflow Creation: 14 Activity Types
- CreateObject, Retrieve (with XPath), ChangeObject, Commit, DeleteObject
- CreateList, AggregateList (count/sum/avg/min/max), MicroflowCall
- Rollback, AssociationRetrieve, Sort, ChangeList, ListOperation, FindByExpression
Microflow Editing: 4 Tools
- Rename (all references auto-update)
- Add activities at specific positions (after start or before a given activity)
- Edit activity properties in-place: XPath constraints, variable names, entities, commit settings, captions, disabled state. Preserves existing decisions, loops, and merges.
- Replace entirely (original backed up as excluded microflow)
AI Conversation
- Streaming responses: tokens appear as they're generated
- Multi-turn conversation with context across messages
- Tool use loop: Claude can chain up to 5 rounds of read-plan-create-verify per message
- Prompt caching: ~90% cost reduction on follow-up messages within 5 minutes
- Stop button to cancel running requests
User Interface
- Dockable chat panel inside Studio Pro
- Status bar: green (ready), orange (outdated), yellow (loading), grey (no context)
- Quick action buttons on the welcome screen
- Token usage display per message
- Settings panel for API key, model, context depth, and max tokens
Security
- API key encrypted with Windows DPAPI, stored locally
- Never logged, never shared with anyone other than the Anthropic API
- Bring-your-own-key model — no bundled API key
Limitations
- Cannot create decisions, loops, merges, or splits: Claude creates sub-microflows for each branch and tells you where to add 1-2 decisions manually
- Cannot create or modify pages: Claude provides step-by-step Studio Pro instructions
- Cannot create nanoflows: Microflows only
- Cannot create entities, attributes, or associations: Claude describes what to create
- Cannot set security rules: Claude provides guidance on access rules
- Sequential activities only: Sub-microflow pattern for branching logic
- Cannot remove or reorder existing activities: Use Replace Microflow to rebuild
- Streaming is buffered: Tokens arrive in small batches (Mendix IHttpClient limitation)
- Requires --enable-extension-development flag: Add to Studio Pro shortcut target (one-time setup)
Dependencies
- Mendix Studio Pro 10.24.x (LTS)
- An active Anthropic API key with credits
- Internet connection (to reach `api.anthropic.com`)
- Windows (uses DPAPI for encryption)
No other dependencies. The extension uses only two NuGet packages:
- Mendix.StudioPro.ExtensionsAPI: 10.23.0 (Mendix Terms of Use)
- System.Security.Cryptography.ProtectedData: 8.0.0 (MIT License)
Frequently Asked Questions
Q: Does this extension send my app data to the cloud?
A: Your app model context is sent to the Anthropic API (`api.anthropic.com`) as part of the conversation. This includes entity names, attribute names and types, association names, microflow names and activity summaries, page names, and enumeration values. No source code, credentials, or file contents are sent. The data is used solely for the AI conversation and is subject to Anthropic's data policies.
Q: How much does it cost to use?
A: You pay only for your Anthropic API usage. The extension itself is free. A typical 10-15 message conversation costs approximately $0.05–$0.30 depending on the model chosen and the size of your app. Prompt caching reduces follow-up message costs by ~90%.
Q: Can I use this with Mendix 11?
A: The extension targets the Extensions API v10.23.0 and is built for Studio Pro 10.24 LTS. Compatibility with Mendix 11 has not been tested.
Q: Why can't Claude create decisions or loops?
A: The Mendix C# Extensions API does not expose interfaces for creating flow control elements (decisions, loops, merges, splits). This is a platform limitation, not an extension limitation. Claude works around this by creating sub-microflows for each branch and guiding you on where to add decisions manually.
Q: Is my API key safe?
A: Your API key is encrypted with Windows DPAPI (scoped to your Windows user account) and stored locally at `%APPDATA%\ClaudeCoPilot\config.json`. It is never logged, never included in project files, and only sent to `api.anthropic.com` in request headers.
Q: Is this Open Source?
A: Yes, here is the github repo: https://github.com/Golden-Earth-Inc/AIDE-Lite
Releases
AIDE Lite v1.3.1
Redesigned Header & Hamburger Menu
The header toolbar has been consolidated into a single hamburger menu, replacing the row of 9 icon buttons.
All actions are now organized in a clean dropdown:
- Mode selection (Agent / Ask) moved from the input bar to the menu with radio buttons and descriptions
- Quick actions: Refresh Context, New Chat, Export Chat, Chat History
- View & theme: Toggle View (pane/tab), Light/Dark Mode toggle
- Settings, Privacy, Help — all accessible from one place
This frees up header space and reduces visual clutter, especially in the narrow dockable pane layout.
Tabbed Settings Dialog
The settings modal is now organized into three tabs:
- General — API Key, Model, Theme
- Context — Context Depth, Include Marketplace Modules, Auto-Refresh on Startup
- Advanced — Max Tokens, Max Tool Rounds, Rate Limit Retries, Retry Delay, Prompt Caching, Auto-Load Last Conversation
Include Marketplace Modules
New setting to include Marketplace (App Store) modules in:
- System prompt context sent to Claude
- get_modules tool results
- search_model tool results
Off by default.
Useful when you need Claude to understand or reference entities/microflows from Marketplace modules in your app.
Other Improvements
- Removed separate Settings menu item from Extensions menu (settings now accessible only from the chat pane)
- Settings modal now scrollable on small viewports
What's New (v1.0 → v1.3)
Community Contributions By: Tomasz Gołembiewski
Chat & Experience
- Ask mode — read-only chat without write tools
- Conversation history with save, load, and delete
- Export chat as Markdown with optional tool activity
- Dark and light themes with header toggle
- Toggle between sidebar pane and full editor tab
- Rich text copy button on assistant messages
- Per-code-block copy buttons
- Stop/cancel button for in-flight requests
- Quick action buttons on welcome screen
Performance
- Prompt caching for faster API responses
- Context usage tracking with visual indicator
- Automatic retry with configurable exponential backoff
Attachments & Context
- Image attachments via drag-and-drop, paste, and file picker
- File attachments with syntax-aware language detection
- Drag-and-drop from Studio Pro App Explorer
- Active document tracking bar
- Document reference chips on messages
- Context menu integration for microflows
- Full or per-module context depth
Model Intelligence
- OQL query validation against the domain model
- Clickable document references in AI responses
- OQL generation guidance and best practices
Security & Compliance
- GDPR/SOC2 data consent dialog
- DPAPI encryption for API key and conversation history
- Prompt injection defenses with untrusted-data boundaries
- Write operation safety cap (5 per turn)
- XSS protection and Content Security Policy
- Project-level rules file (.aide-lite-rules.md)
Developer Experience
- macOS build system via Parallels
- JS modularization (state, bridge, UI, views)
- Modal close buttons and UI polish
Added two new features:
## Dark Mode: Full theme support with CSS custom properties. Toggle between light and dark with a single click in the header. Your preference persists across sessions.
## Export Chat as Markdown: Download your entire AI conversation as a .md file. Optional toggle to include tool activity (model reads, microflow creation steps) for documentation or knowledge sharing.
AIDE Lite v1.1.0 - Initial Public Release
AIDE: AI + IDE, right where you build
An AI-powered IDE extension for Mendix Studio Pro - read your model, build your logic.
What's New
Chat Interface
- Dockable chat pane inside Studio Pro with streaming responses
- Processing progress bar with status updates during AI reasoning
- Quick action buttons for common tasks (Describe Domain Model, List Microflows, Suggest Improvements)
- Settings modal for API key, model selection, context depth, and max tokens
- New Chat and Cancel buttons for conversation control
Model Reading (9 tools)
- Read entities, attributes, associations, enumerations, microflows, and pages across all modules
- Full microflow inspection: parameters, return types, activity sequences, flow control elements (decisions, loops, merges), and annotations
- Deep folder support - finds documents regardless of nesting depth
- Search any model element by name (Marketplace modules excluded)
Microflow Creation & Editing (5 tools, 21 activity types)
- Create microflows from natural language with 21 activity types: CreateObject, ChangeObject, Retrieve, Commit, DeleteObject, Rollback, CreateList, AggregateList, MicroflowCall, AssociationRetrieve, Sort, ChangeList, ListOperation, FindByExpression, FindByAttribute, FindByAssociation, FilterByAttribute, FilterByAssociation, ChangeAssociation, AggregateByExpression, AggregateByAttribute
- Edit activity properties in-place (preserves decisions, loops, and splits)
- Rename microflows with automatic reference updates
- Add activities to existing microflows
- Replace microflows entirely (original backed up)
AI Quality
- Grounding rules prevent hallucination - Claude only references entities, attributes, and associations that exist in your loaded model
- Mendix best practices embedded (XPath optimization, naming conventions, performance, anti-patterns)
- Stop-and-ask behavior - Claude stops and asks for clarification instead of guessing
- Sub-microflow decomposition pattern for branching logic (decisions/loops)
- Custom project rules via .aide-lite-rules.md in your Mendix project root
Security
- API key encrypted with DPAPI using app-specific entropy
- Keys never logged, committed, or transmitted outside Anthropic API calls
- XSS-safe markdown rendering in chat UI
Models Supported
- Claude Sonnet 4.5 (default, recommended)
- Claude Opus 4.6 (most capable)
- Claude Haiku 4.5 (fastest)
Known Limitations
- No decision, loop, or merge creation (Extensions API limitation) - Claude guides you to add these manually
- No page, nanoflow, entity, or enumeration creation
- SSE streaming is buffered due to Mendix IHttpClient limitation
- Requires --enable-extension-development flag
Requirements
- Mendix Studio Pro 10.24.x (LTS)
- .NET 8.0 SDK (for building from source)
- Claude API key from https://console.anthropic.com/
v1.0.0: Initial Release
AI-powered development assistant for Mendix Studio Pro.
What's Included
Full App Model Reading
Claude reads your entire app model on every request: entities with all attributes and types, associations, microflows with activity details and flow control, pages, and enumerations. No manual lookups needed.
Microflow Creation & Editing
Create microflows from natural language with 14 activity types: CreateObject, Retrieve (with XPath), ChangeObject, Commit, DeleteObject, CreateList, AggregateList, MicroflowCall, Rollback, AssociationRetrieve, Sort, ChangeList, ListOperation, and FindByExpression. Edit existing microflows: rename, add activities at specific positions, edit properties in-place, or replace entirely.
Cross-Module Search
Find any entity, microflow, page, or enumeration by name across your whole project. Marketplace modules are excluded automatically.
Smart Complex Logic Handling
For logic requiring decisions or loops, Claude creates sub-microflows for each branch with caption hints and tells you exactly where to add the manual decisions - typically 1-2 clicks.
Built-In Best Practices
Mendix development guidelines for naming, XPath optimization, performance, and security are embedded in every conversation.
Secure & Private
Bring-your-own API key, encrypted locally with Windows DPAPI. Three model options: Sonnet 4.5, Opus 4.6, Haiku 4.5. Prompt caching cuts follow-up costs by ~90%.
Built for Studio Pro 10.24 LTS. Requires an Anthropic API key.