VS Code Extension Overview
The Ultra-Dex VS Code Extension provides deep integration with Visual Studio Code, offering sidebar panels, agent controls, and seamless access to Ultra-Dex features directly within your IDE.
Features
Sidebar Panels
Agent Explorer
- Browse and manage all 18 Ultra-Dex agents
- View agent status and activity
- Run agents directly from the sidebar
- See agent descriptions and capabilities
Swarm Status
- Monitor ongoing agent swarms
- View progress and status updates
- See active agents and their tasks
- Access swarm controls and logs
Context Preview
- View current project context
- Access key project information
- See alignment scores and metrics
- Preview CONTEXT.md content
Quick Actions
- One-click access to common commands
- Generate plans, run swarms, check alignment
- Open dashboard and documentation
- Access frequently used features
Context Menu Integration
"Ask @Agent about selection"
Right-click on selected code to ask specific agents about it:
- @Reviewer for code review
- @Debugger for debugging help
- @Security for security analysis
- @Performance for optimization
"Execute in Sandbox"
Run selected code snippets in a secure Docker sandbox.
Status Bar Integration
- Real-time project alignment score
- Quick access to alignment checking
- Status indicators for system health
Keyboard Shortcuts
Ctrl+Shift+A(Cmd+Shift+A on Mac): Select AgentCtrl+Shift+S(Cmd+Shift+S on Mac): Semantic SearchCtrl+Shift+R(Cmd+Shift+R on Mac): Run Swarm
Installation
From Marketplace (Recommended)
- Open VS Code
- Go to Extensions (
Ctrl+Shift+XorCmd+Shift+X) - Search for "Ultra-Dex"
- Click Install
- Reload VS Code when prompted
From VSIX File
- Download the
.vsixfile from the releases page - Open VS Code
- Go to Extensions
- Click the "..." menu and select "Install from VSIX..."
- Select the downloaded file
- Reload VS Code
Configuration
Extension Settings
Configure the extension through VS Code settings:
{
"ultra-dex.defaultProvider": "anthropic",
"ultra-dex.kernelPort": 3001,
"ultra-dex.dashboardPort": 3002,
"ultra-dex.autoStartKernel": false,
"ultra-dex.enableSandbox": true
}
Project Configuration
The extension respects project-level configuration from .ultra-dexrc files.
Usage
Starting the Kernel
The Ultra-Dex kernel provides real-time updates and communication:
- Use the command palette (
Ctrl+Shift+PorCmd+Shift+P) - Run "Ultra-Dex: Start Active Kernel"
- Or enable "Auto-start kernel" in settings
Running Agents
From Sidebar
- Open the Agent Explorer panel
- Right-click on an agent
- Select "Run Agent"
- Enter the task description
From Command Palette
- Open command palette (
Ctrl+Shift+PorCmd+Shift+P) - Run "Ultra-Dex: Select Agent"
- Choose an agent from the list
- Enter your task description
Running Swarms
- Use the command palette
- Run "Ultra-Dex: Run Agent Swarm"
- Enter the swarm objective
- Monitor progress in the Swarm Status panel
Checking Alignment
- Click the alignment indicator in the status bar
- Or use command palette: "Ultra-Dex: Check Alignment"
- View the alignment score and details
Troubleshooting
Extension Not Loading
- Verify VS Code version (requires 1.80.0 or higher)
- Check for conflicting extensions
- Look for errors in the developer console (
Help > Toggle Developer Tools)
Agent Communication Issues
- Ensure the Ultra-Dex kernel is running
- Check network connectivity
- Verify API key configuration
- Review extension logs
Performance Issues
- Disable auto-refresh if not needed
- Limit the number of active agents
- Check system resource usage
- Review extension settings
MCP Integration Problems
- Verify MCP server is accessible
- Check Claude Desktop/Cursor configuration
- Ensure proper permissions
- Review MCP logs
Customization
Themes
The extension supports VS Code's theming system and includes special styling for:
- Agent status indicators
- Progress bars
- Status messages
- Error notifications
Key Bindings
Customize keyboard shortcuts in VS Code's keybinding settings:
- Open
Preferences: Open Keyboard Shortcutsfrom command palette - Search for "Ultra-Dex" commands
- Modify keybindings as needed
Best Practices
- Keep the extension updated for latest features
- Use the sidebar panels for efficient workflow
- Leverage context menu integration for code-specific tasks
- Monitor alignment scores regularly
- Use the sandbox for experimental code execution
Known Issues
- Large projects may take time to initialize
- Some features require internet connectivity
- MCP integration requires proper configuration
- Docker is recommended for sandbox functionality
Next Steps
- Review the Getting Started Guide for initial setup
- Read the CLI Overview for command-line usage
- Check the MCP Integration Guide for AI tool connections