Cosmo is a modern, open-source research assistant web app designed for STEM professionals and physical sciences researchers. It features a beautiful, extensible chat interface powered by large language models (LLMs), with tools and workflows tailored for scientific research and data analysis and a fine tuned mosaic ml model for enhanced research assistance.
- Domain-specific LLM chat for research, data analysis, and STEM tasks
- Customizable avatars and branding (Cosmo mascot)
- File upload and knowledge base for research documents
- Multi-model support (OpenAI, Ollama, Anthropic, Mosaic MPT, and more)
- Fine-tuned Mosaic MPT model for scientific and engineering use cases (default), but you can easily swap in any LLM for your research needs
- Voice conversation (TTS & STT)
- Plugin system for extensibility
- Modern, responsive UI
-
Clone the repository
git clone https://github.com/your-org/cosmo-llm.git cd cosmo-llm/frontend
-
Install dependencies
pnpm install
-
Run the development server
pnpm dev
-
Open your browser
- Visit http://localhost:3010
cosmo-llm/
┣ backend/ # API proxy and backend services
┣ frontend/ # Cosmo web app (Next.js)
┣ data/ # Example or user data
┣ scripts/ # Utility scripts
┣ model_artifacts/ # Model files and checkpoints
┣ preprocessed/ # Preprocessed data
┣ requirements.txt # Python dependencies (for backend/data)
┣ Dockerfile # Containerization
┣ deployment.yaml # Kubernetes deployment
┗ README.md
Contributions are welcome! Please open issues or pull requests for new features, bug fixes, or improvements.
MIT License
Cosmo empowers the next frontier in scientific discovery and STEM research. Enjoy exploring and advancing your work with AI!