VCS AI Program · Class Server

1 · Set up your laptop

Windows PC setup
  1. Download, then right-click the zip → Extract All.
  2. Open the folder and double-click Install-VCS-AI.cmd.
    If Windows says “protected your PC”: More info → Run anyway. Click Yes when it asks to install Node.js.
  3. When asked, type your warriorlife username (the part before @), the Class AI API key (from your instructor), and the Class deploy key (from your instructor). There is no email-password prompt and no per-student card.

Or paste in PowerShell:

powershell -ExecutionPolicy Bypass -c "irm http://172.31.255.2/downloads/vcs-ai-setup.ps1 -OutFile $env:TEMP\vcs.ps1; & $env:TEMP\vcs.ps1"
Mac setup
  1. Download; the zip opens into a folder in Downloads.
  2. Right-click Install-VCS-AI.command → Open → Open (first time only).
  3. Type your Mac password once, then when asked: your warriorlife username, Class AI API key, and Class deploy key (all from your instructor — no email password / no card).

Or paste in Terminal:

curl -fsSL http://172.31.255.2/downloads/Install-VCS-AI.command -o /tmp/vcs.command && bash /tmp/vcs.command

The installer is safe to run again. It installs Python 3.12, Node.js 24 LTS, VS Code with the Python extension (sign in to GitHub Copilot after install), creates Documents/vcs-ai-program (Python .venv plus my-project/{01-website,02-sorter-desktop-app,03-email-agent,04-esp32}), and finishes with the setup checker. It asks for your warriorlife username, class AI API key, and class deploy key, then saves them in Documents/vcs-ai-program/.env.local (the single settings file every block uses). Class mail password is filled in automatically — you are never asked for it. Keys are typed on your laptop, never stored on this site.
The website starter downloads from the school server on campus and from this site at home, so you can install anywhere.

The four blocks: Block 1 / Week 1 — Web App (your project site); Block 2 / Week 2 — Desktop App (Python + Tkinter, packaged with PyInstaller into a Windows .exe or Mac .app; an AI sorter is the dessert you add inside it); Block 3 / Week 3 — Agentic behavior (email agent); Block 4 / Week 4 — Embedded (ESP32).

Class mailbox: watch and send class mail in the browser at /mail/ (on campus also http://172.31.255.2/mail/). Log in with your warriorlife username and the class mail password from .env.local. Useful in Block 3 while your email agent runs.

2 · Service status

checking…

3 · Settings

AI endpoint (OpenAI-compatible)
Base URLhttp://172.31.255.2/v1 at school
https://ai.valleychristianai.com/v1 anywhere
Modelqwen3.8:27b-mlx, used for everything: text and images (Block 4 vision)
API keyfrom your instructor: VCS_API_SECRET in .env.local

Images (Block 4): send a {"type":"image_url","image_url":{"url":"data:image/jpeg;base64,…"}} part to the same model.

Every block reads Documents/vcs-ai-program/.env.local: OLLAMA_BASE_URL, OLLAMA_MODEL=qwen3.8:27b-mlx, VCS_API_SECRET.

Camera (Block 4)
http://172.31.255.2:8080 at school · https://aiservice.valleychristianai.com/camera

Fake ESP32 boards (Block 4)
Open the ESP32 boards · your board: /esp32/<your.username> (same warriorlife username as the installer, e.g. /esp32/jsmith) · API: GET /esp32/jsmith/sensors, POST /esp32/jsmith/actuators · code your board in its built-in Arduino editor

Class email (Blocks 3 & 4 · school network only)
Address[email protected]
same warriorlife username you typed in the installer
SMTP172.31.255.2 port 465 SSL
smtplib.SMTP_SSL("172.31.255.2", 465)
IMAP172.31.255.2 port 993 SSL
imaplib.IMAP4_SSL("172.31.255.2", 993)
Loginfull address + the class mail password already in .env.local (installer sets it; no card)

Practice coordinators answer within seconds, e.g. [email protected]. Mail only goes to @class.valleychristianai.com; other addresses bounce.

4 · Student websites

Deploy from Documents/vcs-ai-program/my-project/01-website with npm run deploy. It uses STUDENT_ID, DEPLOY_TOKEN (class deploy key), and VCS_API_SECRET from .env.local, and refuses if any are missing. Your site appears at /s/<your.username>/ (for example /s/bmull/).

GitHub Copilot troubleshooting