presence + token spend → your signature

See your AI workforce
actually working.

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
@rivus/agent-presence · npmx ↗
CodexClaude CodeGemini CLIopencodePi
agent-presence — zsh live
飞书签名预览 · feishu signature
0 AI 牛马正在摸鱼中
今日 0 · $0.00

the path

hooks Agent hooks SessionStart · PreToolUse · Stop
state Presence state live · heartbeat · expired
render Debounced render {total} · {details} · {usage}
feishu Feishu signature link-preview badge

Built for people who live in the terminal

It watches the agents you already run and turns their activity into one honest badge.

Five agents, one badge

Codex, Claude Code, Gemini CLI, opencode and Pi all report into a single live count — no per-tool setup.

Token spend, with cost

Calendar-day token totals across every agent, priced to a dollar estimate — ccusage-style, scanned from local transcripts.

Working, not just open

Counts agents that are actually running. Heartbeats keep them live; idle sessions expire; sleep and wake reset to zero.

No cron, no daemon

Refreshes on session boundaries through the hooks your agents already fire. Nothing polls in the background.

two ways to render

Pick the preview that Feishu likes

Both read the same slot. The default fronts it with a FaaS that Feishu reliably renders; the direct one needs no extra token.

default

magic-builder

A preview function on magic.solutionsuite.cn that reads your slot on every fetch — the path Feishu's link preview accepts.

direct

feishu-signature

The slot value served straight as a link preview. No magic-builder token required.

Put your crew on your signature.

macOS & Linux · two commands · zero background daemons.