Skip to content

Events

kazen-event-schema is the versioned Pydantic contract shared by the SDKs and Agent FinOps, including its run receipts.

Terminal window
python -m pip install kazen-event-schema
from kazen_event_schema import KazenEvent, normalize_event_type, is_model_call
assert normalize_event_type("llm.call") == "model.call"
assert is_model_call("model.call")
  • SDKs emit what happened (model calls, denials, settlements)
  • FinOps accounts for spend and policy decisions
  • Run receipts explain each run with the same identifiers

Default telemetry does not include prompts, completions, streamed chunks, or tool argument bodies.

Source: github.com/kazenai-ai/kazen-event-schema