WAMAI for Visual Studio Code
The official Visual Studio Code extension for WAMAI — AI-powered knowledge assistant for eWam development.
WAMAI brings deep, retrieval-augmented knowledge of the eWam platform directly into GitHub Copilot, eliminating the need for manual configuration and keeping your framework expertise always up to date.
Features
🤖 @wamai Chat Participant
Talk to WAMAI directly in Copilot Chat:
- Ask about WAML syntax and language rules
- Look up eWam framework APIs and patterns
- Get code examples grounded in your actual framework version
- Generate WAML classes, relations, and methods with correct syntax
The @wamai participant injects the WAML language primer into Copilot's context automatically — so the model knows WAML syntax before searching the knowledge base, using the full retrieval budget for framework-specific results rather than language basics.
@wamai How do I declare a versioned relation in aFullObject?
@wamai Show me the OQL cursor pattern for a list query
@wamai What's the difference between aLightObject and aFullObject?
🔌 Automatic MCP Server Registration
WAMAI registers its knowledge server programmatically — no manual mcp.json required:
- Zero workspace configuration — works across all your eWam projects instantly
- Secure key management — your subscription key is stored in the OS keychain, never in workspace files
- Dynamic registration — the server is registered on sign-in and deregistered on sign-out
In Copilot's agent mode, WAMAI tools (retrieve_wamai_context) are available automatically.
📚 Bundled Knowledge Assets
All guidance files are bundled inside the extension — invisible in your workspace file tree, never indexed by @workspace:
- WAML language primer — injected as Copilot context, not consuming RAG token budget
- Tool usage instructions — tuned defaults for
product, language, and content_type
- Implementation prompts — ready-to-use prompts for common WAML development tasks
- WAML editing skill — structured workflow for class creation, relation design, and method implementation
🔗 eWam Extension Integration
When the eWam extension is also installed, WAMAI can enrich AI context with live metamodel data:
- Class hierarchy and inheritance tree from the running engine
- Field, relation, and method outlines for a specific class
- Project metadata and engine connection state
This gives Copilot three layers of context: general coding knowledge + WAMAI framework retrieval + your actual live codebase structure.
Getting Started
Requirements
- GitHub Copilot — active subscription
- VS Code 1.99+
- WAMAI subscription — an APIM subscription key (contact us to get access)
Installation
- Install the extension from the VS Code Marketplace.
- Open the WAMAI panel in the activity bar.
- Click Sign In and paste your subscription key.
- The WAMAI MCP server registers automatically — open Copilot Chat and start with
@wamai.
The Get Started walkthrough guides you through the setup.
Documentation
Support
For questions, access requests, or feedback, contact us.
Mphasis Wyde — Empowering model-driven development