Skip to content

Repository files navigation

RTIH InnovationOS

RTIH InnovationOS

Ratan Tata Innovation Hub Β· Government of Andhra Pradesh

A full-stack startup ecosystem operating system that orchestrates the complete lifecycle of a startup β€”
from ideation to scale β€” across regional outposts, university cells, mentors, investors, and government managers.


πŸ“Œ What Is RTIH InnovationOS?

RTIH InnovationOS is a government-grade startup management platform built for the Ratan Tata Innovation Hub, the flagship deep-tech incubator of the Government of Andhra Pradesh.

The platform manages the full innovation lifecycle β€” from a first-time entrepreneur applying through a university cell in Kurnool, to a growth-stage startup closing a seed round from a Hyderabad investor β€” all within a single, role-aware operating system.

The Problem It Solves

Government startup programs fail not because of lack of funding, but because of lack of visibility, accountability, and real-time feedback loops between founders, mentors, and policy makers.

RTIH InnovationOS replaces fragmented spreadsheets, email threads, and WhatsApp groups with a single source of truth for the entire AP innovation ecosystem.


🌐 Live Demo

Open the arrow button on the left edge of the login page to access the Ecosystem Directory β€” browse all demo accounts and click to log in instantly.

# Role Email Password Access Level
1 πŸ›οΈ Admin admin@rtih.ap.gov.in rtih2026 Full state telemetry, approvals, unicorn tracker
2 πŸ—‚οΈ Manager manager@rtih.ap.gov.in rtih2026 Hub operations, cohort oversight, intervention console
3 πŸ’Ό Investor investor@rtih.ap.gov.in rtih2026 Deal flow, watchlists, investment readiness scores
4 πŸŽ“ Mentor vizag.mentor1@rtihmentor.in rtih2026 Portfolio dashboard, session logs, milestone verification
5 πŸš€ Founder 1 srinivas.koppula@rtihfounder.in rtih2026 Idea-stage startup Β· Rayalaseema Health Diagnostics
6 πŸš€ Founder 2 kalyani.d@rtihfounder.in rtih2026 Validation-stage startup Β· Godavari Aquatech Labs
7 πŸš€ Founder 3 hari.prasad@rtihfounder.in rtih2026 Scale-stage startup Β· Kalyan AgriSystems

πŸ—οΈ Tech Stack

Layer Technology Purpose
Framework Next.js 15 β€” App Router SSR, routing, API routes
Language TypeScript Type-safe full-stack development
Styling Tailwind CSS + Vanilla CSS Dark enterprise UI design system
Database Supabase (PostgreSQL) Persistent cloud storage
Realtime Supabase Realtime (postgres_changes) Instant cross-device sync
AI Copilot Google Gemini β†’ OpenRouter β†’ Groq Context-aware startup advisor with automatic failover
Charts Recharts Traction, revenue, and health visualization
Icons Lucide React Consistent UI iconography
Deployment Vercel Serverless edge deployment

✨ Feature Overview

πŸš€ Founder Dashboard

The core of the platform β€” a modular command center for startup founders.

Module Description
AI Onboarding Wizard 3-step profiling β†’ generates personalized GPS roadmap, mentor matches & government scheme recommendations
Executive Hub Live traction charts, ARR curves, market sizing, and growth projections
Venture Health Score Dynamic 9-dimension score: Team Β· Product Β· Market Β· Traction Β· Revenue Β· Mentorship Β· Execution Β· Documents Β· Funding
Milestone OKR Tracker Submit evidence β†’ Mentor verifies β†’ Real-time status update (Pending β†’ Submitted β†’ Approved)
AI Startup Coach Context-aware Gemini-powered advisor that knows your startup's sector, stage, and district
Communication Hub Real-time WhatsApp-style thread with mentor and incubation center manager
Certificate Vault Downloadable PDF certifications for completed stages and milestones
Hackathon Portal Browse active hackathons, register teams, submit projects, track results
Job Board Post openings synced to university placement cells across 13 AP districts
Mentor Matching AI-ranked mentor recommendations with match scores β†’ request advisory sessions with one click
Document Vault Upload and share pitch decks, business plans, prototype demos
Network & Profile Co-founder directory, skills, public profile card

πŸŽ“ Mentor Portal

Feature Description
Portfolio Dashboard All assigned startups with health scores, milestone progress bars, and risk flags
Session Logs Log advisory sessions with notes, AI-generated summaries, and action items
Milestone Verification Review submitted evidence, approve or request revision with one click
Stage Promotion Submit formal stage-up recommendations that trigger manager review
Task Assignment Create structured tasks with deadlines and evidence criteria for founders
AI Co-Pilot Mentor-specific Gemini advisor for drafting endorsements and assessments

πŸ—‚οΈ Manager Console

