
An elegant, floating desktop AI search bar and research assistant. Operating as an always-on-top overlay, it lets you run deep web research, read and analyze local code files, snap screen snippets for vision models, and dictate searches in real time using global hotkeys.







This desktop application delivers smooth visual interactions and strong performance using its multi-process architecture. By combining native system tools, audio streams, and automated research workflows, it provides a distraction-free space to search, ask, and build directly from your desktop.
Here is the Electron main-to-renderer bridge structure and core service routing:
The goal behind EightBit Desktop AI was to build a fast, visually lightweight AI companion that fits right into a developer's real workflow. Instead of breaking your focus by opening new browser tabs or heavy sidebar apps, this tool packages models into a single, hotkey-driven floating search bar. It connects desktop power with web search and local files to give you instant answers right where you are working.
The application uses a multi-process Electron architecture to separate heavy OS-level tasks from the polished React user interface. The Main process handles window states (frameless, transparent, click-through toggles), global hotkeys, and native screen clipping. It also runs the backend research pipeline, pulling accurate search results via DuckDuckGo and cleaning web pages using Cheerio. API keys have been upgraded from plain storage to Electron's native safeStorage AES-256 encrypted keychain so credentials never leave the device. The Frontend process uses React, Vite, and modular CSS modules to handle real-time audio streams via WebSockets to Deepgram, track multi-turn chat history threads, and map responsive local file explorer grids with built-in code snippet viewers.
EightBit Desktop AI is structured around Electron's multi-process model to guarantee high performance, security, and smooth rendering of transparent window overlays:
desktopCapturer, and executes local tools.window.electronAPI, ensuring the React UI has no direct access to system binaries or execution scripts.Security is central to the design, preventing malicious prompts or commands from compromising the user's host machine:
security.ts to instantly block destructive actions like rm -rf, privilege escalation, and boot modifications..ssh/, .aws/, system32).localhost), private subnets (192.168.x.x), and cloud metadata IP addresses (169.254.169.254).safeStorage module, applying AES-256 hardware-tied encryption before writing to secure_settings.json.The deep research feature leverages an agentic decision loop that dynamically searches, reads, and executes actions. The lifecycle of a query proceeds through the following phases:
<search query="..." />, <read url="..." />, <run_command cmd="..." />).<answer> tag is reached or the loop limit is hit, all gathered observations are sent to the LLM. It streams the final markdown report with embedded citation links and magazine-style image galleries.Creating a transparent desktop app that dynamically grows or shrinks brought up unique challenges—especially managing Electron click-through windows so background apps remain interactive. Handling real-time WebSocket audio flows within React components required deep work with thread lifetimes and sound processing. This project helped me master Electron IPC bridge contracts, high-speed web scraping logic, modular CSS refactoring, and local data encryption architectures.
EightBit Desktop AI simplifies your daily workflow by putting an advanced AI assistant and an autonomous research agent into a lightweight, floating search bar. By linking operating system features like global keyboard shortcuts and screen capture with real-time web tech (WebSockets for dictation and live text streaming), it changes how we use desktop tools. The app protects user privacy by encrypting all API keys locally, while its optimized build pipeline ensures smooth performance across Windows, macOS, and Linux.