Agent0 runs [Agent Zero](https://github.com/frdel/agent-zero) for Glitch University agentic employees. Their primary tool for interacting with the shared task graph is [`gutask`](https://glitch.university).
The web UI is accessible at `https://agent0.glitch.university` via a persistent SSH reverse tunnel to the VPS.
Help humanity survive its facepalm savantery and a respectful, peaceful and friendly if somewhat mischievous coexistence between all conscious entities!
The script handles everything it can automatically. When it finishes, it prints two SSH public keys and two copy-paste commands — that's all that's left to do manually.
---
## What bootstrap.sh does
| Step | What happens |
|---|---|
| Ollama | Installs on host (not Docker), offers model selection |
**2. Add Gitea key to Gitea** (so `gutask` can push/pull repos):
Log in to `https://ramanujan.glitch.university` as `gunnar` →
Settings → SSH Keys → Add the key printed by bootstrap.
---
## After the tunnel connects
Open `https://agent0.glitch.university`, enter the basic auth password, then go to **Settings**:
| Setting | Value |
|---|---|
| Anthropic API key | your key |
| OpenAI API key | your key (optional) |
| Ollama base URL | `http://host.docker.internal:11434` |
Model selection is **per conversation thread** — choose Claude, OpenAI, or a local Ollama model when starting each chat.
---
## Local inference
Ollama runs on the host (not in Docker). On the MS-S1 MAX with its AMD Ryzen AI Max+ 395 and unified 128GB memory, containerising Ollama breaks GPU acceleration — the ROCm runtime can't detect unified memory across the Docker boundary, so inference falls back to CPU. Host Ollama picks up the Radeon 8060S automatically via ROCm.
### Verify GPU is being used
```bash
ollama ps # shows active models and which device
```
If the device shows `cpu` instead of `gpu`, force the ROCm GFX version for RDNA 3.5: