// project
Trayward
Your coding agents' limits and sessions in the taskbar

Summary
An open source Windows 11 app that puts the usage limits and sessions of AI coding agents next to the clock: how much of the limit is left, and which session is working, done or waiting for me. Built with AI agents, directed and reviewed by me.
Case study
- goal
- With several Claude Code sessions running at once, I kept asking how much of my limit was left, which session needed me and whether that one was done yet. I wanted the answer at a glance, from a tool that is always in view, light and private, and polished enough to publish as open source.
- my role
- The idea, the product and design decisions, and the direction for every feature; daily testing on my own setup, the review, and the repository with its CI, security and release process. Most of the code and documentation was written with Claude Code under my direction.
- result
- In daily use with Claude Code, and open source on GitHub (MIT) about 10 days after the first commit: about 45,000 lines of Rust, about 450 tests with about 91 % coverage, and a SonarQube quality gate with no issues. The first public release, 0.1.0, came out in November 2026.
Features of Trayward
- The weekly and 5-hour limits next to the clock, colored as they fill up
- Dots for the sessions that need me, are done or are still working; one click opens a session in VS Code or its terminal
- A flyout with the weekly budget per day, the reset times, and each session's model, context size and prompt cache timer
- Notifications with sound for sessions that need me and for limit warnings, with snooze and Do Not Disturb
- Statistics by day, week, project and session: prompts, tokens, their value at API prices and the time worked, kept after Claude Code deletes its transcripts
- Optional and off by default: GitLab and GitHub pipelines, Home Assistant via MQTT, push messages to the phone, a system monitor
- One small exe for Windows 11: no runtime, no installer, no telemetry, about 15 MB of memory
- In English and German
Project information
Why Trayward?
I work with several Claude Code sessions at once. Each of them may need me, finish or run into the usage limit while I'm in another window.
Trayward answers "how much is left, and which session needs me?" right in the taskbar, without switching windows. It only reads the agent's own files and sends nothing anywhere.
Always in view
The widget sits in the taskbar next to the clock: the weekly and 5-hour limits, and a dot for every session that needs me or is still working.
When a session finishes or waits for an answer, a bubble and a sound tell me.

Limits at a glance
A click opens the flyout: the weekly limit as a budget per day, when each limit resets, and a prediction where the week will end.
It's clear before the limit runs out, not after.
Which session needs me
Every session with its state, model, context size and prompt cache timer, and the pipeline of its merge request.
One click opens the session in VS Code or its terminal. Codex CLI and GitHub Copilot sessions are supported too, untested so far.


Statistics that stay
Prompts, tokens, their value at API prices and the time worked, by day, week, project and session.
Trayward keeps them after Claude Code deletes its transcripts, and exports them as CSV.
Under the hood
Windows has no API for taskbar widgets. Trayward's widget is a window inside the taskbar itself: it moves with the tray, works at any taskbar edge, on several displays and at any scaling, and comes back when Explorer restarts.
It's written in Rust with the Win32 API, Direct2D and DirectWrite. It reads Claude Code's transcripts as they grow and parses their undocumented format defensively; optional hooks report a session's state the moment it changes. The MQTT client for Home Assistant is written from scratch, with TLS and auto-discovery.
Built with AI agents
Like Marqueefin, Trayward is an AI-assisted project: most of the code and documentation was written with Claude Code. I had the idea, made the product and design decisions, set the direction for every feature, reviewed the work and tested it every day.
The repository is held to the standards of my other work: CI with GitHub Actions, strict lints and formatting, about 91 % test coverage, license and advisory checks, CodeQL, a SonarQube quality gate, an OpenSSF Scorecard, actions pinned by commit, signed commits, and release builds with provenance attestations.

