For developers
KIplatz is an AI with an interface on your own PC, in the OpenAI format. Your tools and scripts can use it to ask the same AI as the window, with the same knowledge and the same house rules.

The interface in five lines
http://127.0.0.1:8470/v1, reachable only from this PC; from Docker Desktop on the same PC http://host.docker.internal:8470/v1cai-, sent as Authorization: Bearer; “Create a new key” makes the old one invalid at onceGET /v1/models and POST /v1/chat/completions with messages, stream, max_tokensExamples to copy: curl, Python, JavaScript
You'll find the key and the model name in the program under “Settings”, tab “For advanced users”, in the card “Let other programs ask KIplatz”. Replace cai-YOUR-KEY with your own key; the model name is unser-modell.
From the command prompt, in one line
curl.exe http://127.0.0.1:8470/v1/chat/completions -H "Authorization: Bearer cai-YOUR-KEY" -H "Content-Type: application/json" -d "{\"model\": \"unser-modell\", \"messages\": [{\"role\": \"user\", \"content\": \"What is 3 times 9.90 euros?\"}]}"
From a Python script
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8470/v1", api_key="cai-YOUR-KEY")
answer = client.chat.completions.create(
model="unser-modell",
messages=[{"role": "user", "content": "Summarise this text in 3 sentences: ..."}],
)
print(answer.choices[0].message.content)
From JavaScript, in the browser or in a script
const r = await fetch("http://127.0.0.1:8470/v1/chat/completions", {
method: "POST",
headers: { "Authorization": "Bearer cai-YOUR-KEY", "Content-Type": "application/json" },
body: JSON.stringify({ model: "unser-modell", messages: [{ role: "user", content: "What is an invoice number for?" }] }),
});
const data = await r.json();
console.log(data.choices[0].message.content);
With "stream": true the words arrive one by one as server-sent events, just as you know them from the OpenAI format.
Switch on and connect
In the program, open “Settings” and the tab “For advanced users” on the left, find the card “Let other programs ask KIplatz”, switch on “Programs on this device may ask KIplatz” and click “Copy key”. In your tool, enter the base address and the key, and use unser-modell as the model name. “Guide with examples” in the same card shows it all again.
Every question goes through the house rules and gets the community's knowledge and your own added. Nothing is stored as a conversation. Each question costs as many credits as a question in the window.
If your tool runs in Docker Desktop on the same PC, also switch on “Programs in Docker on this PC may ask too” in the same card. It stays off until you switch it on. Then use http://host.docker.internal:8470/v1 as the address, because inside a Docker container 127.0.0.1 means the container itself. The key is still required, and devices on your home network still can't get in, even with this switch.
Open WebUI sends 3 side tasks with every question (title, follow-up questions, tags), and each one costs credits. Start it with ENABLE_TITLE_GENERATION=False, ENABLE_FOLLOW_UP_GENERATION=False and ENABLE_TAGS_GENERATION=False to turn them off. Tested with Docker Desktop on Windows 11.
The sandbox
If you want to go deeper, get in touch in the workshop. There's a practice environment there with throwaway data, never the real community.
Updates with a signature
The program compares its build number with the server and fetches the new package when needed. It checks the checksum and signature and only installs the package if it really is newer. It then replaces its folder, keeps the old one for one more start, and restarts.
The program comes ready-built and signed from kiplatz.at. Every part has a fixed checksum, and the build stops at the slightest deviation.
Between device and server
Your PC signs in to the server encrypted and with its own key. The server keeps only a check value of that key.
The program and the app are open source
The source code of the program and the app is open (GNU AGPL 3): you can read, build and improve every line that runs on your PC, see source code. The program comes ready-built and signed from kiplatz.at. What else you can get out of your PC is explained in For tech fans.
Mistakes, ideas and questions go to the workshop. Please report security holes in confidence to support@kiplatz.at.
The interface can't be reached from the network, not even from your home network.
Read on For tech fans · The source code · Help out · How safe it is
Building starts with a report
Mistake, idea or question: there's a template for each in the KIplatz/mitbauen project. The latest reports appear on our home page.
Last updated
