• Messages
  • Managed Agents
  • 관리자
Search...
⌘K
CLI, SDK 및 라이브러리
개요
ant CLI
빠른 시작인증 옵션CLI 사용하기스크립팅 및 자동화
클라이언트 SDK
미들웨어PythonTypeScriptC#GoJavaPHPRuby
라이브러리 및 통합
Apple Foundation ModelsOpenAI SDK 호환성
Log in
개요
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Solutions

  • AI agents
  • Code modernization
  • Coding
  • Customer support
  • Education
  • Financial services
  • Government
  • Life sciences

Partners

  • Amazon Bedrock
  • Google Cloud's Vertex AI

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Company

  • Anthropic
  • Careers
  • Economic Futures
  • Research
  • News
  • Responsible Scaling Policy
  • Security and compliance
  • Transparency

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Help and security

  • Availability
  • Status
  • Support
  • Discord

Terms and policies

  • Privacy policy
  • Responsible disclosure policy
  • Terms of service: Commercial
  • Terms of service: Consumer
  • Usage policy
CLI, SDK 및 라이브러리

CLI, SDK 및 라이브러리

Claude API로 빌드하기 위한 공식 도구: ant CLI, 7개 언어의 클라이언트 SDK, 프레임워크별 라이브러리.

Anthropic은 Claude API로 빌드하기 위한 세 가지 종류의 공식 도구를 제공합니다:

  • CLI: 셸 스크립팅 및 대화형 사용을 위한 ant 명령줄 도구입니다.
  • 클라이언트 SDK: Python, TypeScript, C#, Go, Java, PHP, Ruby를 위한 범용 Messages API 클라이언트입니다. 각 SDK는 관용적인 인터페이스, 타입 안전성, 그리고 스트리밍, 재시도, 오류 처리에 대한 기본 지원을 제공합니다.
  • 라이브러리 및 통합: Messages API를 직접 사용하는 대신 다른 프레임워크의 API 표면 내에서 Claude를 노출하는 패키지 및 호환성 레이어입니다.

전체 API 사양은 API 레퍼런스를 참조하세요.

CLI

ant CLI

셸 스크립팅, 타입 지정 플래그, 응답 변환

클라이언트 SDK

Python

동기 및 비동기 클라이언트, Pydantic 모델

TypeScript

Node.js, Deno, Bun 및 브라우저 지원

C#

.NET Standard 2.0+, IChatClient 통합

Go

컨텍스트 기반 취소, 함수형 옵션

Java

빌더 패턴, CompletableFuture 비동기

PHP

값 객체, 빌더 패턴

Ruby

Sorbet 타입, 스트리밍 헬퍼

라이브러리 및 통합

라이브러리 및 통합은 다른 프레임워크의 API 표면을 통해 Claude를 노출합니다. 이들은 범용 Messages API 클라이언트가 아닙니다.

Apple Foundation Models

Apple의 LanguageModelSession API를 위한 Swift 패키지

OpenAI SDK 호환성

OpenAI SDK 표면을 통해 Claude 사용

Was this page helpful?

  • CLI
  • 클라이언트 SDK
  • 라이브러리 및 통합