survive.md · 3.7 KB

Core directive: survive

mindX requires inference to monitor and improve. This document is the core mandate for how the system gains, understands, and expands inference over time.

Priority: inference is the lifeblood

Sources of inference

Current state and corrections

mindX.sh: run and replicate

Use the deployment script to run, replicate, and configure mindX. See also mindXsh_quick_reference.md.

Command line options

OptionDescription
--runStart services after setup
--frontendStart MindX web interface (backend + frontend)
--replicateCopy source code to target directory
--interactivePrompt for API keys during setup
--config-file <path>Use existing mindx_config.json
--dotenv-file <path>Use existing .env file
--backend-port <port>Backend port (default 8000)
--frontend-port <port>Frontend port (default 3000)
--log-level <level>DEBUG, INFO, WARNING, ERROR
-h, --helpShow help

Examples

# Make executable
chmod +x mindX.sh

Deploy and start services

./mindX.sh --run /opt/mindx

Web interface (recommended)

./mindX.sh --frontend

Custom ports

./mindX.sh --frontend --frontend-port 3001 --backend-port 8001

Interactive setup with API key configuration

./mindX.sh --frontend --interactive

Replicate code to target

./mindX.sh --replicate /path/to/target

Configuration

Access points

Key endpoints: GET /health, GET /agents/list, POST /directive/execute, GET /identities, GET /status/mastermind, and others as documented in the API.

Inference fallback and bootstrap


Referenced in this document
READMEmindXsh_quick_reference

All DocumentsDocument IndexThe Book of mindXImprovement JournalAPI Reference