โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โโโโโโโ โโโโโโโ โโโโโโโโโโโโ โโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โ
โ โโโ โโโโโโโโโโโโโโโโโ โโโโโโ โโโ โ
โ โโโ โโโโโโโโโโ โโโโโโ โโโโโโโโโโ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโ โโโโโโ โ
โ โโโโโโโ โโโ โโโโโโโโโโโ โโโโโ โ
โ โ
โ OPENCLAW MULTI-AGENT ORCHESTRATION DASHBOARD โ
โ MGS CODEC INTERFACE v2.0 โ
โ โ
โ โ FREQUENCY 187.89 MHz โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The most advanced multi-agent AI dashboard ever built โ wrapped in an authentic Metal Gear Solid CODEC interface from 1998. This is not a theme โ this is a fully operational AI orchestration system disguised as a Cold War military communication device.
"Snake, I need you to listen carefully. Six AI agents are standing by on frequency 187.89 MHz. Your mission: orchestrate them." โ Colonel Campbell
| Layer | Technology |
|---|---|
| Frontend | Next.js 15 (App Router) + React 19 + TypeScript |
| CRT Effects | WebGL Fragment Shaders (Three.js) + CSS scanlines |
| Animations | Framer Motion 11 + GSAP 3.12 |
| Backend | FastAPI + Pydantic v2 + Motor (async MongoDB) |
| AI Agents | PicoClaw (Claude, GPT-4, OpenRouter, Groq, Gemini) |
| Database | MongoDB 7 + Redis (WebSocket pub/sub) |
| Audio | Web Audio API (procedural MGS beeps) |
| Deploy | Docker Compose + GitHub Actions + GH Pages |
git clone https://github.com/smouj/openclaw-mgs-codec
cd openclaw-mgs-codec
cp .env.example .env # Edit with your settings
docker-compose up -dOpen http://localhost:3000 โ CODEC ACTIVE.
git clone https://github.com/smouj/openclaw-mgs-codec
cd openclaw-mgs-codec
chmod +x install.sh && ./install.sh
./start.sh# No MongoDB, no API key required
cd frontend-next
npm install
NEXT_PUBLIC_DEMO_MODE=true npm run dev- Frequency Display: 187.89 MHz in glowing red phosphor digits (exact replica)
- Split-Screen Portraits: Left operator / right agent โ Yoji Shinkawa art style
- PTT Timer: Digital clock with MEM/TUNE buttons
- Boot Sequence: CRT power-on animation with typewriter boot log
- Incoming Call: Ring animation + audio alert with portrait flash
- Parametric Scanlines: Animated with exact pixel spacing
- Phosphor Bloom: Cheap box-blur approximation of phosphor persistence
- Screen Curvature: Barrel distortion in GLSL fragment shader
- Chromatic Aberration: RGB channel offset at screen edges
- Film Grain: Green-tinted procedural noise (no texture files)
- Vignette: Radial darkening toward screen edges
- Phosphor Flicker: Subtle 60Hz luminance variation
| Agent | Frequency | Capabilities |
|---|---|---|
| ๐ท Orchestrator | 187.89 MHz | Coordination, strategy, delegation |
| โก Shell Executor | 141.12 MHz | Bash, system commands, automation |
| ๐ Browser Agent | 140.85 MHz | Web scraping, research, Playwright |
| ๐ File Manager | 140.15 MHz | File ops, search, organization |
| ๐ก Communications | 142.52 MHz | Email, webhooks, notifications |
| โญ Custom Skill | 143.74 MHz | Plugins, custom tasks, API |
All sounds generated in real-time with no audio files:
playCodecBeep()โ iconic 3-tone MGS CODEC sequenceplayCallStart()โ rising frequency sweepplayMessageReceived()โ two-tone chimeplayAlert()โ urgent sawtooth alertplayBootSequence()โ dramatic startup sweepplayTransmissionLost()โ descending glitch
- LIFE bar: Token usage as red HP bar (decreases with usage)
- RATIONS: Cost per hour in real-time
- EQUIPMENT: Active LLM model slots (Claude/GPT/Groq)
- UPTIME: Session timer with total conversations
Trigger types: cron | interval | date
Job types: agent_task | shell_command | webhook
- Fernet encryption for API keys (AES-128-CBC + HMAC-SHA256)
- Docker secrets support
- Sandboxed command execution (dangerous command blocking)
- Path traversal protection
- Rate limiting on all API endpoints
- Tokens never logged or exposed
Tokens use provider:api_key format:
anthropic:sk-ant-api03-xxxxx Claude 3.5 Sonnet
openai:sk-xxxxx GPT-4o
openrouter:sk-or-v1-xxxxx Any model via OpenRouter
groq:gsk_xxxxx Groq (ultra-fast)
google:AIzaxxxxx Gemini 2.0 Flash
sk-ant-api03-xxxxx Default: Anthropic
openclaw-mgs-codec/
โโโ frontend-next/ # Next.js 15 (App Router) โ NEW
โ โโโ app/
โ โ โโโ layout.tsx # Root layout + metadata + fonts
โ โ โโโ page.tsx # Dashboard page
โ โ โโโ globals.css # CRT CSS variables + utilities
โ โโโ components/
โ โ โโโ codec/ # CODEC UI components
โ โ โ โโโ CodecDashboard.tsx # Main orchestrator
โ โ โ โโโ CodecBootScreen.tsx # Power-on animation
โ โ โ โโโ CodecHeader.tsx # Freq display + controls
โ โ โ โโโ CodecPortraitPanel.tsx # Agent portraits
โ โ โ โโโ CodecConversation.tsx # Typewriter chat
โ โ โ โโโ CodecAgentList.tsx # Agent selector
โ โ โ โโโ CodecHUD.tsx # Military HUD
โ โ โ โโโ CodecScheduler.tsx # Job scheduler modal
โ โ โ โโโ CodecTokenModal.tsx # API token config
โ โ โโโ effects/ # CRT visual effects
โ โ โโโ CRTCanvas.tsx # WebGL Three.js shader
โ โ โโโ ScanlineOverlay.tsx # CSS scanlines
โ โ โโโ NoiseOverlay.tsx # Static noise
โ โ โโโ VignetteOverlay.tsx # Screen vignette
โ โโโ lib/
โ โ โโโ api.ts # Typed FastAPI client
โ โ โโโ audio.ts # Web Audio API system
โ โ โโโ mockData.ts # Demo mode data
โ โ โโโ shaders.ts # GLSL shader strings
โ โโโ types/index.ts # Full TypeScript types
โ
โโโ frontend/ # Legacy React CRA (still works)
โโโ backend/ # FastAPI + PicoClaw + Scheduler
โ โโโ server.py # API endpoints + WebSocket
โ โโโ scheduler.py # APScheduler integration
โ โโโ picoclaw_agent/ # AI agent framework
โ
โโโ docs/ # GitHub Pages landing page
โ โโโ index.html # Spectacular landing (WebGL CRT)
โ โโโ manifest.json # PWA manifest
โ
โโโ .github/workflows/
โ โโโ ci.yml # CI: lint + type-check + build
โ โโโ deploy-pages.yml # GH Pages auto-deploy
โ
โโโ docker-compose.yml # Full stack Docker
โโโ Dockerfile.backend # FastAPI container
โโโ Dockerfile.frontend # Next.js container
โโโ .env.example # Environment template
The landing page in /docs deploys automatically via GitHub Actions on every push to main.
Setup once:
- Go to repo Settings โ Pages
- Source: GitHub Actions
- Push to main โ it deploys automatically
URL: https://yourusername.github.io/openclaw-mgs-codec/
# Production
docker-compose up -d
# With live logs
docker-compose up
# Rebuild after code changes
docker-compose up --build -d
# Stop
docker-compose down
# Stop + remove volumes
docker-compose down -v
# View logs
docker-compose logs -f backend
docker-compose logs -f frontend# Backend only
docker build -f Dockerfile.backend -t openclaw-backend .
docker run -p 8001:8001 --env-file .env openclaw-backend
# Frontend only
docker build -f Dockerfile.frontend -t openclaw-frontend .
docker run -p 3000:3000 --env-file .env openclaw-frontendcd frontend-next
npm install
npm run dev # http://localhost:3000 with Turbopack
npm run build # Production build
npm run type-check # TypeScript
npm run lint # ESLintcd frontend
npm install
npm start # http://localhost:3000cd backend
pip install -r requirements.txt
python server.py # http://localhost:8001
# or
uvicorn server:app --reload --port 8001| Method | Path | Description |
|---|---|---|
GET |
/api/health |
Health check |
GET |
/api/agents |
List all agents |
PUT |
/api/agents/{id}/status |
Update agent status |
POST |
/api/conversations |
Create conversation |
POST |
/api/conversations/{id}/messages |
Send message (triggers AI) |
POST |
/api/config/token |
Save encrypted API token |
GET |
/api/metrics |
Real-time system metrics |
GET |
/api/jobs |
List scheduled jobs |
POST |
/api/jobs |
Create scheduled job |
WS |
/ws |
WebSocket real-time events |
#001100 Background (deep phosphor green-black)
#000800 Darker background (void)
#00ff9d Phosphor green (primary โ all text)
#00aa66 Phosphor green dim (secondary)
#006644 Phosphor green dark (hints, borders)
#00ffff Cyan (user messages)
#ff00ff Magenta (system messages)
#ff0033 Red (alerts, LIFE bar)
#ffcc00 Yellow (busy state, rations)
#ff2200 Red-orange (frequency display)
- Headings, UI, displays:
VT323(Google Fonts โ authentic CRT terminal) - Body, code, messages:
Courier New, Courier, monospace
.glow-green { text-shadow: 0 0 8px #00ff9d, 0 0 20px #00ff9d; }
.crt-screen { /* CRT outer glow + inset shadow */ }
.crt-scanlines { /* Animated scanlines overlay */ }
.status-connected { /* Pulsing green dot */ }
.mgs-panel { /* Dark panel with green border */ }
.mgs-btn { /* MGS-styled button with hover glow */ }
.freq-display { /* Red phosphor frequency digits */ }
.life-bar { /* HP bar */ }./install.sh # Full installation (deps + config + services)
./start.sh # Start all services
./stop.sh # Stop all services
./update.sh # Pull latest + restart (with git stash)
./diagnose.sh # System health check (all deps + ports + services)
./logs.sh # Live log viewerContributions welcome! This project follows:
- TypeScript strict mode
- ESLint + Prettier formatting
- Conventional commits (
feat:,fix:,chore:) - PRs must pass CI before merge
# Fork โ clone โ branch โ PR
git checkout -b feat/your-feature
git commit -m "feat: add plasma beam weapon selector"
git push origin feat/your-feature- Metal Gear Solid (Konami, 1998) โ Hideo Kojima's masterpiece
- Metal Gear Solid 2: Sons of Liberty (Konami, 2001)
- Yoji Shinkawa โ Artist whose portrait style inspired the UI
- PicoClaw โ The AI agent framework powering real capabilities
- Anthropic Claude โ Primary AI backbone
MIT License โ See LICENSE for details.
โถ FREQUENCY 187.89 MHz โ CODEC ACTIVE
โถ Snake... it's not over yet.
โถ KONAMI ร XAI 2026