Installation
Vectra can be deployed quickly via Docker (recommended) or manually for development.
🚀 Quick Start (Docker)
Get Vectra running in 2 minutes:
- Clone the project:
git clone https://github.com/HuguesGauthier/Vectra.git
cd Vectra
- Configure environment:
Linux / macOS / PowerShell:
cp .env.example .env
Windows (Command Prompt):
copy .env.example .env
(Then edit the .env file to add your API keys)
- Launch services:
docker compose --profile dev up -d
🚀 Hardware Acceleration (Optional)
By default, Vectra runs in CPU-only mode for maximum compatibility.
If you have an NVIDIA GPU and want to use it, you don't need to change your .env. Simply add the GPU extension file to your command:
docker compose -f docker-compose.yml -f docker-compose.gpu.yml --profile prod up -d
Access the UI at: http://localhost:9000
Data Persistence (Docker)
To allows Vectra to access your local files and folders in Docker:
- Define the base path of your documents in your
.env:VECTRA_DATA_PATH=D:/MyDocuments - Any connector created with a path starting with
D:/MyDocumentswill be automatically mapped to the internal Docker/datavolume.
🏗️ Environments Setup
Vectra supports multiple environments using Docker Compose profiles.
🛠️ Hybrid Development (Recommended)
This mode runs the Infrastructure (Postgres, Qdrant, Redis, Ollama) in Docker and your Application code locally for better performance and debugging.
- Launch Infrastructure:
# Launches databases, infra and dev tools (pgAdmin, Redis Commander) docker compose --profile dev up -d - Launch Backend:
cd backend pip install -r requirements.txt python main.py - Launch Frontend:
cd frontend npm install npm run dev
🚀 Production (Full Docker)
This mode builds and runs everything inside optimized Docker containers. It doesn't rely on local code once built.
# Use --profile prod to include the application services
docker compose --profile prod up -d --build
- Frontend: http://localhost (Port 80)
- Backend API: http://localhost:8000
📜 License
Vectra is open-source software licensed under the GNU AGPL v3.
[!IMPORTANT] The AGPL v3 is a "strong copyleft" license. If you modify Vectra or use it to provide a service over a network, you must make your modified source code available to the users of that service.
💼 Commercial Use
If you wish to:
- Integrate Vectra into a proprietary software product.
- Build a commercial SaaS without releasing your own source code.
- Benefit from Enterprise Support and priority features.
You must purchase a Commercial License. Please contact the author for enterprise pricing and licensing options.