{"repo":"edxeth/pi-langfuse","free":true,"listed":false,"github":"https://github.com/edxeth/pi-langfuse","clone":"git clone https://github.com/edxeth/pi-langfuse.git","description":"Session-safe Langfuse v5 and OpenTelemetry observability for Pi agent with redacted traces, raw JSONL exports, local self-hosting, and privacy controls.","language":"TypeScript","stars":15,"topics":[],"license":null,"category":"analytics","readme_excerpt":"pi-langfuse Full-stack Langfuse observability for Pi Coding Agent. The extension records live traces and redacted training exports. Every prompt, turn, tool call, and streaming response is traced with cost and token metadata. Secrets and PII are redacted at the extension boundary before anything leaves your machine. An optional append-only JSONL companion stream gives you training-ready, audit-safe data without touching Pi's original session files. Node.js 22+ release Version 2.0.0 requires Node.js 22 or newer. The package keeps dist/index.js as its Pi extension entrypoint. Existing trace names, raw-trace records, local Server v3 files, credentials, and volumes remain compatible. See Migration to 2.0 before upgrading. Features - Hierarchical Tracing : Maps user prompts to per-turn spans and nested tool executions. - Streaming Generation : Captures assistant responses as they stream. - LLM Metadata : Records model, provider, token usage, and cost fields when pricing is configured. - Tool Observability : Captures tool calls, sanitized arguments/results, and duration. - Session Correlation : Groups prompts from the same Pi session into one Langfuse session. - Setup Wizard : /langfuse-init configures either local self-hosted Langfuse or a remote/Langfuse Cloud endpoint. - Local-First Setup : Local mode creates a self-hosted localhost Langfuse stack with generated secrets. - Autostart : Once local init is complete, the extension starts Docker Compose on demand when tracing begins.","default_branch":null,"files":null,"tree":[],"storefront":"/r/edxeth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/edxeth/pi-langfuse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}