---
title: sdk | CodeWeaver Docs
description: API reference for codeweaver.providers.config.sdk
url: "https://docs.knitli.com/api/providers/config/sdk"
type: static
generatedAt: "2026-04-17T17:21:08.867Z"
---

# sdk
       [Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[View in Markdown](/codeweaver/api/providers/config/sdk.md)       [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F)[Share on X](https://x.com/intent/tweet?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F&text=sdk)[Share on Threads](https://threads.net/intent/post?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F&text=sdk)[Share on Bluesky](https://bsky.app/intent/compose?text=sdk%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F)[Share on Reddit](https://reddit.com/submit?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F&title=sdk)[Share on Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F&t=sdk)[Share on Email](mailto:?subject=sdk&body=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F)[Share on WhatsApp](https://wa.me/?text=sdk%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F)[Share on Telegram](https://t.me/share/url?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fconfig%2Fsdk%2F&text=sdk)
# `codeweaver.providers.config.sdk`
[Section titled “codeweaver.providers.config.sdk”](#codeweaverprovidersconfigsdk)
The `sdk` package provides method and function-level configuration for each provider category (e.g. embedding).

This package contains submodules for different provider categories’ SDKs, such as `agent` and `data`, each defining configuration models and utilities specific to their function type. For each configuration model, there is a field or fields that offer provider-specific configurations for the primary method/function calls (for example, `EmbeddingConfig` has `embed` and `query` fields for arguments to the embedding and query methods, respectively, for that provider). Each provider implements a `typing.TypedDict` for these parameters, and a corresponding method to convert the config into the format expected by the provider’s SDK.

The abstraction isn’t perfect, as there’s not always a clear function-level mapping for every provider, but think of it this way: it’s SDK-level configuration for configurable details that aren’t part of the SDK client’s constructor (which are covered in `client_options` in the provider settings, see `codeweaver.providers.config.clients` package), but that are still relevant to how the provider is used in a function-level context.

Data providers differ the most, as functionally in CodeWeaver, they are tools. So the `data` submodule contains configuration models for data provider tools, and the corresponding conversion methods to the provider’s expected format for those tools (though we define the API for all current tools in `codeweaver.providers.data` package).