Vectra is an Agentic RAG Assistant designed to democratize access to corporate data. It unifies structured (SQL) and unstructured (Docs) data into a single chat interface.
It relies on a powerful Tri-Hybrid Architecture:
- Certified SQL: Runs predefined, secure SQL views for 100% accurate KPIs.
- AI Analyst (Vanna.ai): Generates SQL on-the-fly for ad-hoc exploration.
- Vector Search (RAG): Retrieves answers from PDF procedures and internal wikis (via Qdrant).
- Smart Routing: Automatically detects if the user needs a number (SQL) or a procedure (Vector).
- Deep Chat UI: Streaming responses, chart rendering, and source citations.
- Agnostic: Compatible with OpenAI, Gemini, and Azure OpenAI.
- Self-Hosted: Full control over your data. Docker-first architecture.
- Backend: FastAPI (Python)
- Frontend: Vue 3 + Quasar + Deep Chat
- Vector Store: Qdrant
- SQL Engine: SQL Server / MySQL (via ODBC)
Get Vectra running in 2 minutes:
# 1. Clone the repo
git clone [https://github.com/HuguesGauthier/Vectra.git](https://github.com/HuguesGauthier/Vectra.git)
cd Vectra
# 2. Configure environment
cp .env.example .env
# Edit .env with your API Keys
# 3. Launch
docker-compose up -dAccess the UI at: http://localhost:9000
📜 License Vectra is open-source software licensed under the GNU AGPL v3.
💼 Commercial Use If you want to integrate Vectra into a proprietary software or a commercial SaaS product without open-sourcing your own code, you must purchase a Commercial License.
Please contact me for enterprise pricing and licensing options.