Skip to content

Programs that work with Janas

github-actions[bot] edited this page Nov 23, 2026 · 2 revisions

janas-server speaks three APIs that other programs already know: OpenAI's (/v1/...), Ollama's (/api/..., on Ollama's port 11434 if it is started with --port 11434) and Anthropic's Messages API. A program that talks to any of them can talk to a model on your own machine. This page lists the programs that were actually tried, with their version, the API they used, what was done with them and on what day. A program not listed here may well work too; it has simply not been tried.

All the trials below ran on the development laptop (Intel Core Ultra 9 185H, 32 GB, Debian 13) with janas-server on the same machine. How each one is set up step by step is in editor.md for the editors and in the sections below for the others.

Program Version API What was tried Result Tried
AnythingLLM Desktop 1.19.0 Ollama chat, streamed; a document embedded with --embedding-model and asked about; the agent, with a tool call works 14 Nov 2026
Obsidian with Copilot for Obsidian 1.15.1, Copilot 4.0.20 OpenAI (Copilot's "Ollama" provider) the model listed and verified, a question in Copilot's chat works with --allow-origin app://obsidian.md, and Janas from the release of 15 November 2026 on (below) 14 Nov 2026
opencode 1.19.6 OpenAI opencode run: a bug in a file found, the file read and edited works (below) 20 Nov 2026
Hermes Agent git 9f476774 OpenAI hermes -z: the same bug found and fixed in a file works (below) 20 Nov 2026
Zed 1.28.1 Ollama the Agent panel: a question about a file of the project, the model calling Zed's tool to read it works; the first message is slow (below) 14 Nov 2026
Continue (VSCodium, VS Code) 2.0.0 Ollama chat, edits, completion at the cursor, its command-line agent works (editor.md) Nov 2026
Cline 4.1.26 Ollama agent tasks with tools works (editor.md) Nov 2026
Roo Code 3.54.0 Ollama agent tasks, a project written works (editor.md) Nov 2026
Claude Code 2.1.311 Anthropic a project read and a new one written in its style works (editor.md) Nov 2026
aider 0.86.2 Ollama edits to a project works (editor.md) Nov 2026
Open WebUI Ollama chat, whole and streamed works (editor.md); start the server with --think off (serving.md) Nov 2026
VS Code's own chat Ollama, then OpenAI its sequence of requests replayed with curl and the openai SDK; VS Code itself not yet not tried in VS Code (editor.md) Nov 2026

AnythingLLM

In AnythingLLM's settings choose Ollama as the LLM provider with the base URL http://127.0.0.1:11434 and the model janas-server was started with, and Ollama as the embedding provider too if the server has an embedding model (--embedding-model, such as qwen3-embedding-0.6b from janas-get):

janas-server qwen3-4b.jns --port 11434 --think off \
    --embedding-model qwen3-embedding-0.6b-q8.jns

What was tried, with Qwen3-4B and Qwen3-Embedding-0.6B: a question in a workspace in chat mode ("Rome." in 1.6 s, streamed); a text file uploaded and embedded through /api/embed, and a question only that file could answer, answered right with the file given as its source; the agent, which AnythingLLM starts by itself in its "automatic" mode when the model can call tools, answering "17 times 23 is 391"; and the agent calling one of its tools, document-summarizer, with valid JSON arguments, AnythingLLM running it and sending its result back. Qwen3-4B gave that tool a file name it had made up: a small model's limit, not the connection's. In automatic mode the agent's first reply reads about 900 tokens of AnythingLLM's instructions (6.3 s to its first token here).

Obsidian, with Copilot for Obsidian

In Copilot's settings, BYOK, Add a provider, Ollama: it lists the server's models (/v1/models), marks the provider "Verified", and the model enabled there appears in Copilot's chat. Obsidian's window is a web page whose origin is app://obsidian.md, and janas-server answers only the web pages it is told to, so start it with:

janas-server qwen3-4b.jns --port 11434 --think off --allow-origin app://obsidian.md

Without it Copilot says "Connection error" and the server's answer, which Copilot does not show, says which option lets it in. Janas from the release of 13 November 2026 and earlier still fails with the option: the browser's preliminary request (CORS) was allowed two headers only, and the JavaScript client Copilot uses sends more of its own. From the release of 15 November 2026 the server allows the headers such a page asks for. Asked "Name three Italian islands", Qwen3-4B answered through it in about 5 s.

opencode

opencode takes a model of an OpenAI-compatible server as a provider of its own, in ~/.config/opencode/opencode.json (or an opencode.json in the project): the model's name is the one janas-server gives in /v1/models, the file's name without .jns unless --name sets another.

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "janas": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Janas",
      "options": { "baseURL": "http://127.0.0.1:8080/v1", "apiKey": "none" },
      "models": { "gemma-4-12b-it-q4km": { "name": "Gemma 4 12B on Janas" } }
    }
  },
  "model": "janas/gemma-4-12b-it-q4km"
}
janas-server gemma-4-12b-it-q4km.jns --ctx 32768

Tried with opencode run in a project holding a calc.py whose add returned a - b, asked to make it return the sum. Gemma 4 12B read the file, called opencode's edit tool and changed the one line to return a + b, in 223 s on the laptop, most of it the reading of opencode's long instructions. Qwen3-4B, asked the same, read the file and wrote the right line above the wrong one, which stayed in the file after it, in 140 s: a working add, an untidy edit, a small model's limit. --ctx 32768 gives room to opencode's instructions and its tools.

Hermes Agent

Hermes Agent, Nous Research's agent, takes any OpenAI-compatible server as its custom provider, in ~/.hermes/config.yaml. It wants a context of 64,000 tokens or more:

model:
  default: "gemma-4-12b-it-q4km"
  provider: "custom"
  base_url: "http://127.0.0.1:8080/v1"
  api_key: "none"
  context_length: 65536
janas-server gemma-4-12b-it-q4km.jns --ctx 65536

Tried with its source from GitHub installed in a virtual environment of Python 3.14 (its dependencies are declared for 3.14 and later), with hermes -z and --yolo (no question before its tools run), in a project holding a calc.py whose add returned a - b, asked to make it return the sum: Gemma 4 12B read the file, changed the one line to return a + b and said what it had changed, in 314 s on the laptop.

Zed

In Zed's settings.json:

{
  "language_models": { "ollama": { "api_url": "http://127.0.0.1:11434" } },
  "agent": { "default_model": { "provider": "ollama", "model": "qwen3-4b" } }
}

Zed asks the server for its models when it starts (/api/tags, /api/show). In the Agent panel, asked to explain a file of the project, Qwen3-4B called Zed's tool to read it and then answered right. The Agent panel's first message carries Zed's instructions and the descriptions of its tools, 10,984 tokens of which 7,721 are the tools': Qwen3-4B read them in 204.8 s on the laptop before its first word. The server keeps what it has read, so the next message started after 1.3 s, reading only its 55 new tokens. Reading a long prompt that slowly is being looked into.

Clone this wiki locally