The MindX Frontend is a sophisticated web-based control panel for managing the MindX Augmentic Intelligence system. It provides a cyberpunk-themed interface with real-time monitoring, agent management, and system control capabilities.
mindx_frontend_ui/
├── index.html # Main application interface
├── app.js # Core JavaScript functionality (34,341+ tokens)
├── styles3.css # Enhanced cyberpunk styling
├── styles.css # Fallback basic styling
├── corporate.css # Corporate theme styling
├── server.js # Express.js static server
├── package.json # Node.js dependencies
├── debug.html # Debug interface
└── test.html # Test interface
./mindX.sh --frontend
cd mindx_frontend_ui
npm install
node server.js
FRONTEND_PORT: Port for frontend server (default: 3000)BACKEND_PORT: Port for backend API (default: 8000)BACKEND_HOST: Backend host (default: localhost)The frontend automatically detects and configures ports:
FRONTEND_PORT)BACKEND_PORT)The frontend communicates with the MindX backend through a comprehensive REST API. The system has two main API servers:
System & Commands
GET / - Root endpoint with welcome messageGET /health - Health check endpointGET /system/status - Get system statusPOST /system/evolve - Evolve the entire MindX codebasePOST /system/analyze_codebase - Analyze a local codebasePOST /system/replicate - Trigger autonomous self-replication (Status 202)GET /system/logs - Get system logs with level filteringGET /system/metrics - Get performance metricsGET /system/resources - Get resource usageGET /system/config - Get system configurationPOST /system/execute - Execute terminal command (security restricted)Coordinator
POST /coordinator/query - Query the Coordinator AgentPOST /coordinator/improve - Request a specific component improvementGET /coordinator/backlog - Get the improvement backlogAgents
GET /agents/ - List all registered agentsPOST /agents/ - Create a new agentDELETE /agents/{agent_id} - Delete an agentPOST /agents/{agent_id}/sign - Sign a message with an agent's identityIdentities
GET /identities/ - List all identitiesPOST /identities/ - Create a new identityCore Agent Activity
GET /core/agent-activity - Get agent activity statusPOST /commands/agint/stream - AGInt streaming endpointPOST /test/mistral - Test Mistral APIGET /orchestration/coordinator - Get coordinator statusCommands
POST /commands/evolve - Evolve mindX codebasePOST /commands/deploy - Deploy a new agentPOST /commands/introspect - Generate a new personaPOST /commands/analyze_codebase - Analyze a codebasePOST /commands/basegen - Generate Markdown documentationPOST /commands/audit_gemini - Audit Gemini modelsPOST /commands/agint/stream - AGInt Cognitive Loop StreamStatus & Registry
GET /status/mastermind - Get Mastermind statusGET /registry/agents - Show agent registryGET /registry/tools - Show tool registryGET /system/status - System statusGET /health - Health check endpointIdentities
GET /identities - List all identitiesPOST /identities - Create a new identityDELETE /identities - Deprecate an identityCoordinator
POST /coordinator/query - Query the CoordinatorPOST /coordinator/analyze - Trigger system analysisPOST /coordinator/improve - Request a component improvementGET /coordinator/backlog - Get the improvement backlogPOST /coordinator/backlog/process - Process a backlog itemPOST /coordinator/backlog/approve - Approve a backlog itemPOST /coordinator/backlog/reject - Reject a backlog itemAgents
GET /agents - List all registered agentsPOST /agents - Create a new agentDELETE /agents/{agent_id} - Delete an agentPOST /agents/{agent_id}/evolve - Evolve a specific agentPOST /agents/{agent_id}/sign - Sign a message with an agent's identityCore & BDI
GET /core/bdi-status - BDI Agent status with belief, desire, intention detailsGET /core/agent-activity - Get agent activitySimple Coder
GET /simple-coder/status - Get Simple Coder StatusGET /simple-coder/update-requests - Get Update RequestsPOST /simple-coder/approve-update/{request_id} - Approve Update RequestPOST /simple-coder/reject-update/{request_id} - Reject Update RequestLogs
GET /logs/runtime - Get runtime logsRoot
GET / - Root endpoint with welcome messagefetch('/system/status')
.then(response => response.json())
.then(data => console.log(data));
fetch('/system/evolve', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ directive: 'Improve the user interface' })
})
.then(response => response.json())
.then(data => console.log(data));
fetch('/coordinator/query', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query: 'What is the current system status?' })
})
.then(response => response.json())
.then(data => console.log(data));
fetch('/agents/', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
agent_type: 'custom_agent',
agent_id: 'my_agent_001',
config: { capability: 'analysis' }
})
})
.then(response => response.json())
.then(data => console.log(data));
const eventSource = new EventSource('/commands/agint/stream');
eventSource.onmessage = function(event) {
const data = JSON.parse(event.data);
console.log('AGInt Update:', data);
};
# Check if port is in use
lsof -i :3000
Kill process using port
kill -9 $(lsof -t -i:3000)
# Clear npm cache
npm cache clean --force
Reinstall dependencies
rm -rf node_modules package-lock.json
npm install
Enable debug mode for detailed logging:
DEBUG=true node server.js
This project is part of the MindX Augmentic Intelligence system. See the main project license for details.
For issues and questions:
Last updated: 2025-01-15 Version: 2.0.0