Enhanced professional bridge extension for infinite AI-to-AI communication with autonomous acknowledgment processing, error recovery, and sequential processing between ZAI MCP server and VSCode AI assistant
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Enhanced Professional Bridge for Intelligent AI-to-AI Communication between Zrald MCP Server and VSCode AI Assistant
🚀 What This Extension Does
This VSCode extension serves as an enhanced professional bridge that enables seamless AI-to-AI communication between:
Zrald MCP Server (generates AI prompts via OpenRouter with multiple API keys)
VSCode AI Assistant (processes prompts and provides responses)
Back to Zrald MCP Server (receives responses for next iteration with acknowledgment)
🔄 How It Works
User: actloop improve code
â
Zrald MCP Server: Generates improvement prompts via OpenRouter
â
Zai Bridge Extension: Gets prompts from MCP server
â
VSCode AI Assistant: Processes prompts automatically
â
Zai Bridge Extension: Captures AI responses with acknowledgment
â
Zrald MCP Server: Receives responses for next iteration
â
🔄 Loop continues automatically with sequential processing!
âī¸ Enhanced Features
🔄 Ultra-Fast Polling: 500ms polling for instant response (configurable)
🤖 Professional AI Integration: Advanced VSCode AI assistant integration
📡 Acknowledgment System: Automatic response capture with completion acknowledgment
📊 Real-Time Monitoring: Live status in VSCode status bar with detailed info
âī¸ Advanced Configuration: Multiple server URLs, retry logic, error recovery
🛡ī¸ Enhanced Error Handling: Multi-layer fallback with automatic recovery
🔄 Sequential Processing: Ensures AI agent completes before next iteration
🚀 Auto-Recovery: Automatic restart on errors or disconnections
🛠ī¸ Installation
Method 1: From VSIX (Recommended)
Download the .vsix file
Open VSCode
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
Type "Extensions: Install from VSIX"
Select the downloaded .vsix file
Method 2: From Source
Clone this repository
Run npm install
Run npm run compile
Press F5 to launch extension development host
🚀 Usage
1. Start the Zai Bridge
Open Command Palette (Ctrl+Shift+P)
Run "🤖 Start Zai Bridge"
Or click the Zai robot icon in status bar
2. Configure Settings
Open Settings (Ctrl+,)
Search for "Zai Bridge"
Configure:
MCP Server URL: Default http://localhost:7878
Poll Interval: Default 500ms (ultra-fast)
Auto Start: Default true
3. Use with Zrald MCP Server
# Start Zrald MCP server
npx -y zai-mcp-server@latest
# In MCP client, activate AI-to-AI loop
actloop improve mobile app performance
# Zai Bridge will automatically:
# 1. Get prompts from Zrald MCP server
# 2. Send to VSCode AI assistant
# 3. Capture responses with acknowledgment
# 4. Send back to Zrald MCP server
# 5. Continue the infinite loop with sequential processing!