{"repo":"christopherkarani/Terra","free":true,"listed":false,"github":"https://github.com/christopherkarani/Terra","clone":"git clone https://github.com/christopherkarani/Terra.git","description":"Debug On Device AI, Capture Hardware state and AI Output","language":"Swift","stars":17,"topics":["zig","ai","apple","coreml","ios","llm","macos","mlx","observability","on-device-ai"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Terra Observe your AI app Terra is a Swift-native telemetry SDK that traces AI workflows — inference calls, tool executions, streaming generations, embeddings, and safety checks — and sends them to OpenTelemetry. It includes a built-in local trace viewer, system profilers, and one-line auto-instrumentation for CoreML, MLX, and Foundation Models. Terra Allows you to debug why hardware state affects model inference What you get: OpenTelemetry spans exported to any collector, a local trace server you can browse, and zero-code auto-instrumentation for Apple's AI stack. --- What Terra Does AI apps are black boxes. You fire off a prompt, a tool runs, a stream chunks back — but you can't see the latency, token counts, tool call sequences, or failures without sprinkling print statements everywhere. Terra turns that into structured telemetry: Every workflow produces an OpenTelemetry trace. View traces locally with TerraTraceKit , export them to Jaeger/Grafana/Honeycomb, or inspect them in the Xcode console. --- Installation Swift Package Manager Add Terra to your Package.swift : Or in Xcode: File → Add Package Dependencies → https://github.com/earendil-works/terra.git Products Product What to import Purpose --------- --------------- --------- Terra import Terra Auto-instrumentation umbrella. Start here. TerraCore import TerraCore Manual tracing, workflows, spans, privacy controls. TerraTraceKit import TerraTraceKit Local OTLP server, trace storage, timeline rendering. TerraMLX import ","default_branch":null,"files":null,"tree":[],"storefront":"/r/christopherkarani","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/christopherkarani/Terra/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}