NextEleven Code - VS Code Extension
AI-powered development assistant with 20+ specialized agents, directly in VS Code.
Features
- 20+ Specialized AI Agents: Security, Performance, Testing, Documentation, Bug Hunter, and more
- Auto-Orchestrator: Intelligent task routing to the right agent
- Context-Aware: Automatically sends current file and selection to AI
- Real-time Streaming: See AI responses as they're generated
- Keyboard Shortcuts: Quick access with Cmd/Ctrl+Shift+N
- Agent Selection: Switch between agents on the fly
- Chat History: Maintains conversation context
Installation
Option 1: From VSIX File (Recommended)
Package the extension:
cd vscode-extension
npm install -g vsce
npm run package
Install in VS Code:
- Open VS Code
- Press
Cmd/Ctrl+Shift+P
- Type "Install from VSIX"
- Select the generated
.vsix file
Option 2: From Source (Development)
Clone and setup:
cd vscode-extension
npm install
npm run compile
Open in VS Code:
code .
Press F5 to launch Extension Development Host
Configuration
Required Settings
Open VS Code Settings (Cmd/Ctrl+,) and search for "nexteleven":
{
"nexteleven.xaiApiKey": "your-xai-api-key"
}
Only the xAI API key is required. No other API keys or URLs.
Optional Settings
{
"nexteleven.defaultAgent": "orchestrator",
"nexteleven.autoSendContext": true,
"nexteleven.maxTokens": 4096
}
Usage
Open Chat Panel
- Press
Cmd/Ctrl+Shift+N (Mac/Windows)
- Or: Command Palette → "NextEleven: Open Chat"
- Or: Click the NextEleven icon in the Activity Bar
Select an Agent
- Press
Cmd/Ctrl+Shift+A
- Or: Command Palette → "NextEleven: Select Agent"
- Choose from:
- Orchestrator (default) - Routes tasks to best agent
- Security - Find vulnerabilities
- Performance - Optimize code
- Testing - Generate tests
- Documentation - Write docs
- Bug Hunter - Debug issues
- Code Review - Review quality
- And more...
Ask About Selected Code
- Select code in editor
- Right-click → "NextEleven: Ask About Code"
- The selected code will be sent as context
Available Commands
NextEleven: Open Chat - Open chat panel
NextEleven: Select Agent - Choose AI agent
NextEleven: Clear Chat - Clear conversation
NextEleven: Settings - Open extension settings
NextEleven: Check Health - Test API connection
API Configuration
The extension requires only your xAI API key. Set nexteleven.xaiApiKey in settings. No other API keys or URLs.
Development
Project Structure
vscode-extension/
├── src/
│ ├── extension.ts # Main entry point
│ ├── api-client.ts # API communication
│ └── chat-view-provider.ts # Chat UI webview
├── resources/
│ └── icon.svg # Extension icon
├── dist/ # Compiled output
├── package.json # Extension manifest
└── tsconfig.json # TypeScript config
Build Commands
npm run compile # Compile TypeScript
npm run watch # Watch mode for development
npm run package # Create .vsix package
npm run lint # Run ESLint
Testing
- Open extension in VS Code
- Press
F5 to launch Extension Development Host
- Test commands and features
- Check Debug Console for logs
Troubleshooting
Cannot connect
- Add your xAI API key: Settings → search "nexteleven" →
nexteleven.xaiApiKey
- Command Palette → "NextEleven: Check Health" to verify
Extension not activating
- Reload VS Code: Command Palette → "Reload Window"
- Check Output panel → "NextEleven Code" for errors
- Try reinstalling the extension
Chat not responding
- Check API health (NextEleven: Check Health)
- Verify
nexteleven.xaiApiKey is set
- Check Output panel → "NextEleven Code" for errors
Publishing
To VS Code Marketplace
- Create a publisher account at https://marketplace.visualstudio.com
- Generate a Personal Access Token
- Package and publish:
npm install -g vsce
vsce package
vsce publish
To OpenVSX (Open Source Alternative)
npm install -g ovsx
ovsx publish nexteleven-code-1.0.0.vsix -p YOUR_TOKEN
Monetization Options
1. VS Code Marketplace (Freemium)
- Free tier: Limited requests/day
- Pro tier: $4.99/month - Unlimited requests
- Enterprise: Custom pricing
2. License Key System
- Integrate license validation in
api-client.ts
- Validate against your licensing server
- Offer monthly/annual subscriptions
3. API Access Control
- Free tier: Public API with rate limits
- Paid tier: Premium API endpoint with higher limits
- Enterprise: Self-hosted option
4. Bundle with Backend
- Sell complete package (extension + backend + deployment)
- White-label solution for enterprises
- Custom agent development services
License
Copyright © 2026 NextEleven. All rights reserved.
Support
Changelog
1.0.0 (2026-01-19)
- Initial release
- 20+ specialized AI agents
- Real-time streaming responses
- Context-aware code assistance
- Keyboard shortcuts
- Agent selection
- Chat history