Inspiration
I spend WAY too much each month on AI subscriptions... after this hackathon I can cut that subscription by one!
I dismissed this hackathon at first... a skill to manage files on a NAS? Boring...
A few days later, Theo on YouTube said somethings about using Clickhouse analytics for understanding his agents...
It hit me and I came back to this hackathon page, more excited.
I've been keeping Restic encrypted backups of my transcripts on R2 but can't run analytics on that. And transcripts are so sensitive. NAS is actually a really good idea.
Then I actually learned what the UGREEN iDX6011 Pro machine is... damn this is WAY more than a NAS.
It's turned into a project that I have sort of dreamed of for a long time. Managing 3+ AI subscriptions is getting expensive, and quota efficiency is important. This project is helping give me visibility into my own work in ways that have already proven valuable!
What it does
Agent Observatory answers questions like "what burned so much quota yesterday? And how to fix that?" mining coding agent transcripts that stay on your UGREEN NAS.
Raw transcripts from Claude Code, Codex, Kimi Code, Qwen, GLM, DeepSeek and Gemini Antigravity sync to the NAS.
A companion Docker container parses them into Parquet, serves a LAN dashboard, and writes daily summary reports into a NAS folder.
The Skill lets Uliya read these reports, rank waste, explain spikes, point to exact transcript lines, and save recommendation notes.
How we built it
SKILL.md with 3 registered agents (file, document, knowledge) and 6 delegate steps (passes checker). A docker container: transcript parsers, Parquet, DuckDB, daily reports and a 14-panel dashboard on the private LAN. UGREEN approved running it with the UGOS Docker app on the finalist NAS.
We tested it on 30 days of our own transcripts: 72 billion tokens.
Challenges we ran into
A Skill cannot call HTTP or SQL, so Uliya cannot query a database directly. We split the work: the container does the heavy analysis and writes small report files, and the Skill reads those files with the NAS file, document and knowledge capabilities.
Every agent tool writes transcripts in its own format, so each one needed its own parser.
Accomplishments that we're proud of
My codex token burn is ~80% less. Like a 4-5x improvement!
What we learned
Codex forked agents break caching. The top 5% of outputs cause 50% of the re-read cost - wrapping test scripts with executors with a single success line can save massively on verification steps. Reading images in a main orchestration thread is a huge quota burn. In our own data, images were 91% of tool-result bytes.
So many more hidden token quota burning mistakes are now easily observable, thanks for Agent Observatory!
The fixes are simple once you can see them: truncate tool output, and let subagents look at screenshots.
What's next for Agent Observatory
Finalist day, baby!! Time to install Agent Observatory on the iDX6011 Pro and test Uliya!
Plus still improving the dashboard and designing useful queries and views for transcript analysis.
Built With
- claude
- codex
- docker
- duckdb
- fastapi
- javascript
- markdown
- parquet
- pyarrow
- python
- ugos
- uliya
- uplot