Five agents, one badge
Codex, Claude Code, Gemini CLI, opencode and Pi all report into a single live count — no per-tool setup.
agent-presence pipes your local coding agents — how many are running and what they're burning in tokens — straight into your Feishu signature. Live, priced, and completely hands-off.
pnpm add -g @rivus/agent-presence the path
It watches the agents you already run and turns their activity into one honest badge.
Codex, Claude Code, Gemini CLI, opencode and Pi all report into a single live count — no per-tool setup.
Calendar-day token totals across every agent, priced to a dollar estimate — ccusage-style, scanned from local transcripts.
Counts agents that are actually running. Heartbeats keep them live; idle sessions expire; sleep and wake reset to zero.
Refreshes on session boundaries through the hooks your agents already fire. Nothing polls in the background.
Install a source package, map a regular hook payload with no code, or load a local handler when the payload needs custom logic.
Explore Sources →Add a source, replace a built-in resolver, or disable one from a single merged source table — without patching the CLI core.
See the source table →two ways to render
Both read the same slot. The default fronts it with a FaaS that Feishu reliably renders; the direct one needs no extra token.
A preview function on magic.solutionsuite.cn that reads your slot on every fetch — the path Feishu's link preview accepts.
The slot value served straight as a link preview. No magic-builder token required.
macOS & Linux · two commands · zero background daemons.