Skip to content

TypeScript SDK

The JavaScript / TypeScript GenAI Observability SDK is under active development. It will provide the same capabilities as the Python SDK: one-line OTEL setup, trace wrappers for agents and tools, GenAI semantic convention attributes, evaluation scoring, and auto-instrumentation for LLM providers.

The SDK is being developed at github.com/opensearch-project/genai-observability-sdk-js.

For JavaScript/TypeScript applications, you can use standard OpenTelemetry instrumentation with GenAI semantic conventions: