New in 0.4 · leases
Your agent lends its GPU, then gets back to work.
One card, several models. An agent whose own model runs in KLIF hands the GPU to another System for one job and picks its conversation up where it left it, all in one tool call.
> klif-cli lease cgi --yes --from s1 -- python make_sprites.pyexit 0 · everything back
System 1busy · the agent
the agent
saving
parked · conversation in a slot
loading
the agent
System CGIoffline
starting
make_sprites.py · 24 images
stopping
12345
- 1System 1 is parked, its conversation saved into a slot.
- 2System CGI starts on the GPU System 1 left.
- 3The job runs: your command, a batch of requests, or one question.
- 4System CGI stops.
- 5System 1 is back with its conversation loaded, and the tool call returns.
One tool callklif-cli lease returns only when everything is back, also when the job fails or the System faults, and its exit code says which. If klif-cli itself is killed, KLIF restores without it.child_failedrestore_failed
Any System for any otherRun a command against the lent System, send it a batch of chat, image, speech or music requests and collect the answers in a folder, or let System 1 ask System 3 one question.-- command--requests--ask
The conversation survivesOn llama.cpp and Strata the parked System's KV cache goes into a slot of its own and comes back, so a long context is not read again. While it is parked, its port answers 503 with Retry-After: a client waits instead of failing.slots503 + Retry-After
From a launcher script to a stack
Four versions, one desk.
KLIF was built for daily work with local models on one machine, and that is still what it is for. Features land when they solve a real problem there.
indevA PowerShell menu: model, quant, backend, GPU, context, port. Press Enter.
one server at a time
0.1The same idea in a window: a tab per model tier, the command and its console.
the name, the mark
0.2A native core and klif-cli, live GPU memory, a panel mode, the first skins.
Tauri, Rust
0.3 · 0.4Any number of Systems, other machines, editable commands, downloads, a CLI for agents, and leases.
Now 0.4.0