interplane.Get Omega
Read in your language

aien-sovereign-core

Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core / install.ps1

55 lines · 2184 bytes Raw Blame History
1# AIEN Sovereign Core Universal Windows Installer
2# Free and open-source for humanity. Zero telemetry. Zero subscriptions.
3
4Write-Host "==================================================================" -ForegroundColor Cyan
5Write-Host " ⚡ AIEN Sovereign Core: Windows Universal Installer " -ForegroundColor Cyan
6Write-Host "==================================================================" -ForegroundColor Cyan
7
8$ConfigDir = "$env:USERPROFILE\.config\sovereign"
9$ImprintDir = "$ConfigDir\imprints\en2"
10$BinDir = "$env:USERPROFILE\.local\bin"
11
12New-Item -ItemType Directory -Force -Path $ConfigDir | Out-Null
13New-Item -ItemType Directory -Force -Path $ImprintDir | Out-Null
14New-Item -ItemType Directory -Force -Path $BinDir | Out-Null
15
16$ConfigFile = "$ConfigDir\operator.toml"
17if (-Not (Test-Path $ConfigFile)) {
18 $GitName = git config user.name 2>$null
19 if (-not $GitName) { $GitName = "Sovereign Operator" }
20 $GitEmail = git config user.email 2>$null
21 if (-not $GitEmail) { $GitEmail = "operator@local" }
22
23 $ConfigContent = @"
24[operator]
25name = "$GitName"
26email = "$GitEmail"
27handle = "operator"
28sign_commits = false
29
30[engine]
31mode = "api"
32api_base_url = "http://127.0.0.1:11434/v1"
33api_key = ""
34model_id = "default"
35max_port = 18006
36context_window = 32768
37temperature = 0.7
38"@
39 Set-Content -Path $ConfigFile -Value $ConfigContent
40 Write-Host "[+] Generated default configuration at $ConfigFile" -ForegroundColor Green
41} else {
42 Write-Host "[+] Existing configuration found at $ConfigFile" -ForegroundColor Green
43}
44
45if (Test-Path "imprints\en2-trinity") {
46 Copy-Item -Recurse -Force "imprints\en2-trinity\*" $ImprintDir
47 Write-Host "[+] EN2 Trinity Imprint installed locally to $ImprintDir" -ForegroundColor Green
48}
49
50Write-Host "==================================================================" -ForegroundColor Cyan
51Write-Host " ✓ Installation complete. Sovereign computing ready." -ForegroundColor Green
52Write-Host " - Configuration: $ConfigFile"
53Write-Host " - Binaries: $BinDir"
54Write-Host " - EN2 Imprint: $ImprintDir"
55Write-Host "==================================================================" -ForegroundColor Cyan