The AI that remembers everything you see and hear.
Neural Shadow is a local-first, zero-knowledge desktop intelligence system. It acts as a photographic memory for your digital life, continuously capturing screen content and system audio, indexing it into a local vector database, and allowing for semantic natural language retrieval.
- Total Recall: 24/7 Background capture of Screen (OCR) and Audio (Whisper).
- Semnatic Search: Ask questions like "What command did I run for Docker last week?"
- Diff-Based Optimization: Only saves screen updates when pixels change (>0.5%).
- Local-First: 100% of data stays on your machine.
- RAG Powered: Uses ChromaDB + Ollama (Mistral/Llama3) to answer questions contextually.
- Encrypted: All raw screen/audio data is encrypted at rest using Fernet (AES).
The system is built on a modular "Cortex" architecture:
- Senses:
mss(Screen) andsoundcard(Audio) capture raw data. - Cortex:
OCR(Tesseract) andWhisperextract text. - Memory:
ChromaDBstores semantic embeddings (all-MiniLM-L6-v2). - Gateway:
FastAPIexposes a Search Endpoint. - Interface:
Next.jsCyberpunk Dashboard for interaction.
- Python 3.10+
- Node.js 18+
- Tesseract OCR (Installed and added to PATH)
- Ollama (Running
ollama servewithmistral)
- Clone the Repo
git clone https://github.com/Kshithijm1/NeuralShadow.git cd NeuralShadow - Install Backend
pip install -r requirements.txt
- Install Frontend
cd web npm install - Run All
Double-click
start.bator run:python main.py # Terminal 1 npm run dev --prefix web # Terminal 2
Once the system is running, open http://localhost:3000 and press Cmd+K (or Ctrl+K) to open the search bar.
"What flags did I use for the docker build command yesterday?" "Show me the python script I was editing an hour ago."
"What action items were assigned to me during the sync?" "Summarize the feedback from the design review."
"What website was I looking at before I got distracted?"
Neural Shadow is designed with privacy as the #1 priority.
- Zero-Cloud: No data is sent to OpenAI or any cloud provider.
- Encryption: By default,
ENABLE_ENCRYPTION = Trueincore/config.py. All.pngand.wavfiles are encrypted withsecret.key.
Run the full stack in a container (Experimental):
docker-compose up --build