New
Apps 1,895Makers 1,890This week 1,690
Promote your app−30%
k-lani-link screenshot 1
0views in
the last 30 days

k-lani-link

Encrypted P2P bridge for AI apps and backends on computers you choose

Built with Claude Code

by marvkalani · Unclaimed · from DEGermany · added Oct 29, 2026
no ratings0 comments

MVP development snapshot: Linux Docker deployment validated. License sales remain paused while the purchase flow is prepared.

Your AI, wherever you run it. Your apps, wherever you work.

Deutsch · Get started · Changelog · Support on Ko-fi

k-lani-link project artwork

k-lani-link is an encrypted bridge between your AI applications and an AI endpoint on another computer you choose.

That computer can be a workstation at home, a machine in your office, or a GPU server in a data center. Your application connects to a local OpenAI-compatible API; k-lani-link carries the requests and streamed responses between the two computers. The model runs on the backend machine, so your working computer doesn't need its own inference GPU.

Connect any application that supports the relevant OpenAI-compatible API and a custom endpoint: coding tools, chat interfaces, scripts or your own software. OpenCode and Cline are examples of clients, not a limit on the bridge. From computer X to computer Y: choose the AI you want to reach. That can be a model you run yourself or an endpoint another operator makes available to you. Bring any backend that implements the supported OpenAI-compatible chat endpoints. The transport is separate from the inference engine. Basalt is the tested reference deployment; other local backends use an explicit opt-in. See compatibility and setup.

What you get

Benefit How k-lani-link delivers it
Use compute on another machine Keep the model where your GPU and storage are; connect your apps through a local API.
See the answer as it arrives Streams text, reasoning and tool-call deltas without waiting for the whole response. The backend and app determine which features are available.
Change models without pairing again The optional Basalt supervisor loads and unloads approved models while keeping the tunnel connected.
Serve more than one request Configure up to eight streams per tunnel with a bounded queue; the backend must support the chosen concurrency.
Keep inference traffic between your chosen peers Authenticated WebRTC with additional content encryption. The intermediary handles encrypted connection setup and is disconnected once the tunnel is ready.
Choose your infrastructure Configure your own signaling and STUN servers. TURN is off by default and requires explicit opt-in.
Isolate the applications Docker recipes give the AI client and model server no Internet route. Dedicated transport components carry the connection.
Use it without an activation service No online license check, device registration or recurring fee for the 1.x software license.

Two computers. Two isolated applications. One encrypted connection.

flowchart LR
    subgraph A[Computer A — where you work]
        APP[AI application in Docker] --> CLIENT[k-lani-link client]
    end
    subgraph B[Computer B — where you run your AI]
        HOST[k-lani-link host] --> AI[AI backend in Docker]
    end
    CLIENT <-->|Authenticated, encrypted P2P tunnel| HOST

The Docker reference setup isolates two application containers: your AI client on one side and the inference server on the other. Small additional containers provide the transport and, where needed, browser access. The apps use private Unix sockets; k-lani-link handles networking. Both sides can also run on one machine for testing.

This arrangement lets you work with a remote model without exposing its raw API as a public service. The supplied local-model profile keeps inference on your chosen computers. k-lani-link has no traffic logging or telemetry. Fixed startup diagnostics help with invalid configuration and pairing errors without echoing keys or supplied values. Optional resource measurements record counters, not prompts or answers.

Choose your app and backend

Client side: use an app that accepts a custom OpenAI-compatible base URL, API key and model ID. k-lani-link forwards model listing, Chat Completions and Responses requests. It preserves their API format; it does not translate one API into another. OpenCode, ThinkRail/Pi and the Codex agent core have been tested. A Cline configuration is also documented.

Backend side: use an OpenAI-compatible chat server, such as Basalt, Strata, Maya, LM Studio, llama.cpp, vLLM or Ollama. These are examples, not a fixed list of supported engines. Client and server must support the same endpoint and requested features, including streaming and tool calls.

Connection Current status
Basalt reference deployment Tested, including Docker isolation and optional model controls
Other local OpenAI-compatible chat servers Generic connection available; integration and privacy validation remain backend-specific
Gateway to cloud providers Planned, with explicit cloud-use settings

The inference routes are /v1/models, /v1/chat/completions and /v1/responses. Model loading, KV-cache storage and other administration are separate capabilities. API conventions and Open Responses.

Other local servers: by default the host requires the backend's privacy profile. To use another local OpenAI-compatible server, explicitly set allow_unverified_backend = true in host.toml and configure its loopback upstream. k-lani-link then skips that profile check and warns at startup; the encrypted peer connection is unchanged. You must assess the backend's logging, storage and network access yourself. Our Basalt-specific model controller cannot be enabled with this opt-in. Connection example and exact limits.

Planned cloud gateway: computer B could also call OpenAI or another provider on your behalf. That adapter is still to be built. The selected provider would receive the inference data; this is a separate operating mode from the isolated local-model setup.

Client configuration and protocol reference · Backend capabilities and roadmap

