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

# AI SDKs

export const SdkGrid = ({items = [], arrow = true, cols = 3}) => {
  return <Columns className="sdk_grid" cols={cols}>
      {items.map(({title, href, icon, iconLight, iconDark, iconPrefix = ""}) => <div key={`${href}::${title}`} className="contents">
          <Card title={title} href={href} icon={`/assets/icons/${iconPrefix}light/${iconLight || icon}.svg`} horizontal className="block dark:hidden" arrow={arrow} />
          <Card title={title} href={href} icon={`/assets/icons/${iconPrefix}dark/${iconDark || icon}.svg`} horizontal className="hidden dark:block" arrow={arrow} />
        </div>)}
    </Columns>;
};

<View title="Developer" />

<View title="Federal docs" />

<View title="EU docs" />

This category contains documentation topics explaining the LaunchDarkly AI SDKs.

The LaunchDarkly AI SDKs are designed for use with AgentControl. They are in a pre-1.0 release and under active development.

<Note>
  **Python AI SDK is in open beta**

  The current Python and Node.js AI SDKs are higher-level, opinionated SDKs that reduce the setup required to call a model, run judges, and orchestrate agent graphs. They are in open beta. To get started, read the [Python AI SDK reference](/docs/sdk/ai/python) or [Node.js AI SDK reference](/docs/sdk/ai/node-js).

  We recommend using these SDKs for new applications. They are not drop-in replacements for the [Python AI SDK (Legacy)](/docs/sdk/ai/python-legacy) or [Node.js AI SDK (Legacy)](/docs/sdk/ai/node-js-legacy), which are now in maintenance mode. If you are updating an existing integration, read [Migrate from the legacy AI SDKs](/docs/sdk/ai/migration).
</Note>

## About AI SDKs

While LaunchDarkly server-side, client-side, and edge SDKs focus on interacting with feature flags, LaunchDarkly AI SDKs interact with [AgentControl configs](/docs/home/getting-started/vocabulary#agentcontrol-config). 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 config based on the [context](/docs/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 config.

### AI SDKs

<SdkGrid
  items={[
{ title: ".NET", href: "/sdk/ai/dotnet", icon: "dotnet" },
{ title: "Go", href: "/sdk/ai/go", icon: "go" },
{ title: "Node.js", href: "/sdk/ai/node-js", icon: "node" },
{ title: "Python", href: "/sdk/ai/python", icon: "python" },
{ title: "Ruby", href: "/sdk/ai/ruby", icon: "ruby" },
]}
/>

## Additional resources

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

<table>
  <thead>
    <tr>
      <th>SDK</th>
      <th>SDK API documentation</th>
      <th>GitHub repository</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>.NET AI SDK</td>
      <td>[.NET AI SDK API docs](https://launchdarkly.github.io/dotnet-core/pkgs/sdk/server-ai)</td>
      <td>[.NET AI SDK](https://github.com/launchdarkly/dotnet-core/tree/main/pkgs/sdk/server-ai/)</td>
    </tr>

    <tr>
      <td>Go AI SDK</td>
      <td>[Go AI SDK API docs](https://pkg.go.dev/github.com/launchdarkly/go-server-sdk-ai/ldai)</td>
      <td>[Go AI SDK](https://github.com/launchdarkly/go-server-sdk-ai)</td>
    </tr>

    <tr>
      <td>Node.js (server-side) AI SDK</td>
      <td>[Node.js (server-side) AI SDK API docs](https://launchdarkly.github.io/js-core/packages/sdk/server-ai/docs/)</td>
      <td>[node-server-sdk-ai](https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-ai/)</td>
    </tr>

    <tr>
      <td>Python AI SDK</td>
      <td>[Python AI SDK API docs](https://launchdarkly-python-sdk-ai.readthedocs.io)</td>
      <td>[tmp-launchdarkly-ai-sdk](https://github.com/launchdarkly-labs/tmp-launchdarkly-ai-sdk)</td>
    </tr>

    <tr>
      <td>Python AI SDK (Legacy)</td>
      <td>[Python AI SDK API docs](https://launchdarkly-python-sdk-ai.readthedocs.io)</td>
      <td>[Python AI SDK](https://github.com/launchdarkly/python-server-sdk-ai)</td>
    </tr>

    <tr>
      <td>Ruby AI SDK</td>
      <td>[Ruby AI SDK API docs](https://launchdarkly.github.io/ruby-server-sdk-ai/)</td>
      <td>[Ruby AI SDK](https://github.com/launchdarkly/ruby-server-sdk-ai)</td>
    </tr>
  </tbody>
</table>
