npxcnency-ux/pi-trace-extension
npxcnency-ux★ 15PythonLast synced: 2026-08-11
Langfuse-style trace viewer for pi-agent — local-first, zero-setup, single-file HTML
README excerpt
Experimental: Langfuse-style local trace viewer for pi-agent pi-trace-extension reorganizes a pi-agent session from a conversation view into an execution view. pi's own session.jsonl is message-oriented — replayable, but flat. This extension subscribes to pi's lifecycle events and rebuilds them as a tree of how the agent actually progressed — every LLM call, every tool execution, every sub-agent, with timing, token cost, and outcome — written to disk as it happens. Two artifacts are produced per session: - events.jsonl — machine-readable, append-only event stream - trace.html — a self-contained, single-file, Langfuse-style viewer (zero external assets, opens in any browser) Everything stays on your machine. pi's built-in session.jsonl pi-trace-extension Conversation view (messages in order) Execution view (steps + tools + sub-agents as a tree) One artifact ( session.jsonl ) Two artifacts: events.jsonl (machine) + trace.html (human) Per-message metadata Per-step latency, tokens, cost, stop reason, full LLM payload Tool calls inline as messages Tools as siblings of llm-generation inside a turn (Langfuse-style) No status semantics aborted / error / ok distinguished and color-coded Sub…
View full README on GitHub →Category
🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
★ 68,800
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 31,857
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,788