[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112884":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},112884,"agent-speed","zoefix\u002Fagent-speed","zoefix","Agent Speed — A lightweight, real-time token speed monitor for Codex and Claude Code. Track tokens per second (TPS), detect slowdowns, and monitor AI agent performance at a glance.",null,"C#",249,40,221,4,0,1,24,27,7,61.54,"MIT License",false,"main",true,[],"2026-11-21 11:48:49","2026-11-23 03:24:29","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"assets\u002Ficon\u002Ficon-1024.png\" width=\"128\" alt=\"Agent Speed icon\">\n\n# Agent Speed\n\n**Feel your AI agents run.** A native racing instrument for the live token speed of Codex, Claude Code, Claude Desktop, DSH (DeepSeek Harness), OpenCode, Gemini CLI, omp, Antigravity, WorkBuddy, WorkBuddy AI, ZCode, Kimi Code CLI and Grok Build — calm when idle, on fire at the redline.\n\n[English](README.md) · [繁體中文](README.zh-TW.md) · [简体中文](README.zh-CN.md) · [日本語](README.ja.md)\n\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fzoefix\u002Fagent-speed?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fzoefix\u002Fagent-speed\u002Freleases\u002Flatest)\n![macOS 14+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS-14%2B-black?style=flat-square&logo=apple)\n![Windows 10\u002F11](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows-10%20%7C%2011-0078D4?style=flat-square&logo=windows)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-green?style=flat-square)](LICENSE)\n\n\u003Cimg src=\"docs\u002Fimages\u002Fhero.png\" width=\"760\" alt=\"Agent Speed floating orb and menu bar\">\n\n\u003C\u002Fdiv>\n\n## Install\n\n**macOS 14 or later** (Apple Silicon and Intel) **and Linux** (x86_64 and arm64) — paste into Terminal:\n\n```sh\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fzoefix\u002Fagent-speed\u002Fmain\u002Finstall.sh | sh\n```\n\n**Windows 10 \u002F 11** (x64 and ARM64) — paste into PowerShell:\n\n```powershell\nirm https:\u002F\u002Fraw.githubusercontent.com\u002Fzoefix\u002Fagent-speed\u002Fmain\u002Finstall.ps1 | iex\n```\n\nThat's it. The installer downloads the latest release from GitHub, verifies its SHA-256 checksum, installs it and starts it. Run the same command again to update.\n\nOn Linux the script installs the AppImage into `~\u002F.local\u002Fshare\u002Fagent-speed`, where it updates itself from inside the app, and adds Agent Speed to the application menu. It needs glibc 2.35 or later on x86_64 (Ubuntu 22.04, Debian 12 and newer) and 2.39 on arm64 (Ubuntu 24.04, Debian 13 and newer). The tray icon needs a StatusNotifierItem host: KDE Plasma has one; on GNOME, enable the AppIndicator extension (built into Ubuntu). Prefer a package? The [latest release](https:\u002F\u002Fgithub.com\u002Fzoefix\u002Fagent-speed\u002Freleases\u002Flatest) also has a `.deb` (`sudo apt install .\u002Fagent-speed_*_amd64.deb`), checked with `SHA256SUMS-Linux-\u003Carch>.txt`.\n\n\u003Cdetails>\n\u003Csummary>Uninstall\u003C\u002Fsummary>\n\n```sh\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fzoefix\u002Fagent-speed\u002Fmain\u002Finstall.sh | sh -s -- --uninstall\n```\n\n```powershell\n& ([scriptblock]::Create((irm https:\u002F\u002Fraw.githubusercontent.com\u002Fzoefix\u002Fagent-speed\u002Fmain\u002Finstall.ps1))) -Uninstall\n```\n\nAdd `--purge` \u002F `-Purge` to remove settings as well. On Windows you can also uninstall from *Settings → Apps*.\n\u003C\u002Fdetails>\n\n## AI characters\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Fcharacters.webp\" width=\"900\" alt=\"The 17 AI characters standing together, one for each model maker\">\u003C\u002Fp>\n\nRight-click an orb and choose **Style → Character**: an AI character stands on your desktop and dances to your agents' speed — the faster they run, the bigger she moves. There are 17, one for each model maker: Claude, DeepSeek, Gemini, GLM, GPT, Grok, Hunyuan, JEV, Kimi, Llama, MiniMax, Mistral, Perplexity, Qwen, RWKV, Seed and Wenxin. The orb shows the one whose model is running fastest, or the one you choose. Speed, performance, network speed, cost and today's usage float beside her as cards, never hidden behind her. The characters download from this repository's releases the first time you switch, each checked against its size and SHA-256 before it is installed.\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Fcharacter-orbs.webp\" width=\"900\" alt=\"Three character orbs with their speed, performance, network, cost and today cards\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Csub>Art by ZipZipPipe, used with permission. DeepSeek-chan's original character by 上善无形 (CC BY-NC-SA 4.0).\u003C\u002Fsub>\u003C\u002Fp>\n\n## What you get\n\n- **Floating orb** — a smoked-glass instrument with a 36-segment LED gauge. As speed climbs, so does its title — from *Walking* and *Bicycle* through *Bullet Train* and *Fighter Jet* to *Rocket* at the redline — while the gauge sweeps through the heat spectrum, a comet races around the ring, sparks fly, embers rise and every finished response sends out a shockwave. Beat your daily peak and it celebrates.\n- **Six orb styles, as many orbs as you like** — *LED Gauge*, *Needle Tachometer*, *Liquid Energy*, *Reactor*, *Minimal Ring* and *Character*, where a downloadable AI character dances to the speed of the fastest model. Give each orb its own mix of sources (all of them, one tool, or Claude Code + Codex) and a glass name plate that stays legible on any wallpaper.\n- **Menu bar \u002F taskbar** — a compact gauge and number that never jitters, right where you look: tok\u002Fs, money, or tok\u002Fs with the live money rate over today's total, plus optional network speed. On Windows it lives inside the taskbar, next to the clock.\n- **Dashboard** — a glowing line drawing of your current speed title's vehicle moves inside its orb — a walker, a bicycle pushing off, all the way to a rocket at the redline — plus a live chart, per-source speed, every active agent (including sub-agents) with its phase, and today's totals. Click a source to open its history.\n- **Performance score** — a benchmark-style number for every agent's live setup, where 1000 is the reference and there is no upper limit: higher is faster. It combines output throughput, time to first content, thinking speed, tool pace, tool time, tool success and cache hits, and compares it with the same model's usual on your computer (the 14 days before today). It shows on the orbs, the leaderboard boards, the menu bar \u002F taskbar and the dashboard (hover for the breakdown), and the usage history charts each model's daily trend.\n- **Cost** — what your agents' work would cost at each model's API list prices: live money per second next to tok\u002Fs, today's cost in the dashboard and each day's cost in the history. US dollars by default, or any of 38 currencies with daily exchange rates; sources on a flat-rate subscription can be left out. The price table updates daily from this repository.\n- **Network traffic** — upload and download speed per agent or for the whole computer, as two small lines on the orbs, in the menu bar \u002F taskbar and in the dashboard, with each day's traffic in the history. On Windows, per-agent traffic needs a small optional helper service, installed once with administrator approval.\n- **Title themes** — nine ladders of speed titles: *Vehicles*, *Animals*, *Beaufort Scale*, *Cosmos*, *Cultivation*, *Martial Arts*, *Arcane Ranks*, *Game Ranks* and *Engineer Career* — or up to eight sets of your own. Outside *Vehicles*, the dashboard orb shows a glowing title badge.\n- **Usage history** — every day since your oldest log: output and input tokens, requests, average speed and peak, cost and network traffic, charted by source over today, yesterday or any date range, with per-model speed and CSV export. Only daily totals are kept, so your history survives even after your tools delete old logs.\n- **Remote hosts (optional)** — watch agents working on your Linux servers over SSH right next to local ones: your own SSH config and keys, a small read-only helper placed on the host automatically, only token counts, times and models sent back, never conversation content; orbs, boards, the dashboard and the usage history can show each host on its own or all together.\n- **Local network (optional)** — show your live speed on a homemade desk display, a smart home hub or a script: devices on your network read it over HTTP, WebSocket or TCP with an access key, or the app sends it to the devices you add by UDP (also as a broadcast) or HTTP POST. Only speed numbers, only on your local network; see the [developer guide](spec\u002FLAN.md).\n- **Live reporting (opt-in)** — off by default; if you like, share your live numbers with an API you pick, such as the [Codex Radar](https:\u002F\u002Fcodexradar.com\u002F) speed ladder, under a username you choose. Never conversation content, files or project names — see [Privacy](#privacy).\n- **Execution modes** — show confirmed Standard \u002F Fast \u002F Ultrafast modes and native accelerator, model-variant or routing choices across supported agents, with defaults and unknown values kept distinct. History has a separate mode CSV; measurement formulas stay the same.\n- **Profile and devices (optional API extension)** — preview, change or remove an avatar, and link devices through an approved one-time code. Your receiver must support the [new API schema](spec\u002Freport-schema.json); each device keeps its own key and unlinking preserves accounted history.\n- **Native everywhere** — SwiftUI + AppKit on macOS, WPF with Fluent\u002FMica on Windows, Qt 6 on Linux. Light, dark or automatic theme. English, 繁體中文, 简体中文, 日本語.\n- **Humane** — effects intensity from *Off* to *Max*, respects Reduce Motion and high contrast, click-through mode, magnetic edges, remembers its place on every display, launches at login.\n- **Always current** — checks GitHub Releases in the background and updates with one click, verified by SHA-256.\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Forb-styles.png\" width=\"760\" alt=\"The five orb styles: LED Gauge, Needle Tachometer, Liquid Energy, Reactor and Minimal Ring\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Forbs.png\" width=\"760\" alt=\"Several orbs, each with its own sources and a glass name plate\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Fhero-vehicle.gif\" width=\"480\" alt=\"The vehicle inside the dashboard orb, from bicycle to rocket\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Fdashboards.png\" width=\"560\" alt=\"Dashboard in dark (tok\u002Fs) and light (cost per second), with today's cost and network traffic\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimages\u002Fhistory.png\" width=\"760\" alt=\"Usage history window with daily output and cost\">\u003C\u002Fp>\n\n## How speed is measured\n\nAgent Speed reads the transcripts your agents already write on your disk:\n\n| Source | Folder |\n| --- | --- |\n| Codex (CLI, IDE, desktop) | `~\u002F.codex\u002Fsessions` and `archived_sessions`, compressed logs included (or `$CODEX_HOME`) |\n| Claude Code (CLI, IDE) | `~\u002F.claude\u002Fprojects` (or `$CLAUDE_CONFIG_DIR\u002Fprojects`) |\n| Claude Desktop (Code and agent sessions) | `~\u002F.claude\u002Fprojects`, told apart automatically |\n| DSH (`dsh`, desktop and CLI) | `~\u002F.dsh\u002Fsessions` (or `$DSH_HOME\u002Fsessions`) |\n| OpenCode (CLI and desktop) | `~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db` (or `$XDG_DATA_HOME\u002Fopencode`) |\n| Gemini CLI | `~\u002F.gemini\u002Ftmp` (or `$GEMINI_CLI_HOME\u002F.gemini\u002Ftmp`) |\n| omp (oh-my-pi) | `~\u002F.omp\u002Fagent\u002Fsessions` and every profile in `~\u002F.omp\u002Fprofiles` (or `$PI_CODING_AGENT_DIR\u002Fsessions`) |\n| Antigravity (`agy` CLI, desktop app, IDE and extensions) | `~\u002F.gemini\u002Fantigravity-cli`, `~\u002F.gemini\u002Fantigravity` and `~\u002F.gemini\u002Fantigravity-ide` (their `conversations` folders); Windows also discovers `~\u002F.t3\u002Fuserdata\u002Fproviders\u002Fantigravity\u002F*\u002Fantigravity-acp` stores |\n| WorkBuddy (Tencent, China edition) | `~\u002F.workbuddy\u002Fprojects` |\n| WorkBuddy AI (international edition) | `~\u002F.workbuddy-ai\u002Fprojects` |\n| ZCode | `~\u002F.zcode\u002Fcli\u002Fdb\u002Fdb.sqlite` (or `$ZCODE_DATA_BASE_DIR\u002F.zcode\u002Fcli\u002Fdb`) |\n| Kimi Code CLI (TypeScript v2) | `~\u002F.kimi-code\u002Fsessions` (or `$KIMI_CODE_HOME\u002Fsessions`) |\n| Grok Build | `~\u002F.grok\u002Fsessions` (or `$GROK_HOME\u002Fsessions`) |\n\nGrok Build supplies native per-turn model batches: token counts, API duration and the actual number of model calls enter the same speed engine. Child usage is already included in its parent and is counted once; child activity remains visible. Its individual-call timeline is not stored, so intra-batch concurrency cannot be reconstructed.\n\n**Speed = output tokens ÷ the real time the model spent on them** — from the moment the request was sent until the response finished, including time to first token. Parallel agents add up. While a response is still streaming, it is estimated from that agent's recent measured speed and corrected with the measured value the instant it completes. Optionally you can switch to *total throughput* (input + output).\n\nThe full, testable specification lives in [`spec\u002FMETRICS.md`](spec\u002FMETRICS.md). All three apps are verified against the same fixtures and an independent [reference implementation](spec\u002Ftools\u002Freference.py).\n\nOrdinary Claude Desktop chat conversations are not stored on your computer, so they cannot be measured; WorkBuddy conversations that run in the cloud are not counted either.\n\n## Privacy\n\nRead-only. Local-only. No telemetry, no accounts. Agent Speed makes only three kinds of automatic network requests, and each one sends nothing about you: the update check against GitHub Releases, a daily download of the public model price table from this repository (GitHub, with jsDelivr as a mirror), and — only when you show costs in a currency other than US dollars — a daily download of public exchange rates (open.er-api.com, with the fawazahmed0 currency API and Frankfurter as fallbacks). Every user requests the same files, so no server learns your currency, models or usage. One switch in Settings turns all network access off; costs then use the price table and rates shipped with the app. Agent Speed never stores or displays conversation content — only token counts, model names and project folder names. The usage history keeps only daily totals (including each day's API-equivalent cost) and each model's daily performance figures, in a small database on your computer (`~\u002FLibrary\u002FApplication Support\u002FAgentSpeed`, `%LOCALAPPDATA%\\AgentSpeed`), and can be cleared in Settings. Updates are verified against the release's SHA-256 checksums before they are installed; the checksums are published with the release, so they catch corrupted or tampered downloads, not a compromised repository. The price table is plain data checked against strict rules; it is not signed.\n\nNetwork traffic: Agent Speed counts how many bytes programs send and receive, on this computer only. It never reads content, addresses or destinations; only live reporting (below), if you turn it on, sends your agents' byte counts to the service you chose. On Windows, per-agent traffic needs an optional helper service that runs as the restricted Local Service account and only counts bytes per process; it is installed and removed with one administrator prompt each ([details](spec\u002FWINDOWS-SERVICE.md)).\n\nRemote hosts (optional): for every Linux host you add in Settings, Agent Speed connects with the system `ssh` and your own SSH configuration (it never stores or asks for a password). On the first connection it places a read-only helper matching this version in `~\u002F.cache\u002Fagent-speed` on the host and checks its SHA-256 before running it. The helper reads that host's logs with the same rules as on your computer and sends back only token counts, times, models, project folder names and daily totals, never conversation content; it opens no network connection and writes only into its own folder (a usage-history cache and a time zone file). With the network master switch off, nothing connects.\n\nLocal network (optional): only while you turn it on in Settings → API → Local Network. Devices on your network that present the access key can read the live speed from one port (Bonjour name `_agentspeed._tcp`), and the app sends it to the addresses you add — only local network addresses, never through a proxy. It sends output speed, its estimated share, working session counts, a one-minute history and this computer's name; never conversation content, models, projects, paths or costs. It travels as plain text on your network. With the network master switch off, the port is closed and nothing is sent.\n\nReasoning effort and speed: most agents write these into the logs above. For the rest, Agent Speed reads a few extra fields, read-only, and never conversation text. Three databases: OpenClaw's `trajectory_runtime_events` (only `trace.metadata` rows, selected in the query, and from them only the think level and fast mode; compressed rows are unpacked in memory and discarded), WorkBuddy's `workbuddy.db` (only `sessions.id` and `sessions.thought_level`) and Hermes Agent's `state.db` (only the session's `model_config.reasoning_config`). These files are opened without creating any `-wal` or `-shm` file, and Hermes's only briefly. Config files, one setting each: Codex `config.toml` (`service_tier`), Gemini CLI `~\u002F.gemini\u002Fsettings.json` (`thinkingLevel` or `thinkingBudget` of an override for the agent's model), Antigravity `~\u002F.gemini\u002Fconfig\u002Fconfig.json` (`vertexServiceTier`), WorkBuddy `settings.json` (`reasoningEffort`) and Hermes Agent `config.yaml` (`agent.reasoning_effort`, `agent.service_tier`). A value found only in a config file is shown with a 設定值 (config) mark, because the agent may not be using it, and is never counted in your history or statistics or sent in reports. A value that isn't recorded anywhere stays unknown; it is never guessed.\n\nPerformance score: Agent Speed computes each agent's performance score from the timing and token counts of its responses and from when its tool calls start and finish and whether they fail — never from what the prompts, commands or files say. The usage history keeps only per-model daily totals of these figures. Only live reporting sends anything of it, and only if you turn it on, leave model sharing on and the service supports it: the current score and per-model performance statistics (sums of output and duration, the first-content latency distribution, thinking, cache, tool-call counts, time and failures, and active time), for ranking and statistical analysis. It never sends anything about a single request or tool call, and no prompts, commands, paths or timestamps.\n\nLive reporting (optional, off by default; the dashboard offers it once): if you turn it on for an API — for example a public leaderboard service such as the built-in Codex Radar speed ladder (`deng.codexradar.com`) — Agent Speed sends that service your live speed, the tokens used in the last few seconds and, if you leave them on, the API-equivalent cost in US dollars, your agents' network traffic, models in use (with, where the service supports it, each model's performance score, performance statistics and thinking speed) and a per-tool breakdown, together with the username you choose (it starts as your computer's name; one click picks a random one). It reports every few seconds while your agents work and stops when they rest. It never sends conversation content, prompts, commands or their output, file, folder or project names, or your usage history, and failed reports are never resent. Each report is signed with a key that stays on your computer; the service can tell that reports come from the same device, not whether the numbers are true. You can pause, turn it off, or ask the service to forget your device in Settings.\n\nOptional API extensions also share per-model Harness counts, execution-mode metadata (service tiers such as Fast and Ultrafast, and the reasoning effort) and the performance figures above when model sharing is enabled and the service supports them. Avatar uploads and one-time device pairing happen only through explicit profile actions, with a receiver that supports the [extension schema](spec\u002Freport-schema.json); images never go into periodic reports. Paired devices retain independent private keys, and the network master switch also disables profile requests.\n\nEvery host Agent Speed may contact, and when, is listed in [`spec\u002FNETWORK.md`](spec\u002FNETWORK.md).\n\n## Build from source\n\n\u003Cdetails>\n\u003Csummary>macOS (Xcode 26 or later)\u003C\u002Fsummary>\n\n```sh\ncd macos\nswift test\n.\u002Fscripts\u002Fbuild-app.sh          # → dist\u002FAgentSpeed-macOS.zip\n```\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Windows (.NET 10 SDK; also cross-builds from macOS\u002FLinux)\u003C\u002Fsummary>\n\n```sh\ndotnet test windows\u002Ftests\u002FAgentSpeed.Core.Tests\ndotnet test windows\u002Ftests\u002FAgentSpeed.Presentation.Tests\n.\u002Fwindows\u002Fscripts\u002Fpublish.sh    # → dist\u002FAgentSpeed-Windows-{x64,arm64}.zip\n```\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Linux (CMake, g++ 12+; the app needs Qt 6.8 with Qt WebSockets)\u003C\u002Fsummary>\n\n```sh\ncmake -S linux -B build -G Ninja -DAGENTSPEED_BUILD_TESTS=ON -DAGENTSPEED_BUILD_APP=ON\ncmake --build build && ctest --test-dir build\nlinux\u002Fpackaging\u002Fpackage.sh build dist 1.8.0   # → AppImage and .deb\n```\n\u003C\u002Fdetails>\n\n## Project layout\n\n```\nspec\u002F       measurement + design specification, shared fixtures, reference implementation\nmacos\u002F      Swift package: AgentSpeedCore (engine) and AgentSpeed (SwiftUI app)\nwindows\u002F    .NET solution: AgentSpeed.Core (engine), AgentSpeed.Presentation, AgentSpeed (WPF app)\nlinux\u002F      C++ core and Qt 6 (QML) app, AppImage and .deb packaging\nassets\u002F     icon artwork\ninstall.sh  install.ps1\n```\n\n## Friends\n\n[Codex Radar](https:\u002F\u002Fcodexradar.com\u002F)\n\n## License\n\n[MIT](LICENSE) © 2026 zoefix\n","Agent Speed 是一款轻量级实时 AI 代码代理 Token 吞吐速率监控工具，专为 Codex、Claude Code 等主流代码大模型客户端设计。它以系统托盘图标形式运行，实时显示 tokens per second（TPS）、检测响应延迟异常，并支持多模型识别与可视化反馈（如动态角色动画）。基于 C# 开发，原生支持 macOS 14+、Windows 10\u002F11 和 Linux（x86_64\u002Farm64），具备自动校验安装、静默更新和跨平台托盘集成能力。适用于开发者日常调试 AI 编程代理性能、对比不同模型响应效率，或在本地开发环境中快速感知推理速度波动。",2,"2026-11-24 04:44:29","CREATED_QUERY"]