The official Web-based AI agent for querying and exploring India’s governance data through natural language.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Kosh supports user authentication and custom API key management to bypass rate limits.
Using Firebase:
# Install dependencies
npm install
# Copy environment template
cp .env.example .env
# Configure Firebase credentials in .env- Email/Password & Google OAuth
- Encrypted API key storage
- Usage tracking & analytics
- Rate limiting (10/hr free, 100/hr with API key)
- Cost estimation per model
Users can add their own API keys to:
- Bypass rate limits
- Control their own costs
- Use premium models
- Get faster responses
Firebase Firestore:
- Configure Firestore in your Firebase console
- Set up security rules for collections:
user_api_keys,usage_logs