1-Click Local AI Setup & Automatic Updater

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.

Recommended for your device (Windows)
Complete Auto-Sync Local Suite Launcher (AgentCore-Windows.bat)
Generated directly in browser memory — runs git pull + 5-model update + startup diagnostics automatically.
One-Click PowerShell Launcher (Includes Startup Diagnostics & Error Output)

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' }"
Quick PowerShell Helpers (keeps window open with -NoExit):

Always Up to Date Automatically (App Code + AI Models)

Both your local UI code and your Ollama model weights stay synced automatically.

Auto-Sync Active
1. Updating the App Code (UI, Prompts & Features)

Every new feature or UI change commits to github.com/DallasValentine/local-cosmos-grid.

  • • In-App Auto-Sync: While /workspace is open, it checks GitHub on startup and every 5 minutes and pulls new commits automatically.
  • • Option A (Launcher): Double-click AgentCore-Windows.bat — it runs git fetch && git reset --hard origin/main before launching.
  • • Option B (Quick Command): In PowerShell inside your AgentCore folder, run:
git pull
2. Updating the AI Models (Weights & Releases)

AI models like llama3.2 and deepseek-r1 are stored by Ollama on your drive at ~/.ollama/models (or %USERPROFILE%\.ollama\models on Windows).

  • • Via the Launcher: Every time the installer runs, ollama pull <model> verifies your local copy in 1 second or grabs newer layers if an update was released.
  • • Manual 1-Liner in PowerShell: Refresh any model anytime:
ollama pull llama3.2:3b
Pro-Tip (Verify & Hard Refresh): Open http://localhost:5173/console — press Ctrl + F5 to clear cached files, or click the Diagnostics & Auto-Update badge in the console header.
AgentCore-Windows.bat

Windows (10 / 11)

Double-click AgentCore-Windows.bat (click "More info" → "Run anyway" if SmartScreen asks), or click "Copy PowerShell 1-Liner" and paste into PowerShell.

AgentCore-Mac.command

Mac (Apple Silicon & Intel)

Right-click AgentCore-Mac.command → Open, or click 'Copy Terminal 1-Liner' and paste into macOS Terminal.

AgentCore-Linux.sh

Linux (Ubuntu, Debian, Fedora, Arch, more)

Click 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.

Pre-Loaded Complete Local Model Suite

5 Models Included

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 Chat

Fast everyday chat — ultra-responsive conversational assistant.

qwen2.5-coder:7bFull-Stack Coding & Debugging

Full-stack coding & debugging — top open-source software engineering engine.

deepseek-r1:8bDeep Logic, Math & Reasoning

Deep logic, math, and reasoning — step-by-step chain-of-thought problem solver.

llama3.1:8bCreative Writing & Long-Form

Creative writing and long-form prose — 128k context drafting and general intelligence.

nomic-embed-textLocal Persistent Memory & Search

Local persistent memory & search — vector embedding engine for AgentCore RAG.

What happens end-to-end

  1. 1Click Download (browser-safe memory transfer) or copy the 1-line PowerShell command above.
  2. 2Startup Diagnostics runs first — verifying Git, Node.js, Ollama, your model storage path, and active GitHub commit.
  3. 3It automatically fetches the newest AgentCore app code from GitHub and verifies/updates all 5 local AI models.
  4. 4AgentCore opens http://localhost:5173/console in your browser (and keeps PowerShell open to display any launch errors if a port or dependency fails).

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.

Just want an app icon?

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.