i ideas / repo launcher
anthropics avatar

anthropics/anthropic-sdk-typescript

★ 2,175TypeScriptApache-2.074

Access to Anthropic's safety-first language model APIs in TypeScript

What it is

The Anthropic SDK for TypeScript provides access to the Claude API from server-side TypeScript or JavaScript applications. Full documentation is available at platform.claude.com/docs/en/api/sdks/typescript. Node.js 20 LTS or later (non-EOL) versions. Deno v1.28.0 or higher. Bun 1.0 or later. Cloudflare Workers. Vercel Edge Runtime. Jest 28 or greater with the "node" environment ("jsdom" is not supported at this time). Nitro v2.6 or greater. Web browsers: disabled by default to avoid exposing your secret API credentials (see API key best practices). Enable browser support by explicitly setting dangerouslyAllowBrowser to true.

When to use it

Reach for anthropic-sdk-typescript when you need to call, serve, run locally, fine-tune or chat with a language model — it's written in TypeScript and fits stacks tagged claude, llm.

Category
LLM & Inference
Also in
—
Stars
2,175
Forks
433
Last push
yesterday
Created
2023-01-30
Open issues
113
Website
npmjs.com/package/@anthropic-ai/sdk

Quick start

$ git clone https://github.com/anthropics/anthropic-sdk-typescript.git

Hand it to your AI

Read https://ideas.asveas.com/r/anthropics/anthropic-sdk-typescript.md and help me add anthropics/anthropic-sdk-typescript to my project. Explain the setup steps for my stack and show the minimal code to get it working.

Alternatives to anthropic-sdk-typescript

All LLM & Inference →

Pairs well with

FAQ

What is anthropic-sdk-typescript?

anthropics/anthropic-sdk-typescript is a LLM tool on GitHub: Access to Anthropic's safety-first language model APIs in TypeScript The Anthropic SDK for TypeScript provides access to the Claude API from server-side TypeScript or JavaScript applications.

When should I use anthropic-sdk-typescript?

Reach for anthropic-sdk-typescript when you need to call, serve, run locally, fine-tune or chat with a language model — it's written in TypeScript and fits stacks tagged claude, llm.

What are the best alternatives to anthropic-sdk-typescript?

Popular alternatives in LLM & Inference: ollama/ollama (187k★), huggingface/transformers (169k★), open-webui/open-webui (158k★), langflow-ai/langflow (157k★), vllm-project/vllm (96.8k★).

Is anthropic-sdk-typescript actively maintained?

anthropics/anthropic-sdk-typescript looks very actively maintained: the last push was yesterday (2026-11-10), with 2,175 stars and 113 open issues.

What license does anthropic-sdk-typescript use?

anthropics/anthropic-sdk-typescript is published under the Apache-2.0 license. Check the repository's LICENSE file before commercial use.