jan  by menloresearch

Local AI assistant for offline LLM use

Created 2 years ago
37,874 stars

Top 0.8% on SourcePulse

GitHubView on GitHub
Project Summary

Jan is an open-source, offline AI assistant designed as a privacy-focused alternative to services like ChatGPT. It targets users who want local control over their AI interactions, offering a user-friendly interface for downloading and running various Large Language Models (LLMs) on personal hardware.

How It Works

Jan is powered by Cortex.cpp, an embeddable C++ AI engine that acts as a backend. Cortex.cpp supports multiple inference engines, including llama.cpp (default), ONNX, and TensorRT-LLM, providing flexibility across different hardware architectures. This multi-engine approach aims to optimize performance and compatibility for a wide range of devices, from standard PCs to multi-GPU setups.

Quick Start & Requirements

  • Installation: Download pre-built binaries for Windows (.exe), macOS (.dmg), or Linux (.deb, .AppImage) from https://jan.ai/ or GitHub Releases.
  • Prerequisites:
    • macOS: 13+
    • Windows: 10+
    • Linux: glibc 2.27+, gcc/g++/cpp 11+
    • GPU Support: NVIDIA GPU with CUDA Toolkit 11.7+ and driver 470.63.01+ required for NVIDIA GPU acceleration. Apple M-series chips are also supported.
  • Development Setup: Requires Node.js >= 20.0.0, Yarn >= 1.22.0, and Make >= 3.81. Run make dev for development.
  • Documentation: https://jan.ai/docs

Highlighted Details

  • Supports popular LLMs like Llama, Gemma, Mistral, and Qwen.
  • Features a Model Library for easy LLM management.
  • Includes a local API server with OpenAI-equivalent endpoints.
  • Offers extensibility for customizability.

Maintenance & Community

  • Actively in development with frequent updates.
  • Community support available via Discord: https://discord.gg/janai
  • Bug reports and feature requests via GitHub issues.

Licensing & Compatibility

  • Licensed under AGPLv3. This is a strong copyleft license, requiring derivative works to also be open-sourced under AGPLv3.

Limitations & Caveats

Jan is explicitly stated to be in development, warning of potential breaking changes and bugs. The AGPLv3 license may impose significant restrictions on integration into closed-source commercial products.

Health Check
Last Commit

12 hours ago

Responsiveness

1 day

Pull Requests (30d)
173
Issues (30d)
167
Star History
740 stars in the last 30 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Gabriel Almeida Gabriel Almeida(Cofounder of Langflow), and
2 more.

torchchat by pytorch

0.1%
4k
PyTorch-native SDK for local LLM inference across diverse platforms
Created 1 year ago
Updated 1 week ago
Starred by Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), Victor Taelin Victor Taelin(Author of Bend, Kind, HVM), and
2 more.

chatbox by chatboxai

0.5%
37k
Desktop client app for AI models/LLMs
Created 2 years ago
Updated 5 days ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), and
24 more.

open-webui by open-webui

0.6%
110k
Self-hosted AI platform for local LLM deployment
Created 1 year ago
Updated 1 day ago
Starred by Sourabh Bajaj Sourabh Bajaj(Cofounder of Uplimit), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
3 more.

NextChat by ChatGPTNextWeb

0.1%
86k
AI assistant for web, iOS, MacOS, Android, Linux, and Windows
Created 2 years ago
Updated 3 days ago
Feedback? Help us improve.