Tested in a local workflow

OpenCode used a local Qwen model through Basalt and the encrypted connection to create a customer invoice, PDF, Excel ledger and English project website with WordCraft/GridCraft. All customer data was fictional; CPU, RAM and GPU measurements accompanied the run.

Recorded local AI workflow with container resource counters

Watch / download the English demo (MP4, 87 seconds) · Editing notes and GIF downloads

This is an edited archive of the 27–28 October run, not a new inference run. Old name overlays and provider labels are masked; the selected model output and resource counters are unchanged. Codex supplied prompts, follow-ups and review. Both peers ran on one machine, with fictional data. The recording predates the token/s exporter; no later performance figures have been inserted. The documents remain unchanged; later website wording and artwork edits are identified in the provenance notes. Hardware and measurements · Demo workflow.

The newer model-control test switched Coder → NVFP4 → Coder → unloaded through one existing tunnel, with signaling stopped. Twelve short requests ran in pairs; both model files were on the same RAID 0 filesystem. The successful profile used 6 GiB backend RAM, no swap and two slots configured for 262,144 tokens each. Those contexts were not filled; this is a functional test, not a throughput or answer-quality benchmark. Results and limits · Reproduce the test.

Development update: the seven-carrier comparison now includes 63 controlled cases: 50/100 tokens per second, 1/10 tunnels, 60-second workloads, proxy buffering and reconnection. The HTTPS mailbox contract and its durable pairing-state fixes are available for review. HTTPS transport is not wired into the application yet; the current application still uses WebRTC. Design and approval gate · Changelog.

Start with Docker

The current reference deployment targets Linux x86_64 with Docker Compose. The tested Basalt backend also needs a supported NVIDIA GPU, NVIDIA Container Toolkit and a compatible model file. Model weights are supplied by you.

  1. Build the images and create a private pairing code.
  2. Start the backend and k-lani-link host on computer B.
  3. Start k-lani-link and your application on computer A, then configure its local API endpoint.

Follow the two-computer setup guide →

Windows with Docker Desktop: a separate browser-based OpenCode profile mounts only D:\OpenCode as the project directory. OpenCode has no external network interface; k-lani-link handles the peer connection through a private socket. The PowerShell launcher builds/starts the stack and checks its boundaries. The Windows/Docker Desktop and real company-network acceptance test is still pending.

Both peers need network access. Across the Internet, their networks must allow direct peer traffic; Internet access alone does not guarantee NAT traversal. If direct ICE cannot connect, you must currently bring your own TURN server and explicitly configure its address and credentials. k-lani-link does not operate or supply a TURN service. There is no automatic relay fallback.

Portable Windows, macOS and Linux builds

Prefer a native program? The portable variants use one executable, with no installer: Windows x64/ARM64, macOS Intel/Apple Silicon and Linux x64/ARM64. They run from PowerShell or a terminal and use the same encrypted tunnel. The initial downloads are unsigned previews; security software or company policy may block them. Native operation does not provide Docker's application isolation. Downloads · Setup, platform limits and checksums.

€4.99 once. All 1.x releases.

One license covers one person, on any number of devices and containers, including AI agents acting for that person. Teams buy one seat per human user. There is no online activation.

Production use is free for individuals acting on their own behalf with annual gross income below USD 100,000, and for organizations with consolidated group annual revenue below USD 100,000. For company work, the group's revenue applies. Non-production evaluation is permitted under the BSL regardless of those thresholds.

License sales remain paused while the purchase flow and terms are prepared. · Free-use conditions and user definition · Commercial terms

Source is available under BSL 1.1. This version changes to Apache-2.0 on 28 October 2030 under the license terms. The price covers k-lani-link; model weights, compute, cloud-provider charges and TURN service are separate.

Support development

If you would like to support the project independently of a license purchase, you can support Marvin on Ko-fi. Contributions are voluntary and do not purchase or replace a required license.

Current release scope

The public main branch is an MVP development snapshot. Concurrency is configurable from one to eight streams per tunnel with a bounded queue (one stream by default). An opt-in Basalt supervisor loads and unloads allowlisted models while the tunnel stays connected. Saved KV state and a browser extension are not yet available. See model control and parallel streams. SIGTERM/Ctrl-C now clean up unused pairing reservations; a code consumed by an established tunnel still stays consumed. The recorded demo ran both peers on one host; it does not establish performance between independent Internet connections.

Changes are recorded in CHANGELOG.md. Tagged versions and their downloadable assets belong on GitHub Releases. The current source is an MVP. Portable builds have their own native CI checks; published versions identify their source commit and validation limits. See the portable guide for signature status and platform support.

k-lani-link transports AI API requests. Remote desktop, arbitrary file access and other network services are outside its scope. A client may keep local history and write files. Encryption and Docker isolation support a privacy-conscious deployment; lawful processing and GDPR compliance still depend on its operation.

Security model · Technical reference · Third-party licenses

Name change and existing installations

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#p2p · #encryption · #networking