shikumi-trace: Hierarchical tracing, observability, and deterministic replay for shikumi (EP-7)

[ ai, bsd3, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Hierarchical (nested) tracing and deterministic offline replay for shikumi. Running a program inside the Trace effect produces a tree of spans (program module combinator / LM-call), captured by interposing on EP-1's LLM effect — so each provider call becomes a leaf span carrying model, latency, tokens, cost, and the EP-6 content-addressed cache key. The tree pretty-prints to the terminal and serializes to a stable JSON trace file; runLLMReplay then re-runs the same program with the network disabled, serving every call from the recording (and raising a precise ReplayDivergence for any unrecorded call).

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies aeson, baikai, base (>=4.20 && <5), bytestring, containers, directory, effectful, generic-lens, lens (>=5.3 && <5.4), scientific, shikumi (>=0.1.0.0 && <0.2), shikumi-cache (>=0.1.0.0 && <0.2), shikumi-trace (>=0.1.0.0 && <0.2), text (>=2.1 && <2.2), time, vector [details]
License BSD-3-Clause
Author Nadeem Bitar
Maintainer nadeem@gmail.com
Uploaded by shinzui at 2026-06-13T15:21:51Z
Category AI
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Executables shikumi-trace-demo
Downloads 3 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]