I built an animated office to see what Claude and Claude Code are doing (and spending)

I built an animated office to see what Claude and Claude Code are doing (and spending)

calendar_today ago • schedule2 min read

AI usage is invisible by default. You run an automation, a Claude Code session churns in a terminal somewhere, and the only feedback you get is a bill at the end of the month. I wanted to see it. So I built AgentDesk: a dashboard where every automation and every Claude Code session is a little robot in an animated pixel-art office, with its tokens and cost floating next to it.

AgentDesk is an independent project. It is not an official Anthropic product; "Claude" is a trademark of Anthropic.

What it does

  • Automations (summarize a document, review code, write an executive report) that call the Claude API with your own API key. The key is encrypted at rest and never goes back to the browser.
  • Consumption: tokens and cost for today, this month and all time, a per-day chart, a ranking, a history of every call and a monthly limit. Prices live in a table the admin edits, never in code. Values can be shown in USD, BRL, EUR or GBP.
  • The animated office: each automation and each Claude Code session becomes a robot. You can name them and change how they look.
  • Live Claude Code sessions: a small collector on your PC sends only metadata (folder name, tool in use, token counts). Source code and prompt text never leave your computer. You can stop a session or approve/deny a permission request from the app. If you don't answer, Claude Code simply asks in the terminal, so nothing is ever approved on its own.
  • Phone alerts: when installed as a PWA, the app sends a push notification when a task finishes or asks for permission.

Under the hood

It is a modular monolith: .NET 8, Dapper and PostgreSQL 16 on the back end, an Angular PWA on the front end.

  • One module = one project, and modules only talk to each other through small contracts in a shared kernel. That kept the codebase easy to change as features piled up.
  • Business errors are Result values with stable codes, not exceptions.
  • Real integration tests (API plus a real PostgreSQL) and Playwright end-to-end tests on desktop and mobile layouts.
  • All access to Claude goes through a single interface, so tests use a fake client and never hit the real API.

A few things I learned

  1. Hooks are enough. Claude Code's hooks plus OpenTelemetry give you a surprisingly rich live picture without reading any code or prompt.
  2. Be strict about privacy. Sending only metadata made the tool easy to trust, and easy to explain.
  3. PWA install is a UX problem, not a technical one. On Android one tap installs it, but on iPhone you need to guide people step by step, so the app shows a simple walkthrough only on phones and tablets.
  4. Read-only "view as" mode for admins. An admin can open the app as a user, with the server refusing every write, a visible banner, and an audit trail.

Try it

It runs on your own machine or server with Docker:

cp .env.example .env
docker compose -f docker-compose.selfhost.yml up -d --build

The license is AGPL-3.0. If you want to use it in a closed product, get in touch about a commercial license.

I would love feedback, especially on what you would want to see about your own AI usage.

Want more #opensource & #dotnet deep dives?

Join 6,023+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

2 Comments

1 vote
0

More Posts

AAIF Hits 10 Projects. Its CTO on What to Adopt Now and the Security Gaps Left Open

Tom Smithverified - Oct 23

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4

I Wrote a Script to Fix Audible's Unreadable PDF Filenames

snapsynapseverified - Apr 20

How I Built a React Portfolio in 7 Days That Landed ₹1.2L in Freelance Work

Dharanidharan - Feb 9

How AI Is Changing Web Development, and What Developers Still Need to Understand

Daniel Decker - Nov 10
chevron_left
1Posts
1Comments
3Connections
Systems analyst from Brazil building tools around AI automation.

Creator of AgentDesk, an open-sour... Show more

Related Jobs

View all jobs →

Commenters (This Week)

12 comments
9 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!