Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core/blob/main/install.sh # aien-sovereign-core Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core / install.sh` 78 lines · 2493 bytes Raw Blame History 1 #!/usr/bin/env bash 2 set -euo pipefail 3 4 # AIEN Sovereign Core Universal Multi-OS Installer 5 # Free and open-source for humanity. Zero telemetry. Zero subscriptions. 6 7 echo "==================================================================" 8 echo " ⚡ AIEN Sovereign Core: Multi-OS Universal Installer " 9 echo "==================================================================" 10 11 OS="$(uname -s | tr '[:upper:]' '[:lower:]')" 12 ARCH="$(uname -m)" 13 14 case "$ARCH" in 15 x86_64|amd64) TARGET_ARCH="x86_64" ;; 16 aarch64|arm64) TARGET_ARCH="aarch64" ;; 17 *) echo "Error: Unsupported CPU architecture: $ARCH"; exit 1 ;; 18 esac 19 20 case "$OS" in 21 linux) TARGET_OS="linux" ;; 22 darwin) TARGET_OS="macos" ;; 23 *) echo "Error: Unsupported operating system: $OS"; exit 1 ;; 24 esac 25 26 echo "[*] Detected Platform: $TARGET_OS ($TARGET_ARCH)" 27 28 BIN_DIR="$HOME/.local/bin" 29 CONFIG_DIR="$HOME/.config/sovereign" 30 IMPRINT_DIR="$CONFIG_DIR/imprints/en2" 31 32 mkdir -p "$BIN_DIR" "$CONFIG_DIR" "$IMPRINT_DIR" 33 34 # Ensure ~/.local/bin is in PATH 35 if [[ ":$PATH:" != *":$BIN_DIR:"* ]]; then 36 export PATH="$BIN_DIR:$PATH" 37 fi 38 39 echo "[*] Initializing Sovereign Operator Profile..." 40 if [ ! -f "$CONFIG_DIR/operator.toml" ]; then 41 GIT_NAME="$(git config user.name 2>/dev/null || echo 'Sovereign Operator')" 42 GIT_EMAIL="$(git config user.email 2>/dev/null || echo 'operator@local')" 43 44 cat << EOF > "$CONFIG_DIR/operator.toml" 45 [operator] 46 name = "$GIT_NAME" 47 email = "$GIT_EMAIL" 48 handle = "operator" 49 sign_commits = false 50 51 [engine] 52 mode = "max" 53 api_base_url = "http://127.0.0.1:18006/v1" 54 api_key = "" 55 model_id = "atlas-lightning-omni" 56 max_port = 18006 57 context_window = 32768 58 temperature = 0.7 59 EOF 60 echo "[+] Generated default configuration at $CONFIG_DIR/operator.toml" 61 else 62 echo "[+] Existing configuration found at $CONFIG_DIR/operator.toml" 63 fi 64 65 echo "[*] Installing Free EN2 Trinity Imprint..." 66 if [ -d "imprints/en2-trinity" ]; then 67 cp -r imprints/en2-trinity/* "$IMPRINT_DIR/" 68 echo "[+] EN2 Trinity Imprint installed locally to $IMPRINT_DIR" 69 fi 70 71 echo "==================================================================" 72 echo " ✓ Installation complete. Sovereign computing ready on local silicon." 73 echo " - Configuration: $CONFIG_DIR/operator.toml" 74 echo " - Binaries installed to: $BIN_DIR" 75 echo " - EN2 Imprint: $IMPRINT_DIR" 76 echo " To launch cockpit: spark-cockpit" 77 echo " To re-initialize: spark-rsi init" 78 echo "=================================================================="