cd /news/developer-tools/building-a-floating-ai-assistant-tha… Β· home β€Ί topics β€Ί developer-tools β€Ί article
[ARTICLE Β· art-26689] src=dev.to β†— pub= topic=developer-tools verified=true sentiment=↑ positive

Building a Floating AI Assistant That Lives in the Corner of Your Screen

A developer built HiyokoHelper, a floating AI assistant that lives in a 360x440px window always on top of the screen. The Tauri-based app uses a global shortcut (Cmd+Shift+H) to toggle visibility from any application and stays running in the background without a Dock icon. The project is open-source and runs on an 8-year-old MacBook Air.

read1 min publishedJun 14, 2026

If this is useful, a ❀️ helps others find it.

All tests run on an 8-year-old MacBook Air.

HiyokoHelper is a 360Γ—440px floating window. Always accessible, never in the way. Cmd+Shift+H brings it to the front from any app.

{
  "app": {
    "windows": [{
      "label": "main",
      "width": 360,
      "height": 440,
      "resizable": false,
      "decorations": false,
      "alwaysOnTop": true,
      "transparent": true,
      "visible": false
    }],
    "macOS": {
      "activationPolicy": "accessory"
    }
  }
}

decorations: false

β€” custom title baralwaysOnTop: true

β€” floats above everythingactivationPolicy: accessory

β€” no Dock, no Cmd+Tabvisible: false

β€” hidden on launch

let shortcut: Shortcut = "CmdOrCtrl+Shift+H".parse()?;

app.global_shortcut().on_shortcut(shortcut, |app, _, _| {
    if let Some(window) = app.get_webview_window("main") {
        if window.is_visible().unwrap_or(false) {
            window.hide().unwrap();
        } else {
            window.show().unwrap();
            window.set_focus().unwrap();
        }
    }
})?;

Works from any app β€” VS Code, Terminal, Finder, anywhere.

.title-bar { -webkit-app-region: drag; }
.title-bar button { -webkit-app-region: no-drag; }

The title bar area drags. Buttons inside are clickable.

#[tauri::command]
pub fn hide_window(window: tauri::Window) {
    window.hide().unwrap();
    // Process stays alive
    // Clipboard monitor keeps running
    // Shortcut still works
}
tauri::Builder::default()
    .plugin(tauri_plugin_autostart::init(
        MacosLauncher::LaunchAgent,
        Some(vec!["--minimized"]),
    ))

Starts hidden at login. Ready for Cmd+Shift+H without ever appearing on screen.

TL;DR: Floating assistant window in Tauri: decorations: false

  • alwaysOnTop: true

  • activationPolicy: accessory

(no Dock/Cmd+Tab). Global shortcut toggles visibility from any app. -webkit-app-region: drag

for dragging without a native title bar. Close hides the window, not the process.

HiyokoHelper (OSS) | X β†’ @hiyoyok

── more in #developer-tools 4 stories Β· sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/building-a-floating-…] indexed:0 read:1min 2026-06-14 Β· β€”