Amplifier WAIIDE Extension
Calliope Integration: This component is integrated into the Calliope AI platform. Some features and configurations may differ from the upstream project.
This document describes the CalliopeAI Amplifier WAIIDE extension that provides native IDE integration for Microsoft’s Amplifier AI development environment.
Overview
The Amplifier extension brings Amplifier’s powerful AI agents, knowledge base, and parallel development workflows directly into the WAIIDE interface with:
- Activity Bar Sidebar - Dedicated Amplifier panel with three views
- Command Palette Integration - Quick access to all Amplifier features
- Keyboard Shortcuts - Fast workflow access
- Terminal Automation - One-click agent launching
- Beautiful UI - Elegant, simple interface following WAIIDE design patterns
Features
1. AI Agents Panel
Browse and launch specialized AI agents organized by category:
Core Development
zen-architect- Design with ruthless simplicitymodular-builder- Build modular componentsbug-hunter- Systematic debuggingtest-coverage- Comprehensive testingapi-contract-designer- Clean API design
Analysis & Optimization
security-guardian- Security analysisperformance-optimizer- Performance profilingdatabase-architect- Database design
Knowledge & Insights
concept-extractor- Extract knowledge from docsinsight-synthesizer- Find hidden connections
2. Knowledge Base Panel
Interact with Amplifier’s knowledge extraction and synthesis system:
- Query Knowledge - Search your project’s knowledge base
- Update Knowledge - Extract and synthesize new knowledge
- View Graph - Visualize knowledge connections
- Show Statistics - Knowledge base metrics
3. Worktrees Panel
Manage parallel development branches:
- Create Worktree - New parallel development environment
- List All - See all active worktrees
- Switch Worktree - Change between worktrees
Usage
Launching Amplifier
Via Sidebar:
- Click the Amplifier icon in the Activity Bar (left sidebar)
- In the “AI Agents” panel, click the rocket icon at the top
- Amplifier launches in an integrated terminal
Via Command Palette:
- Press
Ctrl+Shift+P(orCmd+Shift+Pon Mac) - Type “Amplifier: Launch Claude WAIIDE”
- Press Enter
Via Keyboard:
Ctrl+Shift+A(orCmd+Shift+Aon Mac)
Using Agents
From Sidebar:
- Navigate to the “AI Agents” panel
- Browse agents by category
- Click any agent to launch it
From Command Palette:
Ctrl+Shift+P→ “Amplifier: Run Agent…”- Select agent from the list
- Agent launches with Claude WAIIDE
Via Keyboard:
Ctrl+Shift+Alt+A(orCmd+Shift+Alt+Aon Mac)
Knowledge Base Operations
Query Knowledge:
1. Click "Query Knowledge" in the Knowledge Base panel
2. Enter your search query
3. Results appear in the terminalUpdate Knowledge:
1. Click "Update Knowledge" in the Knowledge Base panel
2. Choose update type:
- Full Update (extract + synthesize)
- Extract Only
- Synthesize Only
3. Process runs in terminalWorking with Worktrees
Create New Worktree:
1. Click "Create Worktree" in the Worktrees panel
2. Enter a name (e.g., "feature-oauth")
3. Worktree created with isolated environmentConfiguration
Access settings via:
- Command Palette → “Amplifier: Configure”
- WAIIDE Settings → “Amplifier”
Available Settings
| Setting | Description | Default |
|---|---|---|
amplifier.enabled | Enable Amplifier integration | true |
amplifier.autoActivate | Auto-activate in new terminals | false |
amplifier.dataDirectory | Data storage location | ~/.amplifier-data |
amplifier.defaultAgent | Default agent for quick launch | "" |
Auto-Activation
When enabled, new terminals automatically have Amplifier’s Python environment activated:
{
"amplifier.autoActivate": true
}Keyboard Shortcuts
| Shortcut | Command | Description |
|---|---|---|
Ctrl+Shift+A | Launch Claude WAIIDE | Start Amplifier session |
Ctrl+Shift+Alt+A | Run Agent | Launch specific agent |
Note: Use Cmd instead of Ctrl on macOS
Extension Architecture
Components
Main Extension (extension.ts)
- Command registration
- Event handlers
- Terminal automation
- Configuration management
Tree Providers (*Provider.ts)
AgentsProvider- AI agents list with categoriesKnowledgeProvider- Knowledge base operationsWorktreesProvider- Worktree management
Integration Points
Terminal Integration
- Creates named terminals with icons
- Activates Python environment
- Sends commands automatically
- Maintains working directory context
Configuration API
- WAIIDE settings integration
- Workspace and global scopes
- Runtime updates
Webview Panels
- Agent details views
- Knowledge graph visualization (future)
- Interactive UIs
Development
Building the Extension
cd calliope-amplifier-extension
npm install
npm run compileProject Structure
calliope-amplifier-extension/
├── package.json # Extension manifest
├── tsconfig.json # TypeScript configuration
├── webpack.config.js # Build configuration
└── src/
├── extension.ts # Main extension WAIIDE
├── agentsProvider.ts # AI agents tree view
├── knowledgeProvider.ts # Knowledge base tree view
└── worktreesProvider.ts # Worktrees tree viewBuild Scripts
The extension is built during Docker image creation:
# From project root
./scripts/build-amplifier-extension.shThis script:
- Installs npm dependencies
- Compiles TypeScript to JavaScript
- Bundles with Webpack
- Copies to WAIIDE extensions directory
User Experience Design
Design Principles
- Simplicity - Minimal clicks to accomplish tasks
- Elegance - Clean, uncluttered interface
- Efficiency - Keyboard shortcuts for power users
- Discovery - Easy to explore and learn features
- Consistency - Follows WAIIDE design patterns
UI Patterns
Sidebar Organization:
- Three logical groupings (Agents, Knowledge, Worktrees)
- Collapsible categories
- Icons for visual recognition
- Tooltips for descriptions
Command Palette:
- Consistent naming: “Amplifier: [Action]”
- Searchable by feature
- Contextual descriptions
Terminal Behavior:
- Named terminals (e.g., “Amplifier”, “Knowledge Query”)
- Custom icons per task
- Workspace-aware commands
- Non-blocking execution
Troubleshooting
Extension Not Loading
Check extension is installed:
# Inside container
ls /opt/calliope/WAIIDE-server/extensions/ | grep amplifierShould see: calliope-amplifier
Commands Not Appearing
- Reload WAIIDE window:
Ctrl+Shift+P→ “Reload Window” - Check extension is activated: Output panel → “Extension Host”
Amplifier Not Found in Terminal
Ensure amplifier is set up for your user:
sudo /usr/local/bin/setup-amplifierTerminal Commands Failing
Check Python environment:
which python
# Should show: ~/amplifier/.venv/bin/python
source ~/amplifier/.venv/bin/activateFuture Enhancements
Planned Features
Interactive Agent Selection
- Visual agent picker with descriptions
- Recent agents history
- Favorite agents
Knowledge Graph Visualization
- Interactive graph in webview
- Click to explore connections
- Search and filter nodes
Worktree Workspace Integration
- One-click workspace switching
- Diff view between worktrees
- Merge conflict resolution
Status Bar Integration
- Active agent indicator
- Knowledge base status
- Quick actions
AI Chat Panel
- Integrated Claude WAIIDE chat
- Side-by-side with editor
- Context-aware suggestions
Contributing
The extension is designed for easy extension:
Adding New Agents:
// In agentsProvider.ts
new AgentItem('new-agent', 'Description', 'type', ...)Adding Commands:
// In extension.ts
context.subscriptions.push(
WAIIDE.commands.registerCommand('amplifier.newCommand', async () => {
// Implementation
})
);Adding Views:
// In package.json
"views": {
"amplifier-sidebar": [{
"id": "amplifier.newView",
"name": "New View"
}]
}