Engineering · Measured · Honest non-goals
Tray app engineering notes
How a single resident tray process hosts MCP servers, runs an AI agent in a command plane instead of a chat window, stays native and cheap on Windows, and keeps third-party plugins honest. The four field guides below ship today; the deeper notes expand the same questions one at a time.
Field guides
The four shipped deep-dives. Plain English first, real engineering under it.
- MCP MCP on Windows, in plain EnglishHosts, clients, and servers without the jargon: what the Model Context Protocol actually is, where it runs on a Windows machine, and how a tray app can be a native MCP host.
- HOST What is a tray-based AI agent host?Why a resident tray process fits an agent better than a browser tab — always one click away, no account shell, and a command plane that invokes local tools instead of opening chat tabs.
- WPF WPF tray apps: the questions developers actually askThe practical system-tray engineering questions for a native Windows desktop client: icons, menus, lifetime, and the boring details that decide whether a resident app feels native or fragile.
- TRUST Why plugin signing and trust tiers matterA marketplace runs third-party executables on your machine. This guide explains signing, trust tiers, and why unsigned plugins cannot be treated the same as the ones you publish yourself.
Design notes
Longer notes on one design decision each, linked as they settle.
- N32 No accounts, local-first: the engineering choiceWhat “no account” actually means in code terms, why local-first fits a resident tray host, how state is kept without an identity database, the two localStorage entries and one first-party download log the privacy page actually documents — and the real tradeoffs (no built-in sync, local-only recovery) the design accepts.
- N35 Why a tray app runs at startup and stays residentWhy TrayTool is configured to launch with Windows and keep running with no window, where the icon hides in the overflow, how to confirm the process is really running in Task Manager, the published 250 MB idle and 400 MB disk budget, and the documented ways to stop or fully uninstall it — including the startup mechanism the repo does not document and so does not claim.
- N22 The Steam model for desktop utilities: install, open, it worksWhy the plugin layer is modeled on a game launcher's shape: one resident host, acquire-once-then-open, a host-plugin contract, and trust at the boundary, plus the Steam mechanics we deliberately leave out (accounts, cloud, store economics).
- N23 Designing the plugin manifest: what an executor declaresOne declarative file describes an entire tray tool. The four field groups (identity, commands, inputs, permissions), a worked example, and how declared permissions meet the three-tier gates before any code runs.
- N25 Designing one command plane for dozens of toolsWhat changes when dozens of tools share one dispatch layer instead of one integration each: domain namespacing, stable command ids, declared rather than discovered capabilities, per-command permissions, a single gate and audit path, and the costs central dispatch adds.
- N31 Why we built a native WPF tray app instead of an Electron windowThe engineering case for native WPF over a bundled browser: a process engineered to stay resident, a tray surface that is a Windows shell API rather than a web view, one managed runtime instead of two, an honest and published resource budget, and the real tradeoffs we accept by not being cross-platform.
- N53 How AI engines cite software: robots, llms.txt, schemaWhat makes a software site quotable in a generated answer rather than a classic result page: per-agent robots.txt policy, a root llms.txt written for machines, schema.org JSON-LD with every reference resolved on the same page, and factual pages that say one consistent thing — traced through this site's own files, with no invented citation metrics.
How to read these notes
Three things separate an engineering note from marketing.
Every note describes the architecture the current build relies on and names the trade-off out loud. TrayTool is a native WPF client for Windows 10/11 x64. It is not an Electron shell, not a web service, and not a place that uploads your files to a cloud account to run; the host and the plugin contract are free forever. The product background behind these choices lives in what TrayTool is, and the three-gate safety model behind every automated action is in understanding permissions.
Where a layer is planned rather than shipped, the note says so. The MCP agent plane, for example, is the documented next layer; the guides explain its design without pretending it is already live. If you want to build on the platform yourself, start with the plugin developer guide and the developer overview.
Upcoming notes
Planned, not written. They stay unlinked until the design is settled and evidence-backed.
- N24Process isolation for plugins: crash boundaries and the resident hostSoon
- N26A resident app's performance budget: RAM, CPU, and the idle traySoon
See the architecture running
Install on Windows 10/11 in minutes — native WPF, no account, the host and plugin contract free forever.