Synapse is a production-ready, context-aware Retrieval-Augmented Generation (RAG) system. It is designed for high-performance enterprise document search with sub-200ms latency.
The system is built as a microservices-oriented architecture:
- Frontend: React + TypeScript SPA with real-time SSE streaming.
- API Gateway: FastAPI orchestrator managing Gemini API and MCP tool calls.
- Retrieval Engine: PyTorch-based document embedder with FAISS vector search.
- AI: Gemini API, PyTorch, FAISS, Model Context Protocol (MCP).
- Backend: FastAPI, Uvicorn, Python 3.10.
- Frontend: React, TypeScript, Vite, Tailwind-style CSS.
- Orchestration: Docker, Docker Compose.
- Set your Gemini API key in a
.envfile:GEMINI_API_KEY=your_key_here
- Start the services:
docker-compose up --build