---
title: SDKs, CLI und Bibliotheken
url: https://platform.claude.com/docs/de/cli-sdks-libraries/overview
description: "Offizielle Tools zum Entwickeln mit der Claude API: Client-SDKs in sieben Sprachen, die ant CLI und Framework-spezifische Bibliotheken."
---

Anthropic bietet drei Arten offizieller Tools zum Entwickeln mit der Claude API:

* **CLI:** Das Kommandozeilen-Tool `ant` für Shell-Skripting und interaktive Nutzung.
* **Client-SDKs:** Universelle Messages-API-Clients für Python, TypeScript, C#, Go, Java, PHP und Ruby. Jedes SDK bietet idiomatische Schnittstellen, Typsicherheit und integrierte Unterstützung für Streaming, Wiederholungsversuche, Fehlerbehandlung und [OpenTelemetry-Tracing](https://platform.claude.com/docs/de/manage-claude/opentelemetry/sdk).
* **Bibliotheken und Integrationen:** Pakete und Kompatibilitätsschichten, die Claude innerhalb der API-Oberfläche eines anderen Frameworks bereitstellen, statt direkt über die Messages API.

<Info>
  Die vollständige API-Spezifikation findest du in der [API-Referenz](https://platform.claude.com/docs/de/api/overview).
</Info>

## CLI

<CardGroup cols={3}>
  <Card title="ant CLI" href="https://platform.claude.com/docs/de/cli-sdks-libraries/cli/quickstart">
    Shell-Skripting, typisierte Flags, Antworttransformationen
  </Card>
</CardGroup>

## Client-SDKs

<CardGroup cols={3}>
  <Card title="Python" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/python">
    Synchrone und asynchrone Clients, Pydantic-Modelle
  </Card>

  <Card title="TypeScript" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/typescript">
    Unterstützung für Node.js, Deno, Bun und Browser
  </Card>

  <Card title="C#" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/csharp">
    .NET Standard 2.0+, IChatClient-Integration
  </Card>

  <Card title="Go" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/go">
    Kontextbasierter Abbruch, funktionale Optionen
  </Card>

  <Card title="Java" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/java">
    Builder-Pattern, asynchron mit CompletableFuture
  </Card>

  <Card title="PHP" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/php">
    Value Objects, Builder-Pattern
  </Card>

  <Card title="Ruby" href="https://platform.claude.com/docs/de/cli-sdks-libraries/sdks/ruby">
    Sorbet-Typen, Streaming-Helfer
  </Card>
</CardGroup>

Jede Hauptversion eines Client-SDKs sendet standardmäßig eine [API-Version](https://platform.claude.com/docs/de/api/versioning), und mit jeder neuen API-Version erscheint eine neue Hauptversion. Informationen zum Wechsel auf `2026-10-21` findest du unter [Upgrade auf 2026-10-21](https://platform.claude.com/docs/de/api/migration-2026-10-21#upgrade).

## Neueste Versionen

| Tool       | Neueste Version | Paket                                                                                                 |
| ---------- | --------------- | ----------------------------------------------------------------------------------------------------- |
| ant CLI    | `2.3.0`         | [`github.com/anthropics/anthropic-cli`](https://github.com/anthropics/anthropic-cli/releases)         |
| Python     | `2.3.0`         | [`anthropic`](https://pypi.org/project/anthropic/)                                                    |
| TypeScript | `1.3.0`         | [`@anthropic-ai/sdk`](https://www.npmjs.com/package/@anthropic-ai/sdk)                                |
| C#         | `13.3.0`        | [`Anthropic`](https://www.nuget.org/packages/Anthropic)                                               |
| Go         | `2.3.0`         | [`github.com/anthropics/anthropic-sdk-go`](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go) |
| Java       | `3.3.0`         | [`com.anthropic:anthropic-java`](https://central.sonatype.com/artifact/com.anthropic/anthropic-java)  |
| PHP        | `1.3.0`         | [`anthropic-ai/sdk`](https://packagist.org/packages/anthropic-ai/sdk)                                 |
| Ruby       | `2.3.0`         | [`anthropic`](https://rubygems.org/gems/anthropic)                                                    |

Dieselben Versionen sind als JSON unter `https://platform.claude.com/docs/sdk-versions.json` verfügbar.

## Bibliotheken und Integrationen

Bibliotheken und Integrationen stellen Claude über die API-Oberfläche eines anderen Frameworks bereit. Sie sind keine universellen Messages-API-Clients.

<CardGroup cols={3}>
  <Card title="Apple Foundation Models" href="https://platform.claude.com/docs/de/cli-sdks-libraries/libraries/apple-foundation-models">
    Swift-Paket für Apples `LanguageModelSession`-API
  </Card>

  <Card title="OpenAI-SDK-Kompatibilität" href="https://platform.claude.com/docs/de/cli-sdks-libraries/libraries/openai-sdk">
    Claude über die Oberfläche des OpenAI SDK verwenden
  </Card>
</CardGroup>

## Agenten entwickeln oder Claude Code verwenden?

Die CLI, die Client-SDKs und die Bibliotheken dienen dazu, die Claude API selbst aufzurufen: Du sendest jede Anfrage und verarbeitest jede Antwort. Claude Code, das Claude Agent SDK und Claude Managed Agents arbeiten auf einer höheren Ebene und stellen die Agentenschleife, die Tool-Ausführung und die Laufzeitumgebung bereit.

<CardGroup cols={3}>
  <Card title="Claude Code" href="https://code.claude.com/docs/en/overview">
    Agentisches Coding-Tool, um Programmieraufgaben an Claude zu delegieren
  </Card>

  <Card title="Claude Agent SDK" href="https://code.claude.com/docs/en/agent-sdk/overview">
    Agenten entwickeln, die in einem von dir betriebenen Prozess laufen
  </Card>

  <Card title="Claude Managed Agents" href="https://platform.claude.com/docs/de/managed-agents/overview">
    Agenten in der verwalteten Infrastruktur von Anthropic ausführen
  </Card>
</CardGroup>
