Add the Local AI panel: the validated local model for your GPU, one button on the bar - #10643
Open
0xSero wants to merge 1 commit into
Open
Add the Local AI panel: the validated local model for your GPU, one button on the bar#106430xSero wants to merge 1 commit into
0xSero wants to merge 1 commit into
Conversation
…utton on the bar One bar icon and one card: the model validated for the detected GPU, Start/Stop, an agent picker, a Tailscale share toggle, and a GPU picker when more than one card is present. Renders purely from a snapshot file the controller writes; nothing in QML knows a model name or a flag. The controller (bash, no daemon) matches hardware, gates the vendored recipe (digest-pinned image, pinned model revision, no host IPC, no extra capabilities, no weakened security profile, mounts confined to two plugin-owned roots), downloads weights with progress, runs the engine and an attested gateway as two labeled containers on a private network, and calls the model ready only after acceptance: served model id, unkeyed request refused, chat, decode-speed floor, Messages, Responses, and a tool call. Failure rolls back to the previous model with the reason on the card. Agents are launch-only: pi, omp, opencode, ori, claude, codex, grok, agy, hermes, copilot, crush open on the model with the endpoint and key in their own environment; no user config is written. Sharing publishes the gateway on the tailnet address, keyed, with no root, sudo, or pkexec. Validated on 29 NVIDIA cards (rented, the plugin's own Start path) and daily on a mixed RTX 3090 + Arc Pro B70 host; 86 shimmed tests run through test/shell.d/local-ai-test.sh. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013f3DyC3B8UpdJKu3Z5F8pX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Local models as one button on the bar, in the V1 scope agreed when #8836 was closed: one validated model per GPU tier, Start/Stop, an agent picker, a keyed Tailscale share, and nothing else. This is the plugin that has been shipping third-party as
sero.local-ai(marketplace submission omacom/omarchy-plugin-marketplace#4097, where it passed validation and the security baseline and went through five rounds of security review), brought in asomarchy.local-ai.tailscale serve, no root, no sudo, no pkexec. The key lives in one 0600 file and enters no process argument.How we know it works
test/rented-results/in the plugin repo. Total rental cost $0.76.omarchy bar put omarchy.local-ai, then Stop, Start (accepted at 24 tok/s), Open agent, and Share on/off all driven through theomarchy.local-aiIPC.omarchy local ai …routes through the newbin/omarchy-local-ai.test/shell.d/local-ai-test.sh; upstream'sbin-style,panel-command-path,qml-text-format,plugin-registry-contract,bar-widget-contract,plugins, andmanifest-entrypointstests pass on this branch.Files
shell/plugins/panels/local-ai/(Panel.qml, manifest, README, bin, lib, recipes.json, test/all),bin/omarchy-local-ai(router), one line inbin/omarchyfor thelocalgroup, a section inmanual/17-ai.md, a row inshell/plugins/README.md, andtest/shell.d/local-ai-test.sh.🤖 Generated with Claude Code
https://claude.ai/code/session_013f3DyC3B8UpdJKu3Z5F8pX