A cat that walks along your Windows taskbar. Click it, ask about the window you are looking at, and get an answer that is actually about what is on your screen.
It reads the UI Automation tree, not screenshots. That is the whole point: a
screenshot needs a vision model, a token budget and a guess at what is
clickable. The accessibility tree already knows the roles, the labels and the
bounding boxes — it is just unreadable at four thousand nodes. uia-snapshot
turns it into forty lines an LLM can act on, and the cat is the front end.
- Walks above the taskbar, on the monitor that owns it
- Drag it anywhere; it stays on top and out of the taskbar
- Click to open a bubble and ask a question about the focused window
- Answers come from the live accessibility tree, so "what does this dialog want?" works without a screenshot
- No screen recording, no OCR, no vision model
- No background indexing of your files or keystrokes
- No plugin API, no cloud account, no telemetry
src/DesktopCat
├── Program.cs entry point
├── App.axaml application resources
├── MainWindow.axaml(.cs) transparent, always-on-top host; walks the taskbar
└── Platform
├── Taskbar.cs taskbar rectangle via SHAppBarMessage
└── ScreenCursor.cs physical cursor position for dragging
The window is sized to the cat, not to the screen. That keeps hit-testing honest: if you can see the cat, you can click it, and everything else stays clickable for the app underneath.
dotnet build src/DesktopCat
dotnet run --project src/DesktopCatTargets net8.0 so it also builds on the .NET 8 SDK. The XAML is loaded at
runtime because Avalonia 12's compiled-XAML generator needs the Roslyn that
ships with the .NET 10 SDK; on a .NET 10 machine, switch TargetFramework to
net10.0 and call InitializeComponent() instead.
node tools/make-sprite.jsRegenerates the sprite set: 32 transparent frames per breed in
src/DesktopCat/Assets/cat/<breed>/.
| State | Frames |
|---|---|
| idle (4 sway + 2 blink) | 6 |
| walk | 8 |
| run | 4 |
| jump / fall / land | 2 / 2 / 2 |
| sit / sleep / groom / look | 2 each |
Breeds: british, tabby, tuxedo. Frames are 48×37 at 3x. The cat is drawn
in code so the asset is reproducible — edit a coordinate or a palette entry in
tools/make-sprite.js and re-run instead of hand-editing bitmaps. The script
also writes a contact sheet to %TEMP% for review.
The walking window is implemented: sprite-sized transparent window, taskbar geometry re-read every tick, drag with the mouse. The bubble and the accessibility-tree answer path are next.
MIT