BestAI is a smart chat application that automatically routes your prompts to the best specialized AI model for the job. Whether you're coding, writing creatively, or generating art concepts, BestAI ensures your request is handled by the most capable model available.
- Smart Intent Routing: Automatically classifies your request into categories (Coding, Writing, Art, or General) and routes it to the specialized model.
- Multi-Model Intelligence:
- Coding: Powered by Moonshot (Kimi-k2) for precise logic and syntax.
- Writing: Powered by GPT-OSS 120B for creative and nuanced text generation.
- Art/Visuals: Powered by NVIDIA Nemotron for visual descriptions and artistic concepts.
- General: Efficiently handled by optimized general-purpose models.
- Chat History: Automatically saves and persists your conversation history locally.
- Advanced Tools: Includes built-in summarization and text simplification capabilities.
- Backend: Python / Flask
- AI Integration: OpenAI SDK (Universal Client for NVIDIA, Moonshot, etc.)
- Frontend: HTML/CSS/JS (Jinja2 Templates)
-
Clone the repository
git clone <repository-url> cd Best-ai
-
Install Dependencies
pip install -r requirements.txt pip install openai # Required for model clients -
Environment Setup Open
app.pyand ensure your API keys are configured:NVIDIA_API_KEYMOONSHOT_API_KEYGPTOSS120B_API_KEYANTHROPIC_API_KEY(Optional)
-
Start the Application
python app.py
-
Access the UI Open your browser and navigate to:
http://127.0.0.1:5000 -
Chat Type your message. The Master AI Router will analyze your intent and seamlessly dispatch it to the best model.
Contributions are welcome! Please feel free to submit a Pull Request.