Feature Description
Cohort Pipeline Full AP-state startup funnel with stage-wise distribution charts
Risk Intervention Automated alerts for startups with health scores below 60
Incubation Center Mgmt Assign startups to centers, manage capacity, track center-wise KPIs
Analytics Dashboard District-wise, sector-wise, and stage-wise breakdown with AP map
Communication Direct message thread with any startup in the portfolio
Grant Approvals Review and sign off on seed capital applications

πŸ›οΈ Admin (State-Level)

Feature Description
State Telemetry Unicorn tracker, soonicorn pipeline, economic projection metrics for all 13 districts
Application Review Approve or reject new startup applications with reasons
OFOE Tracker "One Family One Entrepreneur" scheme progress tracker
University Cells Manage RTIH outposts and university cells across AP
Full CRUD Complete control over all ecosystem entities

πŸ’Ό Investor Portal

Feature Description
Deal Flow Browse startups filtered by stage, sector, district, and health score
Watchlist Save and track high-potential startups
Investment Readiness Score Automated scoring based on traction, milestone completion, and health data
Founder Profiles Deep-dive into any startup's metrics before connecting

πŸ—ΊοΈ System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      RTIH InnovationOS                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  /login   β”‚  /apply  β”‚ /founder β”‚  /mentor β”‚ /manager  /admin  β”‚
β”‚           β”‚          β”‚          β”‚          β”‚                   β”‚
β”‚ Multi-roleβ”‚ Public   β”‚ 12-moduleβ”‚ Portfolioβ”‚ Cohort    State   β”‚
β”‚ auth +    β”‚ startup  β”‚ founder  β”‚ & sessionβ”‚ ops &     teleme- β”‚
β”‚ directory β”‚ intake   β”‚ dashboardβ”‚ manager  β”‚ analytics try     β”‚
β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      β”‚          β”‚          β”‚          β”‚           β”‚
      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚       Data Layer            β”‚
              β”‚                             β”‚
              β”‚  localStorage (instant)     β”‚
              β”‚       ↕ sync                β”‚
              β”‚  MockDatabase (in-memory)   β”‚
              β”‚       ↕ write-through       β”‚
              β”‚  Supabase PostgreSQL        β”‚
              β”‚       ↕ broadcast           β”‚
              β”‚  Supabase Realtime          β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚       AI Layer              β”‚
              β”‚  /api/ai/copilot            β”‚
              β”‚                             β”‚
              β”‚  1st: Google Gemini 1.5     β”‚
              β”‚  2nd: OpenRouter            β”‚
              β”‚  3rd: Groq (key pool)       β”‚
              β”‚  4th: Sandbox Fallback      β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”„ Real-Time Sync Architecture

The app uses a 3-layer sync strategy ensuring zero-latency UX with strong consistency:

User Action
    β”‚
    β–Ό
LocalStorage write  ──────────────────► Instant UI update (0ms)
    β”‚
    β–Ό
Supabase upsert  ────────────────────► Cloud persistence
    β”‚
    β–Ό
Supabase Realtime broadcast  ────────► All other devices/tabs update instantly
    β”‚
    β–Ό
8-second polling fallback  ──────────► For environments without WebSocket support

πŸ“ Project Structure

rtih/
β”œβ”€β”€ public/                     # Static assets & background images
β”œβ”€β”€ schema.sql                  # Supabase database schema (run once)
β”œβ”€β”€ .env.example                # Environment variable template (safe to commit)
β”œβ”€β”€ .env.local                  # Your real credentials (NEVER commit this)
β”‚
└── src/
    β”œβ”€β”€ app/
    β”‚   β”œβ”€β”€ admin/              # Admin state-level dashboard
    β”‚   β”œβ”€β”€ alumni/             # Graduate startup showcase
    β”‚   β”œβ”€β”€ api/
    β”‚   β”‚   └── ai/copilot/     # Serverless AI advisor (Gemini/Groq/Fallback)
    β”‚   β”œβ”€β”€ apply/              # Public startup application portal
    β”‚   β”œβ”€β”€ founder/            # Founder dashboard β€” 12 feature modules
    β”‚   β”œβ”€β”€ login/              # Multi-role authentication + demo directory
    β”‚   β”œβ”€β”€ manager/            # Hub manager operations console
    β”‚   β”œβ”€β”€ mentor/             # Mentor portfolio & session management
    β”‚   └── register/           # New user self-registration
    β”‚
    β”œβ”€β”€ components/
    β”‚   β”œβ”€β”€ Navigation.tsx      # Shared top navigation bar
    β”‚   β”œβ”€β”€ InnovationMapInner  # AP regional map visualization
    β”‚   β”œβ”€β”€ PipelineFunnel.tsx  # Startup stage funnel chart
    β”‚   β”œβ”€β”€ OutpostCenter.tsx   # Regional outpost card
    β”‚   β”œβ”€β”€ FamilyTracker.tsx   # OFOE scheme tracker
    β”‚   └── InnovationGraph.tsx # Innovation metrics graph
    β”‚
    └── lib/
        β”œβ”€β”€ db.ts               # Supabase client + all database queries
        β”œβ”€β”€ mockDb.ts           # In-memory DB with localStorage + Realtime sync
        β”œβ”€β”€ engines.ts          # Health scoring, risk engine, mentor matching AI
        └── toast.ts            # Non-blocking toast notification system

