mcpField
L
langfuse

langfuse

github.com/joelhooksData & databases6538 installsUpdated 2d ago
Repository

About langfuse

Langfuse is a decommissioned project; its code paths were removed from the repository. The README points to joelclaw usage commands and ClickHouse-based observability as the current alternatives.

Key features

  1. 01Decommissioned on 2026-07-09
  2. 02Code paths removed from repository
  3. 03Usage observability via joelclaw CLI
  4. 04ClickHouse-backed query layer
  5. 05Agent transcript usage tailers

Use cases

  1. 01Checking current model usage through joelclaw
  2. 02Querying usage events in ClickHouse

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/joelhooks/joelclaw --skill langfuse

After installing, type/langfusein Claude Code to confirm it loaded.

Details

From the project README

Langfuse — decommissioned 2026-07-09

Langfuse is gone. It was never migrated to Flagg, its traces API 429'd/422'd under real query load (2026-07 backup/self-healing token-drain post-mortem), and every code path was removed from this repo (grep -ri langfuse packages/ apps/ returns zero).

Where usage observability lives now

  • CLI: joelclaw usage --hours 24 [--source router|agents|all] [--model X] [--machine Y] [--json]
  • Query layer: packages/system-bus/src/lib/clickhouse-usage-query.ts over ClickHouse joelclaw.otel_events
  • Router usage: model_router.result events carry a full usage object in metadata_json (fixed by passing --mode json to pi in inference.ts)
  • Agent sessions: passive tailers (packages/system-bus/src/lib/agent-usage/) parse Pi/Claude Code/Codex transcripts into agent_usage.turn events every 15 min (system/agent-usage.scan)
  • Pricing: packages/system-bus/src/lib/model-pricing.ts — provider-reported cost wins; OpenRouter public pricing is the benchmark fallback (pricing data only, never an inference path)
  • Daily report: daily-token-usage-report.ts reads ClickHouse directly

Residue

  • pi/extensions/langfuse-cost still exists but degrades to disabled telemetry (fails soft, by design). Superseded by the agent-usage tailers; removal is a pending follow-up.
  • LANGFUSE_* secrets in the secrets store are unused and can be revoked.

Project receipts: .brain/projects/agent-usage-observability-2026-07-09.svx.

Comments

Markdown supported