Kungen

Kungen

SurfacesGatewayQuick startAppBlogProviders
Sign upSign in
Kungen

Kungen

ai.kungen.pro

Kungen is the FastAPI gateway between your tools and the providers in config.yaml. Every chat request gets the Kungen identity. The same key speaks OpenAI and Anthropic.

Surfaces
Gateway
Quick start
Providers
Android
Sign in
© 2026 KungenGateway at ai.kungen.pro. Website at kungen.pro.
SurfacesGatewayQuick startAppBlogProviders
Hosted at ai.kungen.pro
Kungen

Kungen

GATEWAY · IDENTITY · PARADIGM

ai.kungen.pro

Kungen is the FastAPI gateway between your tools and the providers in config.yaml. Every chat request gets the Kungen identity. The same key speaks OpenAI and Anthropic. Chat, Studio PRO, Dream, Console, Calls, Android, and Admin sit on that gateway.
Create accountInstall the remote CLI
Identity on every chat request
Remote CLI does not serve
2

API wires

OpenAI chat and responses, plus Anthropic messages

L0–L4

Paradigm

Delivery engine on the gateway after a model miss

7

providers

ollama, opencode, qwen, azure, kimi, xai, openrouter

LIVE PREVIEW
Remote CLI against the hosted gateway.
Hosted
kungen — ai.kungen.pro — remote cli
$
Surfaces

The rooms on kungen.pro

Signing in leaves this page for Chat. The other rooms follow role and plan. The gateway behind them is ai.kungen.pro.

Everyone
Chat

SSE chat for every signed-in account. The gateway prepends the Kungen system prompt on the way to the provider.

Admin
Studio PRO

Canvas for image, video, text, and stitch, plus a durable queue. A run with a source photo keeps that person. Admin on the website.

Admin
Dream

Reactive companion. It sends X-Kungen-No-Identity so the persona stays Dream. Separate from the standalone Telegram companion service.

Pro+
Console

Remote OpenCode on the runner. Visible on Pro and above.

Admin
Calls

Voice calls through the external Twilio suite. Admin only. Twilio is not a service inside this repo.

Sideload
Android

Native Compose app, sideloaded. Chat for everyone. Studio PRO, Dream, and Calls for admins. Console on Pro+.

Admin
Admin / Memory

Admin holds files, memory, sessions, learning, and diagnostics. Open Memory from Admin rather than a separate product nav item.

install.sh
Remote CLI

curl install.sh, or irm install.ps1 on Windows. Launches the coding tools against ai.kungen.pro. Does not start the gateway.

On this branch

What the live product actually does

Notes from the website nav, the remote CLI, and Studio PRO. Not customer quotes.

Product note

“A signed-in session leaves this page for Chat. Studio PRO, Dream, and Calls are admin. Console is Pro and above. Memory is a tab inside Admin.”

k

kungen.pro

Website rooms
Product note

“The remote installer writes a launcher that calls ai.kungen.pro. It can start Claude Code, Codex, Aider, Continue, or native OpenCode. It does not run kungen serve.”

R

Remote CLI

install.sh · install.ps1
Product note

“Studio PRO is the media workspace: image, video, text, and stitch on a canvas, with a durable queue. A run that includes a source photo keeps that person. The Android drawer has the same admin gate.”

S

Studio PRO

Web and Android
Quick start

Install the remote CLI

install.sh and install.ps1 install the remote launcher. It talks to the hosted gateway and can open Claude Code, Codex, Aider, Continue, or the OpenCode reskin. kungen serve starts FastAPI from the repo; the remote CLI does not have that command.

kungen — zsh — 80×24
Web app →EXECUTE
$ curl -fsSL https://ai.kungen.pro/install.sh | bash

Unix uses bash. Windows uses the native PowerShell installer. Do not pipe install.sh into iex. Starting the gateway is a different program: kungen serve in the repo.

Gateway

One identity, two wires, a delivery ladder

The FastAPI process at ai.kungen.pro injects identity, routes aliases, and runs Paradigm. Sith stays on the Railway host.

capability
Identity injection

KUNGEN_SYSTEM_PROMPT is required at startup. Chat requests get that system prompt unless the client sends X-Kungen-No-Identity, which also skips Paradigm.

capability
Paradigm L0–L4

Paradigm is the delivery engine in kungen/paradigm, configured from config.yaml. Chat, stream, and agents share it. A miss recovers on the gateway before the turn is dropped. Dream opts out.

capability
OpenAI and Anthropic

POST /v1/chat/completions and POST /v1/responses on the OpenAI wire. POST /v1/messages on the Anthropic wire. claude and gpt alias to opencode/qwen3.7-max. grok aliases to xai/grok-4.7.

capability
Agent loop

POST /v1/agent/run returns JSON. POST /v1/agent/stream emits tool progress as SSE. Short greeting turns drop tools so a hello does not open the loop.

capability
Sith on Railway

Sith is the tools island beside the gateway in the Railway project. The perimeter lives on that host. This website does not run those tools.

capability
Providers in config

The router builds ollama, opencode, qwen, azure, kimi, xai, and openrouter from config.yaml. Other provider classes stay registered in code until they are listed there.

Wires

Clients in. Providers out.

The gateway speaks OpenAI and Anthropic. Aliases in config.yaml choose the model. These are the live clients and the seven configured providers.

Claude Code

Anthropic base URL on the gateway. Alias claude routes to opencode/qwen3.7-max.

Codex

OpenAI-compatible base URL. The remote CLI launches it after you pick a model.

Aider

Points at the same gateway key. Remote command: kungen aider.

Continue

Editor config printed by the CLI. Same identity injection as chat.

OpenCode native

kungen native is OpenCode reskinned in Canary Matte, with its own config directory.

Android

Sideload APK from /app. Not a Play Store listing. Wake word on device.

Ollama

Ollama Cloud is a live provider in config.yaml. Local Ollama is the container path.

OpenCode

Most legacy aliases land here, including claude, gpt, and hf.

Qwen

DashScope provider. Pass qwen/… directly or use an alias that targets it.

Azure

AI Foundry catalog. Only deployed models answer, and quota is per model.

Kimi

Kimi Code Plan at api.kimi.com. Not the Moonshot platform API.

xAI

Grok at api.x.ai. The grok alias resolves to xai/grok-4.7.

OpenRouter

Ids keep the vendor prefix. The models block is a whitelist.
ONE ACCOUNT · ONE KEY

Open kungen.pro, or point a tool at the gateway

The website is the rooms. ai.kungen.pro is the FastAPI gateway. The remote CLI installs with the commands above and does not start kungen serve.

Create Account