Jan 是一个开源的桌面 AI 客户端,可以把它看作本地版的 ChatGPT。它内置 llama.cpp 推理引擎,能从 HuggingFace 直接下载并运行 Llama、Gemma、Qwen 等开源大模型,断网也能对话,数据不出本机。同时它也支持接入 OpenAI、Anthropic、Mistral、Groq 等云端模型,方便按需切换。用户可以自建专属助手、调整提示词与参数,并在本地 1337 端口启动 OpenAI 兼容 API,供其他程序调用。它支持 MCP 协议,因此能扩展出 agent 能力。界面跨平台,基于 Tauri 与 Rust 构建,安装包开箱即用。
Jan is bringing the best of open-source AI in an easy-to-use product. Download and run LLMs with full control and privacy.
[](https://apps.microsoft.com/detail/xpdcnfn5cpzlqb)
[](https://flathub.org/apps/ai.jan.Jan)
The easiest way to get started is by downloading one of the following versions for your respective operating system:
Platform
Download
Windows
macOS
Linux (deb)
Linux (AppImage)
Linux (Arm64)
Download from jan.ai or GitHub Releases.
localhost:1337 for other applicationsFor those who enjoy the scenic route:
xcodebuild -downloadComponent MetalToolchaingit clone https://github.com/janhq/jan
cd jan
make dev
This handles everything: installs dependencies, builds core components, and launches the app.
Available make targets:
make dev - Full development setup and launchmake build - Production buildmake test - Run tests and lintingmake clean - Delete everything and start freshyarn install
yarn build
yarn dev
Run make dev from Git Bash (installed with Git for Windows) — make dispatches its recipes through sh, so a plain cmd.exe won't work.
You do not need a "Native Tools Command Prompt for VS 2022". The bundled llama.cpp engine builds with Ninja + clang-cl, and clang-cl locates the MSVC toolchain and Windows SDK on its own. What has to be installed (and on PATH for ninja/clang-cl/cmake):
clang-cl)JAN_ENGINE_VARIANT=cuda12/cuda13 buildsEngine variants are picked with JAN_ENGINE_VARIANT (tokens: cpu, vulkan, metal, cuda12, cuda13, hip/rocm, joined by -), e.g.:
make dev JAN_ENGINE_VARIANT=cuda13
"nvcc fatal : Could not open output file ...fattn-...cu.obj.d" during tauri-plugin-llamacpp(build) means the build path crossed Windows' 260-character MAX_PATH limit — nvcc does not honor the long-path opt-in. The build script now detects this and automatically relocates the llama.cpp build tree to a short directory under %LOCALAPPDATA%\jan-engine. If you hit path-length errors anyway, set JAN_ENGINE_BUILD_DIR to a short path (e.g. C:\jb) or move the checkout closer to the drive root.
Minimum specs for a decent experience:
For detailed compatibility, check our installation guides.
If things go sideways:
#🆘|jan-help channelContributions welcome. See CONTRIBUTING.md for the full spiel.
Note: Please sign your commits so we can verify your contributions.
Apache 2.0 - Because sharing is caring.
Built on the shoulders of giants:
内容由编辑整理,部分信息来自 GitHub 与项目官网,版权归原作者所有。发现错误?报告问题