🏠 Main Admin Dashboard
Core Dev command center — full ecosystem control across Barbrick Design & Consciousness Revolution
AGENTR: Prime — Root Orchestrator
Loading manifest… · All permissions active
L999 ACTIVE
🛡️
Admin Control Hub
Click to manage →
User Hubs
0
Active Now
0
Total Sales
$0
Out of Sync
0
Gateway Status
Active Agents
Active Sessions
Cron Jobs
🚀 Getting Started — Connect to Your Gateway

The dashboard is ready. To see live agents, sessions, logs, and tasks you need to connect it to your Railway gateway service.

  1. Deploy the gateway/ folder to a new Railway service.
  2. In Railway → Variables, set GATEWAY_TOKEN to a secret string of your choice.
  3. Copy your Railway service URL (e.g. wss://…up.railway.app).
  4. Click ⚙️ Settings below, paste the URL and token, then click Connect to Railway.
Agent Hierarchy
🤖
Connect to gateway to view agent hierarchy
Recent Activity
📡
No recent events
System Health
💚
Awaiting connection
Quick Actions
Self-Healing Status
Initialising…
Restarts: 0
Patches: 0
Rebuilds: 0
Reconnects: 0
Agents
All configured agents — orchestrators, sub-agents, and specialists
Orchestrator / Main Agent
Sub-Agents & Specialists
🤖
Connect to gateway to view agents
Active Sessions by Agent
💬
No active sessions found
Run Tasks
Send tasks to agents, track automated runs and results
New Agent Task
Task History
No tasks run yet this session
Sessions
Active and recent agent conversation sessions
Active Sessions
💬
No active sessions
All Sessions
📚
Connect to view sessions
Cron Jobs
Scheduled tasks and automation timers
Scheduled Jobs
⏱️
Connect to view cron jobs
Quick Add Cron Job
Tools Reference
All built-in OpenClaw tools — docs.openclaw.ai/tools
Tool Profiles
minimal → session_status coding → fs + runtime + sessions + memory + image messaging → message + sessions full → all tools
Configure via tools.profile in openclaw.json. Per-agent override: agents.list[].tools.profile.
Live Logs
Real-time gateway log stream
— Waiting for gateway connection —
🧠 Agent Workspace
Drop agents onto the canvas to get started
Agent Types
🦞
Orchestrator
Commands & deploys sub-agents
🤖
Sub-Agent
Autonomous task runner
🔬
Specialist
Domain expert agent
🌐
API Agent
Manages API integrations
💾
Memory Agent
Persistent knowledge store
⚙️
Tool Agent
Executes tools & scripts
📚
Research Agent
Web & data research
💻
Code Agent
Writes & reviews code
Templates
🔬
Research Pipeline
Gather, analyze & report
💻
Code Review
Review, test & deploy
✍️
Content Creation
Write, edit & publish
🚀
Deploy Pipeline
Build, test & deploy
📊
Data Analysis
Collect, process & visualize
From Gateway
Connect to gateway to see live agents
🧠
Agent Workspace
Drag agent types from the palette onto this canvas
🔍 Inspector
Select an agent node to edit its configuration and objectives.
📋 Agent Logs — All agents
After connecting, tap Overview in the nav bar below to return to the dashboard.
Settings
Configure gateway connection and dashboard preferences
🤖 Local AI Engine

Run agents directly from your browser using your own AI API key. Supports OpenAI (gpt-4o, gpt-4-turbo, etc.) and Anthropic (claude-3-5-sonnet, claude-opus, etc.). Keys are stored only in your browser's localStorage and never sent to any server except the AI provider.

🖥️ Local Backend Launcher

Run the backend directly on this machine for full offline operation. No Railway account needed. The backend runs at ws://localhost:8080.

Not checked
📖 How-To Guide
▶ Step-by-step local setup instructions
  1. Install Node.js (LTS)
    Download from nodejs.org and install with default settings. Verify: node --version
  2. Clone or download the repository
    git clone https://github.com/barbrickdesign/barbrickdesign.github.io.git
    Or download the ZIP from GitHub and extract it.
  3. Install backend dependencies
    Open a terminal in the repo folder and run:
    cd backend && npm install
  4. Start the backend server
    node server-main.js
    Or from the repo root: npm start
    The server listens on port 8080.
  5. Connect the dashboard
    Click ⚡ Connect to Local Backend above — the dashboard will switch to ws://localhost:8080.
Tip: Use node backend-auto-start.js for automatic health-monitoring and restarts. Full guide: LOCAL_BACKEND_HOW_TO.md
⚡ Quick Connect to Railway Gateway

Paste your Railway service URL and token below, then click Connect. The token must match the GATEWAY_TOKEN environment variable set in your Railway service.

Deploy the gateway/ folder to a new Railway service, then enter your URL and token above.
Gateway Connection
Dashboard
Security
Session is stored in localStorage. Sessions expire after 8 hours of inactivity.
About
OpenClaw Enhanced Hub — Advanced control panel for OpenClaw gateway.
🤖 Quick Agent Fixes

Connect to a gateway or configure a Local AI key above, then click any button to dispatch an autonomous agent fix. Results appear below each button.

🩺 Diagnose Dashboard
Full health check — identifies broken tabs, missing data, and disconnected agents
🔄 Fix Data Flow
Audits data flowing through all tabs; identifies mock/placeholder data vs real live data
🤖 Reconnect Agents
Re-reads agent manifest, reconnects all sub-agents, and verifies each is responding
🧹 Clear Stale Sessions
Identifies and closes stale/zombie sessions that may be causing data inconsistencies
🛠️ Self-Heal All Issues
Runs the full autonomous self-healing pipeline — diagnose, patch, reconnect, and verify
Tips & step-by-step setup guides for this dashboard.
💡 Tips & Setup Guide
Human dev layer tasks · autonomous agent fixes · step-by-step instructions
🔴
Gateway not connected
Connect via Settings → Gateway Connection to enable one-click agent fixes. Local AI key also works.
👨‍💻 Human Dev Layer — Manual Setup Required

These tasks require a human developer. Autonomous agents cannot handle them because they need credentials, account access, or physical actions outside the dashboard's reach.

🚂 Deploy Backend to Railway Manual

The gateway backend must be deployed to Railway so agents can operate 24/7 without your computer running.

  1. Go to this repository on GitHub and click Fork (top-right) to create your own copy.
  2. Go to railway.app and create a free account.
  3. Click New Project → Deploy from GitHub Repo.
  4. Select your fork of this repo and set the root directory to gateway/.
  5. In Railway → Variables, add:
    GATEWAY_TOKEN = any secret string you choose
    NODE_ENV = production
  6. Click Deploy. Railway will build and start the server.
  7. Copy your Railway public URL (e.g. wss://…up.railway.app).
  8. Open Settings → Quick Connect in this dashboard, paste the URL and token, and click Connect.
💡 Tip: Railway's free plan includes 500 hours/month — enough for continuous operation.
🔑 Get an AI API Key (OpenAI or Anthropic) Manual

An AI API key lets the dashboard run agents locally in your browser — no backend needed for many tasks.

Option A — OpenAI (GPT-4o):

  1. Go to platform.openai.com/api-keys.
  2. Click Create new secret key, give it a name, copy it.
  3. Add $5–$20 credit under Billing.
  4. In Settings → Local AI Engine: choose OpenAI, model gpt-4o, paste your key, click Save.

Option B — Anthropic (Claude):

  1. Go to console.anthropic.com.
  2. Click Create Key, copy it.
  3. In Settings → Local AI Engine: choose Anthropic, model claude-opus-4-5, paste key, click Save.
🔐 Set GitHub Repository Secrets Manual

GitHub Secrets allow Actions workflows and the backend to access API keys securely without committing them to code.

  1. Go to your GitHub repo → Settings → Secrets and variables → Actions.
  2. Click New repository secret.
  3. Add these secrets one by one:
    AGENTR — your Personal Access Token (PAT) for Agent R
    OPENAI_API_KEY — if using OpenAI on the backend
    ANTHROPIC_API_KEY — if using Anthropic on the backend
    GATEWAY_TOKEN — must match the Railway env variable
  4. To create a PAT: GitHub → Profile → Settings → Developer settings → Personal access tokens → Fine-grained tokens. Grant Contents: Read & Write and Actions: Read & Write.
🖥️ Run Backend Locally (Offline Mode) Manual

Run the full backend on your own machine for zero-cost development and local-only agent operations.

  1. Install Node.js 18+ LTS from nodejs.org.
  2. Clone the repo: git clone https://github.com/barbrickdesign/barbrickdesign.github.io.git
  3. Install dependencies: cd backend && npm install
  4. Create a .env file in backend/:
    PORT=8080
    OPENAI_API_KEY=sk-… (optional)
    GATEWAY_TOKEN=my-secret (optional)
  5. Start the server: node server-main.js
  6. In this dashboard → Settings → Local Backend Launcher → ⚡ Connect to Local Backend.
💳 Set Up PayPal for Payments Manual

PayPal integration enables the contributor payment system and revenue sharing.

  1. Go to developer.paypal.com and log in with your PayPal business account.
  2. Create a REST API App to get a Client ID and Secret.
  3. Add to GitHub Secrets:
    PAYPAL_CLIENT_ID
    PAYPAL_API (secret key)
  4. Set PAYPAL_CLIENT_ID in Railway environment variables as well.
  5. Test with PayPal Sandbox mode before going live.
⚠️ Revenue-critical: Test thoroughly in sandbox mode before switching to production credentials.
🌐 Configure GitHub Pages & Custom Domain Manual

GitHub Pages serves this dashboard publicly. A custom domain makes it professional and easy to remember.

  1. Go to your repo → Settings → Pages.
  2. Under Source, select Deploy from a branch, branch: main, folder: /.
  3. For a custom domain: buy a domain (e.g. Cloudflare), add a CNAME record pointing to barbrickdesign.github.io.
  4. Enter your domain in the Custom domain box in GitHub Pages settings.
  5. Enable Enforce HTTPS once the domain is verified.
🤖 Agent Fixes — One-Click Automation

These issues can be diagnosed and fixed autonomously. Press a button to dispatch the corresponding agent task. Requires either a connected gateway or a Local AI key in Settings.

🩺 Diagnose Full Dashboard Health Auto-fixable

Runs a comprehensive health check on all tabs — gateway connection, agents, sessions, cron jobs, data flow, and API endpoints. Returns a prioritised report of any issues found.

🔄 Audit & Fix Data Flow Through All Tabs Auto-fixable

Audits every tab to determine whether it is displaying real live data or placeholder/mock data. Lists each tab's data status and provides specific connection instructions for any showing stale data.

🤖 Reconnect & Verify All Agents Auto-fixable

Re-reads the agent manifest, reconnects all sub-agents including Agent R, and verifies each is responding with a real status (not demo data). Reports any agents that cannot be reached.

🧹 Clear Stale Sessions & Reset State Auto-fixable

Identifies zombie sessions (sessions open but not active for >1 hour), clears them, and resets the session counter. Also purges any orphaned cron tasks or failed queue items.

📱 Report Mobile UI Issues Auto-fixable

Analyses the current viewport and identifies any layout overflow, truncated text, unreachable buttons, or other mobile UI problems. Returns specific CSS or layout suggestions.

🛠️ Run Full Self-Healing Pipeline Auto-fixable

Triggers the complete autonomous self-healing sequence: diagnose → reconnect agents → flush stale data → rebuild caches → verify all tabs → report results. This is the "fix everything" button.

📊 Tab Data Flow Status

Shows whether each tab is receiving live data from the gateway. Connect the gateway to see real status.

Advanced Diagnostics
System checks, error analysis, and step-by-step troubleshooting
System & Environment Checks
🔍
Click "Run All Checks" to diagnose your system
Self-Healing Actions
Automated remediation actions. Each button attempts to detect and fix a specific class of problem.
Troubleshooting Guide
📋
Run diagnostics above to see personalized troubleshooting steps
Initial Setup Guide
Follow these steps to connect OpenClaw Enhanced Hub to your Railway gateway for the first time.
Step 1 — Deploy the Gateway to Railway
  1. Clone or download the gateway/ folder from the repository.
  2. Go to railway.app and create a new project.
  3. Deploy the gateway/ folder as a new service (drag-and-drop or connect GitHub repo).
  4. In Railway → your service → Variables, add GATEWAY_TOKEN with a strong random secret (32+ characters).
  5. Also add ANTHROPIC_API_KEY or OPENAI_API_KEY for the AI agents.
  6. Wait for the deployment to complete (green checkmark in Railway → Deployments).
Step 2 — Connect the Dashboard
  1. Copy the Railway service domain from Railway → Settings → Networking (e.g. abc123.up.railway.app).
  2. Go to Settings → Quick Connect to Railway.
  3. Enter the WebSocket URL as wss://abc123.up.railway.app (must start with wss://).
  4. Enter the exact GATEWAY_TOKEN value set in Railway (case-sensitive).
  5. Click Connect to Railway.
  6. The status badge in the top-right should turn green (Connected).
Step 3 — Verify Everything Works
  1. Dashboard Overview should show agent and session counts after connecting.
  2. Go to Agents to see your configured agents (from openclaw.json).
  3. Go to Tasks and send a simple test message to an agent.
  4. Go to Logs to confirm the live log stream is working.
  5. Return here and click 🔍 Run All Checks — all should be green.
Step 4 — Common Problems & Fixes
  1. Auth failed / invalid token: Ensure the token in Settings exactly matches GATEWAY_TOKEN in Railway Variables. No leading/trailing spaces.
  2. Connection refused / net::ERR_CONNECTION_REFUSED: The Railway service may not be running. Check Railway → Deployments for errors.
  3. WebSocket handshake fails (HTTPS → WSS mismatch): Use wss:// not ws:// for Railway URLs.
  4. Agents show as "0" after connecting: Check your openclaw.json has at least one agent defined in agents.list.
  5. Keeps disconnecting / reconnecting loop: Check Railway service logs for crash errors. Ensure the service has sufficient memory and no startup errors.
  6. crypto.subtle not available: This page must be served over HTTPS (not plain HTTP). Use https:// or test on localhost.
  7. localStorage blocked: Disable browser extensions that block storage, or open in a normal (non-private) window.
  8. Page loads but lock screen reappears: The 8-hour session TTL has expired, or cookies/storage were cleared. Re-enter your passcode.
Error History
All JavaScript errors and unhandled promise rejections captured this session.
No errors captured this session
WebSocket Frame Inspector
Captures raw WebSocket frames between dashboard and gateway. Useful for debugging authentication and request/response cycles. Note: disable after debugging to avoid memory growth.
Frame capture disabled. Click "Enable Capture" to start.
🛒 Barbrick Design Shop
Digital products delivered instantly after PayPal checkout
Total Revenue
$0.00
Orders Completed
0
Best Seller
Available Products
Loading products…
Recent Activity
No activity yet.
Adaptive Intelligence Layer
Context-aware AI suggestions that update as you navigate — real-time guidance and repair prompts
Tracked Events
Weighted Keys
Saved Panel Order
Current Tab
🧭 Context-Aware Next Steps
Suggestions update automatically as you navigate. Click any item to go there instantly.
Navigate to any tab to see context-aware suggestions…
⚠️ Detected Issues & Repair Prompts
If functionality appears broken, copy the ready-made repair prompt and paste it into your AI assistant.
No issues detected on current tab.
Predicted Next Actions
Loading…
Top Agents
Loading…
Recently Used Tools
Loading…
Predictive Diagnostics
Real-time anomaly detection on API latency, tokens, memory and agent loops
Avg Latency
Token Usage
Memory
Active Alerts
Live Sparklines
API Latency
Token Usage
Memory (MB)
Agent Loop Hz
Anomaly Alerts
Monitoring… (samples every 5s)
Revenue Intelligence
Predictive revenue modelling, A/B testing and dynamic pricing
30-Day Revenue Forecast
Loading forecast…
A/B Test Results
No active A/B test
Dynamic Pricing
No pricing data
Marketing Copy Generator

        
Self-Healing Infrastructure
Auto-restart, patch detection, memory rebuild and exponential-backoff reconnection
Auto-Restarts
0
Patches Applied
0
Memory Rebuilds
0
Reconnects
0
System Status
Initialising…
Self-Healing Log
Quantum-Inspired Task Scheduler
Probabilistic routing, weighted agent selection and emergent load balancing
Dispatch Task
Queue: 0 tasks
Agent Pool
Loading agents…
Dispatch Log
Plugin Manager
Auto-discovered plugins injected into the dashboard
Loaded Plugins
Scanning /plugins/…
Payments
PayPal transaction history and revenue overview
Total Revenue
$0.00
Orders Completed
0
PayPal Mode
Sandbox
Today's Revenue
$0.00
Revenue by Product
No sales recorded yet.
Recent Transactions
No transactions yet.
Product Factory
Create and manage digital products with attached PayPal purchase flows
Create New Product
Products
Loading products…
Content Queue
AI-generated drafts grouped by product — approve or reject before publishing
Generate Content
Drafts
No drafts yet — generate content above.
Action Queue
Pending orchestrator-approved actions — PayPal and publishing actions require explicit approval
Pending
0
Approved
0
Completed
0
Failed
0
Quick Actions
Pending Actions
No pending actions.
⚠️ High-Risk / Payment Actions
No high-risk actions pending.
History
No history yet.
Revenue Mission Control
Live revenue metrics, top performers, and pending high-impact actions
Total Revenue
$0.00
Conversion Rate
0%
Active Products
0
Pending Actions
0
🏆 Top Products
No sales yet.
📉 Needs Attention
All products performing well.
🔥 High-Impact Pending Actions
No high-impact actions pending.
💡 Optimization Proposals
No proposals yet.
♟ Agent R — Core Orchestrator
Supreme authority orchestrator with full system access and autonomous overwatch
AGENTR: Prime — Root Orchestrator
Initialising…
CLEARANCE 999
Projects
Capabilities
Managed Systems
Version
Active Capabilities
Loading…
Orchestration Command
Identity & Authority
Loading manifest…
Managed Systems
⚙️
Loading…
Sub-Agent Systems
🤖
Loading…
📱 Phone Farm Bridge: initialising…
🛡️ Admin Control Hub
Monitor, manage, and control all user dashboards across the ecosystem
🛡️
Main Control Hub — Ecosystem Administrator
Scanning for user dashboards…
ADMIN ACTIVE
Registered Hubs
0
Online Now
0
Aggregate Revenue
$0.00
Total Sessions
0
Total Agents
0
Out of Sync
0
User Dashboard Registry
📡
No user dashboards found.
Open user-dashboard.html to register it here.
Aggregate Sales — All User Dashboards
No sales data yet. User dashboards will report here.
📢 Broadcast Command
No broadcast history.
⚡ Quick Actions
🔄 Version / Sync Status
Run "Check Version Sync" to see status.
Admin Activity Log
--:--:-- ADMIN Admin Hub initialized.
🖥️ Devices
Emulator nodes and phone farm nodes — status, capabilities, and quick actions
Loading emulators…
📞 VoIP Calls
Initiate outbound calls via VoIP apps running on emulator or phone nodes
New Call
Recent Calls
TimeNumberNodeStatusDurationOutcomeTranscript
No call logs yet
📲 Social Automation
Trigger app actions (DMs, posts, comments) via APK automation on emulator or phone nodes
New Social Task
Recent Social Tasks
TimeAppActionNodeStatusResult
No social tasks yet
📋 Task Queue & Logs
Unified view of all VoIP call tasks and social automation tasks
Task IDNumberNodeStatusStartedDurationOutcome
Loading…
💬 Messaging Hub
Unified cross-platform messaging — control your device mesh from any channel
🖥️ Detecting environment…
📱 Owner Device Registration

Enter your phone number to link this device to the messaging mesh. Agents will send status reports and permission requests to this number. The hub auto-detects whether you are on a mobile device or a remote PC.

🔌 Messaging Channels

Connect OpenClaw-supported channels. Messages from all platforms appear in the unified feed below.

Loading channels…
📨 Live Message Feed
Loading messages…
📤 Send Message / Command
Quick Commands
🔔 Notification Configuration

Control which events agents are allowed to message you about. Keep agents useful without being overwhelmed.

Channel Notifications
🌐 Ecosystem Hub
Central command for all dashboards, tools, and systems across Barbrick Design & Consciousness Revolution
🏠
Main Hub
300+ interactive projects gallery — the primary public-facing portal for Barbrick Design.
GitHub Pages · Live
🛡️
Admin Dashboard
Full admin control — user management, deployments, and system oversight.
Core Dev Access
👥
Contributor Hub
Manage contributors, view revenue share calculations, and track tier statuses (Bronze → Platinum → Core Dev).
Revenue Critical
📝
Contributor Registration
Enhanced onboarding flow for new contributors — tier selection, PayPal checkout, and student discounts.
Revenue Critical
📡
Site Updates
Agent activity log and site change tracker — shows autonomous agent actions with 🤖 badges.
Autonomous Logging
🤖
ezAutobots Nodes
Distributed node network — heartbeat monitoring, rewards ledger, and task results from all connected nodes.
Node Network
🎰
Casino AI System
Automated casino game engine with 4 AI agents (blackjack, roulette, slots, craps) — Core Dev exclusive.
Core Dev · 4 Agents Active
🏛️
Government Grants Portal
AI-powered grant matching and application system — primary revenue generation engine (~$50M+ potential).
Primary Revenue
💹
Profit Mesh
Capability-graph P&L allocator with Loop A/B/C money flows — orchestrates cross-system profit routing.
Master Loop · Step 10
🐟
MiroFish Swarm
64-agent quantum swarm intelligence engine with foresight and error pattern recognition.
64 Agents · Step 11
🏦
Loan Swarm
7-agent AI pipeline for loan applications — project profiler, risk assessor, underwriter, and more.
7-Agent Pipeline
🚀
Mission Engineering Hub
8-agent mission orchestration with policy engine, workflow orchestrator, and K8s manifests.
8 Agents · Policy Engine
🔄
Master Loop Dashboard
11-step autonomous master loop — runs all major subsystems (casino, profit mesh, MiroFish, etc.) in sequence.
11-Step Loop
📱
Phone Farm
Virtual machine farm — manage emulator nodes, RF scanner mesh, VoIP calls, and social automation.
VM Farm · RF Mesh
🔧
Agent Management
File crawling, health monitoring, automated fixes, and self-healing capabilities for all agents.
Self-Healing
🃏
Casino AI Games
Standalone casino AI interface — blackjack, roulette, slots, and craps with AI strategy agents.
AI Strategy · Kelly + Monte Carlo
🧙
Merlin Unified Dashboard
Central Merlin AI orchestration hub — agent lifecycle, hive mind, and enhancement systems.
Hive Mind Active
⚡ Quick Admin Actions
🎰 Casino AI System
Core Dev feature — automated casino game engine with 4 AI agents 🔗 Open Full Page
🧠 Consciousness Revolution Hub
Developer mesh network, tool vault & enhancement pipeline 🔗 Open Full Page 🌐 Live Site