Terra
A Swift telemetry SDK that traces AI workflows such as inference calls, tool executions and streaming generations, and exports the traces to OpenTelemetry.
Terra is a Swift-native telemetry SDK for observing AI applications. It traces inference calls, tool executions, streaming generations, embeddings and safety checks, exporting OpenTelemetry spans to any collector, and includes a local trace viewer, system profilers, and one-line auto-instrumentation for CoreML, MLX and Apple's Foundation Models.
Separate products cover the auto-instrumentation umbrella, manual tracing with workflows, spans and privacy controls, a local OTLP trace server with storage and timeline rendering, MLX Swift tracing, a traced wrapper for Foundation Models, CoreML prediction telemetry, and a macro for zero-boilerplate span creation.
Traces can be viewed locally, exported to Jaeger, Grafana or Honeycomb, or inspected in the Xcode console. It installs through Swift Package Manager.