Skip to content

LuckyPhil631/SHANA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHANA - Local AI Assistant for AMD Systems

SHANA is a fully local AI assistant built for AMD GPU systems running Linux. No NVIDIA, no CUDA, no cloud. Everything runs on your machine.

What it does

  • Understands voice input (Whisper STT)
  • Responds with voice output (Piper TTS)
  • Runs a local LLM via Ollama
  • Web GUI with status orb, chat log, mic button
  • Persistent memory saved between sessions

Requirements

  • Linux (tested on Linux Mint)
  • AMD GPU (tested on gfx1151 / Strix Halo)
  • Ollama installed and running
  • Python 3.10+
  • PipeWire audio system

Ollama Model

SHANA uses qwen2.5:7b-instruct by default. Pull it with:

ollama pull qwen2.5:7b-instruct

Python Dependencies

pip install flask flask-socketio openai-whisper requests psutil piper-tts

Download Voice Model

mkdir piper_models wget -O piper_models/en_GB-alba-medium.onnx https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_GB/alba/medium/en_GB-alba-medium.onnx wget -O piper_models/en_GB-alba-medium.onnx.json https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_GB/alba/medium/en_GB-alba-medium.onnx.json

Finding your Microphone

Run this to find your mic device name: pactl list sources short Then edit gui.py and update the MIC_DEVICE variable at the top.

Memory Storage

By default SHANA saves session memory to ~/SHANA_MEMORY/memory.txt You can change this path in brain.py to point to a USB drive or any location.

Running SHANA

source venv/bin/activate python gui.py Then open your browser at http://127.0.0.1:5000

Credits

Built and tested by Brett (Practical-Cupcake259) on Linux Mint with AMD Strix Halo. Assisted by Claude on Abacus.AI ChatLLM.

About

Local AI Assistant for AMD systems - Ollama + Whisper + Piper + TTS on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors