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.
Status
Section titled “Status”The SDK is being developed at github.com/opensearch-project/genai-observability-sdk-js.
In the meantime
Section titled “In the meantime”For JavaScript/TypeScript applications, you can use standard OpenTelemetry instrumentation with GenAI semantic conventions:
- Node.js OpenTelemetry guide - manual and auto-instrumentation setup
- Manual instrumentation - creating spans with
gen_ai.*attributes - GenAI semantic conventions - the OTel spec for AI attributes