Urgent.News

What's breaking now, across thousands of outlets.

Tech

Causal Lineage and Session Replay with ZizkaDB

If you've shipped an LLM agent to production, you know the failure mode: a customer says the bot gave a wrong answer, you open your logs, and you see a wall of spans that tell you what happened but not why. The prompt changed three deploys ago. The agent skipped a tool call. A retrieval step pulled a stale document. Nothing in a flat trace tells you the causal chain that led to the bad output.…

ZizkaDB is an open-source operational database designed to address the challenge of understanding the causal chain in LLM agents. Unlike traditional tracing tools that provide a flat list of spans, ZizkaDB stores agent decisions as a graph where each event points to its cause. This allows for causal lineage, enabling developers to trace the reason behind a particular output by following the parent_id links.

Additionally, ZizkaDB offers session replay functionality, allowing developers to observe the entire session from start to finish, which aids in drift detection against a baseline. The database can be self-hosted with a simple script, and the Python SDK provides a stateless way to log events with parent links, establishing the causal relationships between events.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Developer Experience Improves with Go's Faster Compile Times and Ease of Use Compared to Swift

Introduction: The Shift from Swift to Go – A Developer’s Awakening For years, developers like the one quoted above have grappled with the mechanical inefficiencies of Swift’s compilation process.

  • Go's single-pass compilation model reduces overhead and speeds up feedback loops
  • Go's opinionated design philosophy minimizes compilation pipeline complexities
  • Swift's ecosystem offers advanced features but introduces setup complexity

More from Sunday 23 August →