Jan
A working Jan desktop install (jan, repo janhq/jan, Apache-2.0) with models loaded and, when needed, the Local API Server reachable at http://127.0.0.1:1337/v1 for scripts, IDEs and other apps.
Scope: this one product: install, local server, models, providers, MCP, update, troubleshoot. Choosing a runtime belongs to local-llms; headless or multi-user serving belongs to llama-cpp, ollama or vllm. The Jan Agent CLI (jan agent) is a separate preview product and is only mentioned.
Work through the steps in order. Load a reference only when a step names it.
Discover first
Read-only, never prints secret values. Jan's data folder: macOS ~/Library/Application Support/Jan/data, Linux ~/.local/share/Jan/data, Windows %APPDATA%\Jan\data (movable in Settings).
ls /Applications | grep -i '^jan'; command -v flatpak >/dev/null && flatpak list | grep -i ai.jan.Jan
dpkg -l 2>/dev/null | grep -i ' jan'; command -v jan && jan --version # jan CLI is a separate install
lsof -nP -iTCP:1337 -sTCP:LISTEN
D="$HOME/Library/Application Support/Jan/data"; [ -d "$D" ] || D="$HOME/.local/share/Jan/data"
tail -n 30 "$D/logs/app.log" 2>/dev/null # [APP] [SERVER] [llamacpp-router] tags
curl -fsS http://127.0.0.1:1337/v1/models ${JAN_API_KEY:+-H "Authorization: Bearer $JAN_API_KEY"} | jq -r '.data[].id'
gh api repos/janhq/jan/releases/latest --jq .tag_name
Ask only what discovery cannot show: OS and GPU, which models, whether other devices or containers must reach the server, whether a key is set.
Decision flow
- Not installed: pick the package for the OS. ->
references/install.md
- Installed, other apps need an API: Settings -> Local API Server -> Start; set an API key before binding beyond localhost. ->
references/local-api-server.md
- Need a model: Hub, Hugging Face, or import a GGUF in place. ->
references/models-and-engines.md
- Use a remote or self-hosted backend inside Jan (vLLM, Ollama, LiteLLM, Claude, OpenAI): custom provider. ->
references/providers-and-integrations.md
- Tools and agents: MCP servers, Claude Code integration. ->
references/providers-and-integrations.md
- New release: ->
references/updating.md
- Error: ->
references/troubleshooting.md
Rules
- Ask before changing the system. Installs, package updates, binding to
0.0.0.0 and deleting the data folder need approval and an undo path.
- Localhost by default. The server host defaults to
127.0.0.1. Binding to 0.0.0.0 exposes it to the LAN; set an API key and Trusted Hosts first. Since v0.8.5 a request to a 0.0.0.0 bind whose Host is not localhost, host.docker.internal, a loopback or private IP, or a Trusted Host gets 403.
- A key is optional but empty means open. Leave the API key empty only on localhost.
- Custom endpoints need the version path. Base URL
http://host:8000/v1, not http://host:8000; any non-empty placeholder key for local servers.
- The engine ships with the app (v0.8.5+): llama.cpp is not downloaded separately, so engine updates come with Jan updates. Use a custom provider to run a different
llama-server.
- Secrets never touch output. API keys live in Jan's settings or an environment variable you pass; never echo them.
- Verify upstream. Behavior comes from jan.ai/docs and release notes; Jan changes quickly (several 0.8.x releases in weeks).
Workflows
Install and first chat
Serve the local API
Add a self-hosted backend
Update
Reference index
| File |
Read when |
references/install.md |
macOS, Windows, Linux packages, data folder, uninstall |
references/local-api-server.md |
Host, port, key, Trusted Hosts, CORS, endpoints, examples |
references/models-and-engines.md |
Hub, imports, llama.cpp router, MLX, parameters |
references/providers-and-integrations.md |
Custom endpoints, cloud providers, MCP, Claude Code |
references/updating.md |
Update paths per OS, 0.8.x migration notes, backups |
references/troubleshooting.md |
Symptom to cause to fix |
Companion skills
Install any with npx skills add ScaleDockHQ/llm-skills --skill <name>.
local-llms: choosing a local runtime.
lm-studio, ollama, llama-cpp, mlx: alternative or underlying engines.
litellm: a gateway Jan can use as a custom endpoint.
llm-clients: pointing other agents and IDEs at an OpenAI-compatible server.
1---2name: jan3description: Jan, an open-source desktop app that runs GGUF and MLX models offline with a local OpenAI- and Anthropic-compatible API server on :1337 and custom endpoints for vLLM, Ollama or LiteLLM. Use to install (Flatpak, deb, AppImage, dmg, exe), start and secure the Local API Server, import models, add providers or MCP servers, point Claude Code at it, update, and fix port 1337, 401, 404 or models that will not load.4license: MIT5compatibility: Commands assume bash, curl and jq. Jan is a GUI app whose server toggles live in Settings, so the agent mostly verifies over HTTP and reads logs. macOS is Apple Silicon only (13.6+); Windows 10+; Linux needs AVX2. Installs, binding to 0.0.0.0 and API key changes need the user's explicit approval.6metadata:7 source: https://skillmd.com/skills/scaledockhq/jan8 author: ScaleDockHQ9 version: "0.1.0"10---1112# Jan1314A working Jan desktop install (`jan`, repo janhq/jan, Apache-2.0) with models loaded and, when needed, the Local API Server reachable at `http://127.0.0.1:1337/v1` for scripts, IDEs and other apps.1516**Scope:** this one product: install, local server, models, providers, MCP, update, troubleshoot. Choosing a runtime belongs to `local-llms`; headless or multi-user serving belongs to `llama-cpp`, `ollama` or `vllm`. The Jan Agent CLI (`jan agent`) is a separate preview product and is only mentioned.1718Work through the steps in order. Load a reference only when a step names it.1920## Discover first2122Read-only, never prints secret values. Jan's data folder: macOS `~/Library/Application Support/Jan/data`, Linux `~/.local/share/Jan/data`, Windows `%APPDATA%\Jan\data` (movable in Settings).2324```bash25ls /Applications | grep -i '^jan'; command -v flatpak >/dev/null && flatpak list | grep -i ai.jan.Jan26dpkg -l 2>/dev/null | grep -i ' jan'; command -v jan && jan --version # jan CLI is a separate install27lsof -nP -iTCP:1337 -sTCP:LISTEN28D="$HOME/Library/Application Support/Jan/data"; [ -d "$D" ] || D="$HOME/.local/share/Jan/data"29tail -n 30 "$D/logs/app.log" 2>/dev/null # [APP] [SERVER] [llamacpp-router] tags30curl -fsS http://127.0.0.1:1337/v1/models ${JAN_API_KEY:+-H "Authorization: Bearer $JAN_API_KEY"} | jq -r '.data[].id'31gh api repos/janhq/jan/releases/latest --jq .tag_name32```3334Ask only what discovery cannot show: OS and GPU, which models, whether other devices or containers must reach the server, whether a key is set.3536## Decision flow37381. **Not installed:** pick the package for the OS. -> `references/install.md`392. **Installed, other apps need an API:** Settings -> Local API Server -> Start; set an API key before binding beyond localhost. -> `references/local-api-server.md`403. **Need a model:** Hub, Hugging Face, or import a GGUF in place. -> `references/models-and-engines.md`414. **Use a remote or self-hosted backend inside Jan** (vLLM, Ollama, LiteLLM, Claude, OpenAI): custom provider. -> `references/providers-and-integrations.md`425. **Tools and agents:** MCP servers, Claude Code integration. -> `references/providers-and-integrations.md`436. **New release:** -> `references/updating.md`447. **Error:** -> `references/troubleshooting.md`4546## Rules4748- **Ask before changing the system.** Installs, package updates, binding to `0.0.0.0` and deleting the data folder need approval and an undo path.49- **Localhost by default.** The server host defaults to `127.0.0.1`. Binding to `0.0.0.0` exposes it to the LAN; set an API key and Trusted Hosts first. Since v0.8.5 a request to a `0.0.0.0` bind whose `Host` is not localhost, `host.docker.internal`, a loopback or private IP, or a Trusted Host gets `403`.50- **A key is optional but empty means open.** Leave the API key empty only on localhost.51- **Custom endpoints need the version path.** Base URL `http://host:8000/v1`, not `http://host:8000`; any non-empty placeholder key for local servers.52- **The engine ships with the app** (v0.8.5+): llama.cpp is not downloaded separately, so engine updates come with Jan updates. Use a custom provider to run a different `llama-server`.53- **Secrets never touch output.** API keys live in Jan's settings or an environment variable you pass; never echo them.54- **Verify upstream.** Behavior comes from jan.ai/docs and release notes; Jan changes quickly (several 0.8.x releases in weeks).5556## Workflows5758### Install and first chat5960- [ ] Install for the OS -> `references/install.md`; launch; finish the first-run wizard.61- [ ] Download a model from the Hub; chat once.6263### Serve the local API6465- [ ] Settings -> Local API Server: set host, port, API key; Start Server -> `references/local-api-server.md`.66- [ ] `curl http://127.0.0.1:1337/v1/models`, then one chat call and one `/v1/messages` call.6768### Add a self-hosted backend6970- [ ] Settings -> Model Providers -> Add Provider; pick API format; base URL with `/v1`; add models manually if `/models` is not served -> `references/providers-and-integrations.md`.7172### Update7374- [ ] Read the changelog and note engine and migration items; back up the data folder -> `references/updating.md`.7576## Reference index7778| File | Read when |79| ------------------------------------------ | --------------------------------------------------------- |80| `references/install.md` | macOS, Windows, Linux packages, data folder, uninstall |81| `references/local-api-server.md` | Host, port, key, Trusted Hosts, CORS, endpoints, examples |82| `references/models-and-engines.md` | Hub, imports, llama.cpp router, MLX, parameters |83| `references/providers-and-integrations.md` | Custom endpoints, cloud providers, MCP, Claude Code |84| `references/updating.md` | Update paths per OS, 0.8.x migration notes, backups |85| `references/troubleshooting.md` | Symptom to cause to fix |8687## Companion skills8889Install any with `npx skills add ScaleDockHQ/llm-skills --skill <name>`.9091- `local-llms`: choosing a local runtime.92- `lm-studio`, `ollama`, `llama-cpp`, `mlx`: alternative or underlying engines.93- `litellm`: a gateway Jan can use as a custom endpoint.94- `llm-clients`: pointing other agents and IDEs at an OpenAI-compatible server.