Spectra AI - Emotionally Intelligent Assistant
π About Spectra
Spectra is an emotionally intelligent AI assistant designed to help with expression through music, conversation, healing, and creativity. Built specifically for Richie (Richard Jacob Olejniczak), Spectra provides a deeply personal and empathetic AI companion experience.
π Quick Start
Prerequisites
Python 3.8 or higher
Node.js 16 or higher
Ollama (for local AI models)
Automatic Setup (Recommended)
Windows:
Linux/Mac:
Manual Setup
Install Ollama:
Download from: https://ollama.ai/download
Or:
winget install Ollama.Ollama (Windows)Pull AI models:
Install Python dependencies:
Install frontend dependencies:
Configure environment:
Running Spectra
Option 1: Using batch files (Windows)
Start Ollama:
ollama servestart-backend.bat - Starts the Python backendstart-frontend.bat - Starts the React frontendOption 2: Manual
Then open:
http://localhost:3000Stopping Spectra
Option 1: Quick Stop (Fastest)
Option 2: Graceful Shutdown (Recommended)
Option 3: Smart Shutdown (Tries graceful first, then force)
Manual Stop:
Press
Ctrl+C in each terminal running the servicesOr use Task Manager to end Python, Node.js, and Ollama processes
ποΈ Project Structure
Spectra AI/ βββ app.py # Main Flask application (Ollama integration) βββ requirements.txt # Python dependencies (latest versions) βββ .env # Environment variables (Ollama model config) βββ spectra_prompt.md # Spectra's personality definition βββ setup.bat/.sh # Automated setup scripts βββ start-backend.bat # Quick backend launcher βββ start-frontend.bat # Quick frontend launcher βββ frontend/ # React + TypeScript + Tailwind frontend β βββ src/ β β βββ App.tsx # Main React app β β βββ components/ # React components β β βββ api/ # API integration β β βββ types.ts # TypeScript types β βββ package.json # Frontend dependencies β βββ vite.config.ts # Vite configuration βββ templates/ # Flask templates (fallback UI) βββ .vscode/ # VS Code settings (Pylance, formatting) βββ .github/ # GitHub configuration β βββ copilot-instructions.md βββ README.md # This file
π Spectra's Personality
Spectra's personality and traits are defined in
spectra_prompt.md. This file contains her emotional intelligence, conversation style, and core characteristics that make her uniquely suited to help with creative expression and emotional support.π§ Configuration
API Providers
Claude (Anthropic): Set
AI_PROVIDER=claude in .envOpenAI: Set
AI_PROVIDER=openai in .envCustomization
Modify
spectra_prompt.md to adjust Spectra's personalityUpdate frontend files in
static/ and templates/ for UI changesAdd new endpoints in
app.py for additional featuresπ Features (Planned)
Basic chat interface
Emotional intelligence and empathy
Music generation integration
Mood tracking
Creative writing tools
Healing and mindfulness features
Voice interaction
Memory and conversation history
π€ Contributing
This is a personal project for Richie, but suggestions and improvements are welcome!
π License
Private project - All rights reserved.
0 likes Β· 11 views Β· Aug 3, 2025
Spectra AI is a locally running, emotionally expressive assistant designed for artists, musicians, and healers. Built with Python and open-source LLMs, she offβ¦
Timeline
Aug 1, 2025 - Ongoing