Back to directory

Terra

A Swift telemetry SDK that traces AI workflows such as inference calls, tool executions and streaming generations, and exports the traces to OpenTelemetry.

Visit website (opens in a new tab)christopherkarani.github.io
Terra

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.

More in AI evals

See all 269
  • Provenance gate

    github.com

    A deterministic authorization gateway that sits between an AI agent and its tools, tracing where each parameter of a side-effect call came from, and blocking the call or asking a human when the source does not check out.

  • JevBench

    benchmarkheaven.com

    A reproducible benchmark from Benchmark Heaven that ranks Jev-class typed decision models on intelligence, calibration, speed, and cost, with a published harness, scoring rules, and results.

  • A co-evolutionary adversarial red-teaming tool for AI agents that uses quality-diversity evolutionary search to autonomously breed edge-case scenarios, testing whether an agent with tool access can be made to hallucinate, deadlock or leak funds.