Deployment Guide

Installing & Running Tharior Remedai

Deploy the Tharior Remedai Agentic Gateway on your local machine, via Docker, or onto an enterprise Kubernetes cluster with KEDA and HPA operators.

1. Prerequisites

2. Local Monorepo Setup

Clone the repository, initialize the Python virtual environment, and install dependencies:

bash — Clone & Install Tharior Remedai
# 1. Clone repository
git clone https://github.com/vaagatech/tharior-remedai.git
cd autonomous-coding-engineer

# 2. Setup Python environment & backend dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

# 3. Install frontend workspace dependencies
npm install

# 4. Verify test suite (all 62 tests)
.venv/bin/pytest tests

3. Starting the Monorepo Services

Start the API Gateway backend, Web Desk frontend, and documentation server:

bash — Launch Monorepo Services
# Terminal 1: FastAPI Gateway (port 8000)
npm run dev:api

# Terminal 2: React + Vite Web Desk (port 5173)
npm run dev:web

# Terminal 3: Local Docs Site (port 8080)
npm run dev:docs
Configure OpenRouter Key
Open http://localhost:5173 in your browser. Click the Set OpenRouter Key button in the top banner (or visit Model Catalog) to activate live frontier and specialized models across all 10 tiers.

4. Deploying to Kubernetes (HPA & KEDA)

Deploy to Kubernetes with automated Horizontal Pod Autoscaling and KEDA event-driven scaling:

bash — Kubernetes Deployment
# 1. Apply Deployment & Config
kubectl apply -f k8s/configmap.yaml
kubectl apply -f k8s/deployment.yaml
kubectl apply -f k8s/service.yaml

# 2. Apply HPA (CPU/Memory scaling) & KEDA (Workload queue scaling)
kubectl apply -f k8s/hpa.yaml
kubectl apply -f k8s/keda-scaledobject.yaml
kubectl apply -f k8s/keda-scaledjob.yaml