# Client SDK

> A kit of code that calls an AI model's API for you, in your own language.

**Field:** Software Development  
**Category:** AI Engineering  
**Also known as:** LLM Client SDK, Model Client Library, AI Client SDK

## Think of it like

It is like a TV remote. You press one button, and it sends the right signal for you.

## Definition

A client SDK is a code library that calls a model's web API for you. You call a plain function in your own language, such as Python. The library builds the request, adds your key and sends it. It tries again when a call fails, and it can stream the reply as it comes. You still decide what happens next, one call at a time.

## Example

Lucy installs the anthropic package for Python. One short function call sends her question to Claude. The answer comes back ready to use.

## Why it matters

It saves you from writing web requests by hand. Keys, retries and errors are handled, so fewer things break.

## Common mistake

Expecting it to run tools on its own. It sends one request and gives back one reply. Running the tool and calling again is up to your code.

## Three principles

- **Your own language.** Plain functions, not raw web calls.
- **Care built in.** Keys, retries and streaming.
- **You run the loop.** One call, one reply.

## Related terms

- [LLM API](https://learn.benibix.com/term/development/llm-api)
- [Agent SDK](https://learn.benibix.com/term/development/agent-sdk)
- [Anthropic SDK](https://learn.benibix.com/term/development/anthropic-sdk)
- [OpenAI SDK](https://learn.benibix.com/term/development/openai-sdk)
- [Google Gen AI SDK](https://learn.benibix.com/term/development/google-gen-ai-sdk)
- [Software Development Kit (SDK)](https://learn.benibix.com/term/development/sdk)
- [HTTP Client](https://learn.benibix.com/term/development/http-client)

## Told apart from

- [Client SDK vs Agent SDK](https://learn.benibix.com/compare/client-sdk-vs-agent-sdk): People think an agent SDK is just a client SDK with more features. It is a different job. A client SDK sends one request and hands back one reply. Your code reads it, runs any tool the model asked for, and calls again. An agent SDK runs that whole loop for you, tools and all, until the task is done.
- [LLM API vs Client SDK](https://learn.benibix.com/compare/llm-api-vs-client-sdk): People think the SDK and the API are the same thing, because both carry the model maker's name. The API is the service on the model maker's servers. It takes web requests and sends back replies. The client SDK is a code library on your side. It builds those web requests for you, so you call a function instead.

![Your code calls one function in the client SDK. The SDK adds the key, builds the web request and sends it to the model's API. The reply comes back through the SDK as a plain object. A dashed arrow from the reply back to your code is labelled: what happens next is your code's job.](https://learn.benibix.com/diagrams/dev-client-sdk.svg)

---

Source: https://learn.benibix.com/term/development/client-sdk
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
