Khoa Nguyen

All rights reserved © yunkhngn · v1.7.14

Work
Edit

Antigravity Floating Dock

Antigravity Floating Dock is a lightweight macOS menu-bar companion for monitoring AI agent lifecycles via secure Unix domain sockets and native glass UI overlays.

Antigravity Floating Dock

Role

Solo — design & engineering

Year

2026

Stack

macosrustipcarchitecturedeveloper-tools
Source

Case study

Context

Antigravity Floating Dock is a lightweight, standalone macOS companion application designed to monitor Antigravity (AGY) agent lifecycle events through documented hooks. It exposes a compact, always-on-top Progress Bubble and Floating Chat overlay while running unobtrusively as a menu-bar accessory.

Architecture & Key Features

  • Menu-Bar Accessory Integration: Runs as an accessory (ActivationPolicy::Accessory) on macOS, ensuring that hiding or closing floating windows never terminates the companion process.

  • Native macOS Material: Leverages window-vibrancy to apply native liquid glass and vibrancy effects, falling back gracefully to CSS backdrop blur.

  • Progress Bubble: A top-right translucent pill providing hook-driven activity states (Working, Idle, Needs attention, Error, Unknown) without stealing focus.

  • Floating Chat Overlay: Features a global shortcut toggle, bounded recent events list, and a safe read-only JSONL transcript tail restricted to designated local directories.

Technical Highlights

  • Local-Only Authenticated IPC: Communicates via a Unix domain socket with strict file permissions (0600), a per-run random authentication token, 64 KiB frame caps, event deduplication, and secret redaction.

  • Short-Lived Hook Relay: Utilizes a fast Rust binary (agy-dock-hook-relay) with tight connection timeouts to forward payloads and exit immediately without blocking agent execution.

  • Safe Hook Installer: Backs up existing configuration files before modifying hooks, preserving user-defined configurations and providing manual setup fallbacks.

Outcome

Delivers a secure, high-performance local developer utility tailored for Apple Silicon macOS environments, complete with a modular architecture and transparent fallback behaviors for unsupported external session APIs.

Keep exploring

Related work

2026

Planning Poker

A simple, fast, and real-time Scrum Planning Poker application designed for remote agile teams to effectively estimate tasks with an intuitive, clean Shadcn UI interface.

2026

PixShade

Protect your images from AI training — A browser-based tool using Multi-Scale DCT perturbation and metadata obfuscation.

From the journal

2026-12-04

Good Design Is Not About Making Things Look Pretty

Explore how good design solves problems, reduces cognitive load, and communicates intent rather than merely decorating interfaces.

2026-12-04

How to Design a Multi-Tenant SaaS Architecture with Spring Boot

A practical guide to designing secure, scalable multi-tenant SaaS applications using Spring Boot, covering tenant isolation, database strategies, and authorization.

2026-12-04

Building Reliable Background Jobs in Node.js with BullMQ and Redis

A practical guide to implementing robust background processing in Node.js using BullMQ and Redis, covering retries, concurrency, and failure handling.

Next project

Yunkhngn Microservice Platform →