AgentDesk 開源推出,讓用戶查看 Claude 和 Claude Code 的工作狀態及費用
I launched AgentDesk: an animated office to see what Claude (and Claude Code) is doing and spending
作者推出並開源 AgentDesk,讓用戶以像素風辦公室查看自動化項目和 Claude Code 工作階段的活動,並追蹤 API 用量及費用。工具還顯示 Claude Code 按項目和模型分類的 token、快取率、工作階段記錄,以及 5 小時和每週用量;用戶可用手機批准或拒絕權限請求,或要求工作階段停止。
I wanted to know, without opening a terminal, what each agent was doing and how much it was costing. So I built AgentDesk and open-sourced it.
What it does
Pixel-art office: every automation and every Claude Code session becomes a robot in the room, with a speech bubble showing what it’s doing. You can name each one and change how it looks.
API usage: tokens and cost for today, this month and all time, a history of every call, and a monthly limit. Amounts in US$, R$, € or £.
Live Claude Code: tokens by project and model, cache rate, tips to spend less, session history, and usage bars for the 5-hour and weekly windows.
Control from your phone: approve or deny permission requests and ask a session to stop. If you don’t answer, Claude Code asks in the terminal: nothing is ever approved on its own.
Privacy: everyone uses their own API key, stored encrypted. The Claude Code collector sends only metadata (folder name, tool, tokens). Source code and prompts never leave your computer.
How to use it: runs with a single Docker command on your machine or server.
It’s an independent project, not an official Anthropic product. Licensed under AGPL-3.0. Feedback and contributions are welcome.
來源:DEV Community · dev.to