iCreatAI News
Skip to content
Trending storyWatching

Traccia open-sources Agent runtime governance SDK

1 reports1 sources2 days agoUpdated

Understand this story

AI overview

Traccia has released an open-source Python SDK for observing, evaluating, and enforcing policies on AI Agents and LLM applications at runtime. It provides distributed tracing and token and cost statistics based on OpenTelemetry, and uses the @govern decorator to deny or rewrite LLM and tool calls according to policies such as Spend Cap, Model Boundary, and Loop Cap. The SDK has been published on PyPI, but runtime policy enforcement for @govern requires the Traccia platform: users need to create a workspace API key in Settings → API Keys. Users who only need tracing or self-hosting should use @observe instead, which only creates trace spans and can be used with any OTLP backend. If the agent ID, API key, or endpoint is missing, @govern throws a GovernanceConfigError (a subclass of AgentBlockedError) rather than continuing to run without governance.

AI overview based on source reports · Updated 2 days ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 4
  1. Hacker News AI
    Show HN: Traccia – Control what AI agents can do

    Traccia is an open-source, production-ready Python SDK built on OpenTelemetry that provides distributed tracing, token and cost tracking, evaluation, governance evidence, and runtime policy enforcement for AI agents and LLM applications. It offers framework-agnostic integrations for OpenAI Agents, LangGraph, CrewAI, and LangChain, plus runtime policies via @govern, passive guardrail detection, and offline evaluation with CI gating through the traccia eval CLI. It is available on PyPI and supports OTLP-compatible exporters such as Grafana Tempo, Jaeger, Zipkin, and SigNoz.

Activity for this story

Current comparable activity
3
Peak comparable activity
10Nov 4 05:00
Change in the past 24 hours
-50%

Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.