Download the launcher for your OS (or paste the 1-line PowerShell command below). Every time it runs, it executes Startup Diagnostics, automatically pulls the newest App Code from GitHub, verifies/updates the 5-Model Local AI Suite, and keeps PowerShell open with exact error details if anything fails.
Runs with -NoExit and try/catch error diagnostics so PowerShell never closes silently on error, pulls the latest GitHub code, verifies all 5 models, and launches AgentCore:
powershell -NoExit -ExecutionPolicy Bypass -c "try { Write-Host '=== [AGENTCORE SAFE LOCAL INSTALLER & LAUNCHER] ===' -ForegroundColor Cyan; $origins='http://localhost:5173,http://127.0.0.1:5173,http://localhost:4173,http://127.0.0.1:4173,https://agentcore.valentinedigitalmarketing.com'; $env:OLLAMA_ORIGINS=$origins; [Environment]::SetEnvironmentVariable('OLLAMA_ORIGINS',$origins,'User'); $env:Path+=';C:\Program Files\Git\cmd;C:\Program Files\nodejs;'+$env:LOCALAPPDATA+'\Programs\Ollama'; if(!(Get-Command ollama -ErrorAction SilentlyContinue)){winget install -e --id Ollama.Ollama --accept-source-agreements --accept-package-agreements}; Start-Process ollama -ArgumentList 'serve' -WindowStyle Hidden -ErrorAction SilentlyContinue; Start-Sleep -Seconds 3; $existing=(ollama list 2>$null | Select-Object -Skip 1); if(-not $existing){Write-Host '--> Pulling starter model llama3.2:3b (~2 GB)...' -ForegroundColor Cyan; ollama pull llama3.2:3b}else{Write-Host '--> Existing local models found; skipping startup downloads.' -ForegroundColor Green}; $d=Join-Path $HOME 'AgentCore'; if((Get-Command git -ErrorAction SilentlyContinue) -and (Get-Command node -ErrorAction SilentlyContinue)){ if(!(Test-Path (Join-Path $d 'package.json'))){ $env:GIT_TERMINAL_PROMPT='0'; git clone https://github.com/DallasValentine/local-cosmos-grid.git $d 2>$null } elseif(Test-Path (Join-Path $d '.git')){ Set-Location $d; if(-not (git status --porcelain)){ git fetch origin main 2>$null; git pull --ff-only origin main 2>$null } else { Write-Host '--> Preserving local uncommitted changes.' -ForegroundColor Yellow } } }; if(Test-Path (Join-Path $d 'package.json')){ Set-Location $d; if(!(Test-Path 'node_modules')){npm install --no-audit --no-fund}; if(!(Test-Path '.output')){npm run build}; Start-Process 'http://localhost:5173/console'; npx vite preview --port 5173 --host 127.0.0.1 } else { Write-Host '--> Local Ollama is ready! Opening AgentCore Web Console...' -ForegroundColor Green; Start-Process 'https://agentcore.valentinedigitalmarketing.com/console' } } catch { Write-Host ('[LAUNCH ERROR] '+$_.Exception.Message) -ForegroundColor Red; Read-Host 'Press Enter after reviewing error' }"-NoExit):Both your local UI code and your Ollama model weights stay synced automatically.
Every new feature or UI change commits to github.com/DallasValentine/local-cosmos-grid.
AgentCore-Windows.bat — it runs git fetch && git reset --hard origin/main before launching.git pullAI models like llama3.2 and deepseek-r1 are stored by Ollama on your drive at ~/.ollama/models (or %USERPROFILE%\.ollama\models on Windows).
ollama pull <model> verifies your local copy in 1 second or grabs newer layers if an update was released.ollama pull llama3.2:3bhttp://localhost:5173/console — press Ctrl + F5 to clear cached files, or click the Diagnostics & Auto-Update badge in the console header.AgentCore-Windows.batDouble-click AgentCore-Windows.bat (click "More info" → "Run anyway" if SmartScreen asks), or click "Copy PowerShell 1-Liner" and paste into PowerShell.
AgentCore-Mac.commandRight-click AgentCore-Mac.command → Open, or click 'Copy Terminal 1-Liner' and paste into macOS Terminal.
AgentCore-Linux.shClick Copy Terminal 1-Liner and paste it into any terminal, or download the .sh, then run: chmod +x AgentCore-Linux.sh && ./AgentCore-Linux.sh
Phones and tablets cannot run the local models. Install on a computer, then open http://<computer-ip>:5173/console from your phone on the same Wi-Fi.
The installer and PowerShell command automatically pull and verify all 5 top open-source models so they appear immediately in your 1-click switcher in /workspace:
llama3.2:3bFast Everyday ChatFast everyday chat — ultra-responsive conversational assistant.
qwen2.5-coder:7bFull-Stack Coding & DebuggingFull-stack coding & debugging — top open-source software engineering engine.
deepseek-r1:8bDeep Logic, Math & ReasoningDeep logic, math, and reasoning — step-by-step chain-of-thought problem solver.
llama3.1:8bCreative Writing & Long-FormCreative writing and long-form prose — 128k context drafting and general intelligence.
nomic-embed-textLocal Persistent Memory & SearchLocal persistent memory & search — vector embedding engine for AgentCore RAG.
Already running AgentCore? You can also click "Sync & Pull All Models" in Settings anytime to verify or re-download any model directly from your browser.
Add the web app to your desktop or phone home screen. It opens in its own window and connects to your local or free online models.
In Chrome or Edge: click the install icon in the address bar. On iPhone: Share → Add to Home Screen.