πŸš€ Getting Started

Prerequisites

  • Node.js 18.17 or later
  • npm (or yarn / pnpm)
  • A Supabase project (free tier works)

1. Clone the repository

git clone https://github.com/srinivas191206/rtih.git
cd rtih

2. Install dependencies

npm install

3. Set up environment variables

cp .env.example .env.local

Open .env.local and fill in your values:

# Required β€” get from Supabase β†’ Project Settings β†’ API
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key

# Optional β€” AI Copilot (app works in Sandbox mode without these)
GEMINI_API_KEY=your-gemini-key
GROQ_API_KEY=your-groq-key

4. Initialize the database

Run the contents of schema.sql in your Supabase SQL Editor.
The app will auto-seed demo data on the first page load.

5. Start the development server

npm run dev

Open http://localhost:3000 β€” click the left arrow to access demo accounts.


πŸ” Environment Variables Reference

Variable Required Exposed to Browser Description
NEXT_PUBLIC_SUPABASE_URL βœ… Yes βœ… Yes (by design) Supabase project URL
NEXT_PUBLIC_SUPABASE_ANON_KEY βœ… Yes βœ… Yes (by design) Supabase public anon key β€” protected by Row Level Security
GEMINI_API_KEY βšͺ Optional πŸ”’ No β€” server only Google Gemini API key for AI Copilot
OPENROUTER_API_KEY βšͺ Optional πŸ”’ No β€” server only OpenRouter fallback AI provider
GROQ_API_KEY βšͺ Optional πŸ”’ No β€” server only Groq primary AI key
GROQ_API_KEYS_POOL βšͺ Optional πŸ”’ No β€” server only Comma-separated Groq key pool for rate-limit rotation

Security: NEXT_PUBLIC_SUPABASE_ANON_KEY is intentionally browser-visible β€” this is standard Supabase practice. It is protected by Row Level Security (RLS) policies, not by secrecy. All AI provider keys are server-only and never sent to the client.


🧠 AI Copilot β€” Failover Chain

The /api/ai/copilot endpoint tries providers in order, automatically falling back if a key is missing or rate-limited:

1. Google Gemini 1.5 Flash   (primary β€” highest quality)
        ↓ if unavailable
2. OpenRouter (Gemini 2.5)   (secondary β€” cloud router)
        ↓ if unavailable
3. Groq LLaMA 3.1 8B         (tertiary β€” key pool rotation across 10 keys)
        ↓ if unavailable
4. Sandbox Fallback Engine    (always available β€” curated dynamic responses)

πŸ‘₯ User Journey β€” Founder Lifecycle

Application Submitted (/apply)
        β”‚
        β–Ό
Admin Reviews & Approves
        β”‚
        β–Ό
Founder Account Created
        β”‚
        β–Ό
AI Onboarding Wizard  ──────► GPS Roadmap generated
        β”‚                      Mentor matched
        β”‚                      Gov. schemes identified
        β–Ό
Milestone Execution Loop:
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚  Founder submits evidence              β”‚
  β”‚        ↓                               β”‚
  β”‚  Status β†’ "Under Review"              β”‚
  β”‚        ↓                               β”‚
  β”‚  Mentor reviews β†’ Approves/Sends back  β”‚
  β”‚        ↓                               β”‚
  β”‚  Health Score updates                  β”‚
  β”‚        ↓                               β”‚
  β”‚  Stage Promotion triggered             β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
        β”‚
        β–Ό
Scale Stage β†’ Alumni Program β†’ Investor Connect

🌍 Coverage

  • 13 AP Districts β€” Visakhapatnam, Vijayawada, Amaravati, Tirupati, Rajamahendravaram, Ananthapuramu, Kurnool, Guntur, Nellore, Kakinada, Eluru, Ongole, Srikakulam
  • 5 Sectoral Hubs β€” Deep Tech, AgriTech, MedTech, CleanTech, AVGC & Healthcare
  • 12+ University Cells β€” IIT Tirupati, Andhra University, SRM AP, JNTU, and more
  • "One Family One Entrepreneur" β€” Social equity initiative tracker built-in

πŸ“„ License

Built exclusively for the Ratan Tata Innovation Hub, Government of Andhra Pradesh.

Β© 2026 RTIH InnovationOS. All rights reserved. Unauthorized reproduction or distribution is prohibited.


Built with ❀️ for the entrepreneurs of Andhra Pradesh

Releases

Packages

Contributors

Languages