Getting Started
Get Hamster AI running on your PC in a few minutes.
Prerequisites
| Requirement | Version | Notes |
|---|---|---|
| Windows | 10 or 11 (64-bit) | Required |
| Python | 3.11 or newer | Download from python.org. Tick "Add to PATH" during install. |
| Ollama | Latest | Download from ollama.com. Must be running before launching Hamster AI. |
| Git | Any | Optional — you can also download a ZIP from GitHub. |
Tip
Any Ollama model works. Smaller models (3B–7B parameters) use less RAM and respond faster.
llama3.2:3b is a good starting point.
Installation
-
Clone the repository
git clone https://github.com/Easton99/hamster-ai.git cd hamster-aiOr download the ZIP from GitHub and extract it.
-
Create a virtual environment
python -m venv .venv .venv\Scripts\Activate.ps1Note If PowerShell blocks script execution, runSet-ExecutionPolicy RemoteSigned -Scope CurrentUserfirst. -
Install dependencies
pip install -r requirements.txt -
Pull an Ollama model
ollama pull llama3.2:3bYou can switch models later from the Settings window.
-
Start Ollama
ollama serveKeep this running in the background. You can configure Ollama to start with Windows so you don't have to remember.
-
Launch Hamster AI
python app/main.pyA hamster icon will appear in your system tray.
First Run
After launching, Hamster AI greets you and is ready to chat. Here's how to get around:
| Action | How |
|---|---|
| Open chat | Double-click the tray icon, or press Ctrl+Shift+H |
| Open the menu | Right-click the tray icon |
| Open settings | Right-click tray → Settings |
| Enable plugins | Right-click tray → Plugins |
| Quick commands | Type /help in chat for the full list |
Optional Dependencies
Some plugins need extra packages. Install only what you need:
# Voice output (text-to-speech)
pip install pyttsx3
# Audio awareness (detects if audio is playing)
pip install pycaw
# Extended system stats (GPU, disk, network)
pip install GPUtil pywin32 wmi
# Hardware awareness (USB, battery, monitors)
pip install pywin32 wmi
Start with Windows (Optional)
To have Hamster AI launch automatically when you log in, open Settings → General and enable Start with Windows. There's a configurable delay so it waits for your desktop to settle first.
Troubleshooting
| Problem | Fix |
|---|---|
| "Ollama is not running" | Run ollama serve in a terminal and keep it open. |
| No models in model switcher | Pull a model: ollama pull llama3.2:3b |
| Tray icon doesn't appear | Check data/logs/hamster_ai.log for errors. Run Diagnostics from the tray menu. |
| Global hotkey not working | Another app may have registered the same shortcut. Change it in Settings → General. |
| Plugin shows "failed to load" | Open Diagnostics for details — usually a missing optional dependency. |
| PowerShell execution policy error | Run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser |