> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI SDKs

> This category contains documentation topics explaining LaunchDarkly's AI SDKs.

> For the complete documentation index, see [llms.txt](/llms.txt). For the full documentation snapshot, see [llms-full.txt](/llms-full.txt).

## Overview

This category contains documentation topics explaining LaunchDarkly's AI SDKs.

LaunchDarkly's AI SDKs are designed for use with LaunchDarkly's AI Configs. They are currently in a pre-1.0 release and under active development.

## About AI SDKs

While LaunchDarkly server-side, client-side, and edge SDKs focus on interacting with feature flags, the LaunchDarkly AI SDKs interact with [AI Configs](/home/getting-started/vocabulary#ai-config). AI Configs are resources that you create in LaunchDarkly and use to customize, test, and roll out new large language models (LLMs) within your generative AI applications.

You can use the AI SDKs to customize each AI Config based on the [context](/home/getting-started/vocabulary#context) that you provide. This means both the message and the model evaluation are specific to each end user, at runtime. You can also use the AI SDKs to record metrics from your AI model generation, including duration and tokens.

AI metrics and traces are recorded differently. AI metrics are captured through the AI SDK tracker methods. If you use the LaunchDarkly observability plugin to capture traces, run your model calls inside an active span so LaunchDarkly can associate traces with the evaluated AI Config.

<div>
  <section>
    ### AI SDKs

    <div>
      \[<img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/79f44c483f1d70b11c055f8ce13103203f295fcf51b6c2aeb758c6d01abc40b4/assets/icons/dark/dotnet.svg" alt=".NET logo" class="sdk-logo-dark" />

      <img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/d573855de861cb58739933d8daa3f848469bdc49fc5fb994dcd889930f35b73e/assets/icons/light/dotnet.svg" alt=".NET logo" class="sdk-logo-light" />

      .NET

      <Icon icon="fa-light fa-arrow-right" />]\(/sdk/ai/dotnet)

      \[<img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/61d97828914d8aefd9a04275b0a840d77f9d35e0243576931f33c2ff56cdf6e3/assets/icons/dark/go.svg" alt="Go logo" class="sdk-logo-dark" />

      <img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/bdc61f086f682100caaaf2b75ebae9d708fa82f3fa82aa879b5ad9ad6dec0296/assets/icons/light/go.svg" alt="Go logo" class="sdk-logo-light" />

      Go

      <Icon icon="fa-light fa-arrow-right" />]\(/sdk/ai/go)

      \[<img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/1f3aa47523e5da050a12172713cd6816a2c99d78368d5b7e40ae2f5f367a2ccb/assets/icons/dark/node.svg" alt="Node.js logo" class="sdk-logo-dark" />

      <img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/7c5a5862da85d519e99717357af3e9e922fe7fdc4d51bdd446068905a7a38868/assets/icons/light/node.svg" alt="Node.js logo" class="sdk-logo-light" />

      Node.js

      <Icon icon="fa-light fa-arrow-right" />]\(/sdk/ai/node-js)

      \[<img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/42f294cb0a1f4d7c56de47a258f2c44b89a2b44a0bf4e5db85888123cd1e0705/assets/icons/dark/python.svg" alt="Python logo" class="sdk-logo-dark" />

      <img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/7d3f53e8aaede35c99164edb18078f0e45b49c24d054f5103cad723e07456896/assets/icons/light/python.svg" alt="Python logo" class="sdk-logo-light" />

      Python

      <Icon icon="fa-light fa-arrow-right" />]\(/sdk/ai/python)

      \[<img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/60f734521773beb6832e23320f2a804988f3ce96494454d32444d16b432280d0/assets/icons/dark/ruby.svg" alt="Ruby logo" class="sdk-logo-dark" />

      <img src="https://files.buildwithfern.com/https://launchdarkly.docs.buildwithfern.com/docs/ef5fe9860d318de794fc9d6eaf9c81206bbda0b48081945f2694aa66bca1e085/assets/icons/light/ruby.svg" alt="Ruby logo" class="sdk-logo-light" />

      Ruby

      <Icon icon="fa-light fa-arrow-right" />]\(/sdk/ai/ruby)
    </div>
  </section>
</div>

## Additional resources

You can follow development or contribute on GitHub with the following links.

\| SDK

\| SDK API documentation

| GitHub repository |
| - |

\| ---

\| --- |
\| .NET AI SDK

\| [.NET AI SDK API docs](https://launchdarkly.github.io/dotnet-core/pkgs/sdk/server-ai)

\| [.NET AI SDK](https://github.com/launchdarkly/dotnet-core/tree/main/pkgs/sdk/server-ai/) |
\| Go AI SDK

\| [Go AI SDK API docs](https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/ldai)

\| [Go AI SDK](https://github.com/launchdarkly/go-server-sdk/tree/v7/ldai/) |
\| Node.js (server-side) AI SDK

\| [Node.js (server-side) AI SDK API docs](https://launchdarkly.github.io/js-core/packages/sdk/server-ai/docs/)

\| [node-server-sdk-ai](https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-ai/) |
\| Python AI SDK

\| [Python AI SDK API docs](https://launchdarkly-python-sdk-ai.readthedocs.io)

\| [Python AI SDK](https://github.com/launchdarkly/python-server-sdk-ai) |
\| Ruby AI SDK

\| [Ruby AI SDK API docs](https://launchdarkly.github.io/ruby-server-sdk-ai/)

\| [Ruby AI SDK](https://github.com/launchdarkly/ruby-server-sdk-ai) |
