Janus README

The project's README from github.com/Vibra-Ingenn/Janus. As one markdown file: README.md.

Janus logo

Janus: run local AI models on your PC, managed from one console

Your models are scattered: some in LM Studio, some in Ollama, a few in Downloads. Every app wants its own setup. Janus finds them all, runs the one that fits your graphics card, and gives every app one address to use.

One program, no Python, no Docker. Double-click it and the console opens in your browser.

Janus console: My Models, with the loaded model, graphics memory and the models found on this PC

Free and open source (MIT).

Privacy: Janus can keep a request log (time, app, model, where it ran — never your words). By default it checks GitHub once a day for a newer release (Vibra-Ingenn/Janus). Turn that off in Settings with Check for updates, or use Use only this PC (that also disables update checks).


What's new in 0.3.0

What Janus does


Quick start (Windows)

  1. Download the latest Janus-windows.zip from Releases.
  2. Unzip it anywhere.
  3. Double-click janus.exe. Your browser opens the console at http://127.0.0.1:8990.
  4. Pick a model in My Models, or get one in Discover.

To stop Janus, close its window. Closing the browser tab keeps it running for your apps.


Janus console: Test screen with a reply from the loaded model

Janus console: Server screen with API address, client snippets, and network settings

Connect your app

Setting Value
Base URL http://127.0.0.1:8990/v1
API key leave blank (or any text, if the app insists)
Model local

Works with anything that speaks the OpenAI API: Cursor, Cline, VS Code extensions, Open WebUI, scripts.

curl

curl http://127.0.0.1:8990/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"local","messages":[{"role":"user","content":"Hello!"}]}'

Python (openai package)

from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8990/v1", api_key="none")
reply = client.chat.completions.create(
    model="local",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Streaming works too: add "stream": true (or stream=True in Python).


API

Method Path What it does
POST /v1/chat/completions Chat (streaming supported)
GET /v1/models Model list
GET /models/list Every model file Janus found
POST /models/load Switch model without restarting
POST /models/unload Free the graphics memory
GET /engine/status Loaded model, backend, memory used
GET /health {ok, id, version}
GET /version Version, build time and commit
GET /tool.json Janus's tool card

Settings without the console

Janus console: Settings screen for GPU layers, memory budget, context length, and chat template

Everything in Settings can also be set as an environment variable or in a .env file next to janus.exe. The most used:

Variable Default Meaning
JANUS_MODEL_PATH picked for you A specific .gguf file to load
JANUS_MODEL_SEARCH_PATHS Extra folders to search, separated by ;
INFERENCE_BACKEND vulkan vulkan or cpu
JANUS_GPU_LAYERS -1 -1 = all layers on the graphics card, 0 = CPU only
JANUS_CTX_SIZE 16384 Working memory (context) size; Janus steps down to 8192, then 4096, if it doesn't fit
JANUS_MAX_TOKENS until the context is full Longest reply
JANUS_LISTEN_ADDR 127.0.0.1:8990 Address and port
JANUS_NO_BROWSER Set to 1 to stop the browser opening at start

Build from source

Windows (Go 1.25+):

git clone https://github.com/Vibra-Ingenn/Janus.git
cd Janus
.\build.ps1
.\dist\janus.exe

build.ps1 downloads the llama.cpp Vulkan files and builds dist\janus.exe. After that, Rebuild Janus.bat closes the running copy, rebuilds and starts the new one.

Linux (Go 1.25+, Vulkan or CPU):

git clone https://github.com/Vibra-Ingenn/Janus.git
cd Janus
./build.sh
./dist/janus

Things that trip people up

Problem What's going on Fix
A rebuild "didn't take" Windows can't replace a running .exe. Use Rebuild Janus.bat, or close Janus's window first.
A Janus you can't close It was started from an admin window; normal windows can't close admin programs. Run Janus from a normal window. To clear one, close it from an admin window.
"Port is in use" Another program holds port 8990. Janus names it in its window. Close that program, or change the port in Settings.
First reply is slow The model is loading into memory. Normal: 10-60 seconds. Smaller files (Q4) load faster.
"Engine failed to start" Graphics driver problem. Update the driver, or set the backend to CPU in Settings.

Works better together

Janus runs fine on its own. It's also one of a set of free tools that find each other through their tool cards:


Thanks

To thalisantunes for the Linux support (#2). Contributions are welcome; see CONTRIBUTING.md.

Like it?

Janus is free and stays free. If it saves you time, a star on GitHub helps other people find it. Using an AI assistant? Ask your AI to check out adeptuscamini.com.

License

MIT, see LICENSE.

Recusamus eadem fracta accipere. Nos aliter aedificamus.
We refuse to accept the same broken things, we build differently!

Janus (Vibra-Ingenn/Janus)

Searching Database…

What is this?Janus is a single Go binary that runs local .gguf language models on your machine (GPU or CPU) and exposes an OpenAI-compatible API, so you can use local models without Python, Docker, or Ollama.
Is this a chat app or a local API server?It is a local API server you run as one executable (janus.exe on Windows) — there is no bundled chat UI, you talk to it via curl, scripts, or any OpenAI-compatible client.
How do I get it running?Clone the repo and run build.ps1 on Windows (or build.sh on Linux) to compile dist/janus.exe, drop a .gguf file into the models/ folder, edit .env to point at it, then run the binary.
What do I need installed before building it?You need Go 1.25+ to build it, and a Vulkan-capable GPU (AMD/Intel/NVIDIA) is recommended for acceleration, otherwise it falls back to CPU.
Any platform or build pitfalls I should know about?Linux support is amd64-only with macOS/arm64 explicitly untested and unsupported, and on Windows you must kill any running janus.exe in Task Manager before rebuilding or it will silently keep running the old binary.
Does Janus work with coding tools like Cursor or Cline?Yes, since it exposes an OpenAI-compatible API at endpoints like /v1/chat/completions, you can point Cursor, Cline, or any OpenAI-compatible client at it to use your local models.
Can I switch models without restarting the server?Yes, the /models/load endpoint hot-swaps the loaded .gguf model without needing to restart Janus.
Does it support reasoning (thinking) models?Yes, Janus has thinking model support and splits the model's reasoning into a separate reasoning_content field in its responses.
Why pick this over Ollama?Janus ships as a single zero-dependency binary with no Python, Docker, or Ollama needed, uses Vulkan for GPU acceleration across AMD, Intel, and NVIDIA cards, and auto-detects the chat template from GGUF metadata.
Size
1.4 MB
Stars
136
Age
2mo
Commits · 90 Days