Most AI observability tools only support Python and TypeScript. That's a problem for banks adding LLM features to Java backends, infrastructure teams building AI tooling in Go, and startups shipping products in Ruby or C#. These developers are left with two options: build custom instrumentation from scratch, or bolt on generic tracing tools that don't understand AI-specific concepts like token usage, costs, or prompt/completion pairs.
We've heard this directly from customers, so we built native SDKs for Java, Go, Ruby, and C#, all built on OpenTelemetry for vendor-neutral observability.
Every SDK provides:
Each SDK is open source and available now:
Here's how to instrument an OpenAI client in each language:
import (
traceopenai "github.com/braintrustdata/braintrust-sdk-go/trace/contrib/openai"
"github.com/openai/openai-go"
"github.com/openai/openai-go/option"
)
// Wrap your OpenAI client with automatic tracing
client := openai.NewClient(
option.WithMiddleware(traceopenai.NewMiddleware()),
)
// Use the client as normal - all calls automatically traced
resp, _ := client.Chat.Completions.New(ctx, openai.ChatCompletionNewParams{
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Explain quantum computing"),
},
Model: openai.ChatModelGPT4oMini,
})
Check out the README for each SDK for full documentation and examples. If you have questions or run into issues, reach out on Discord.
Create an account or use agent setup to start building today.