GitHub
github.com › anthropics › anthropic-sdk-typescript
GitHub - anthropics/anthropic-sdk-typescript: Access to Anthropic's safety-first language model APIs in TypeScript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropics/anthropic-sdk-typescript
Starred by 1.4K users
Forked by 182 users
Languages TypeScript 96.8% | Shell 2.1% | JavaScript 1.1%
Videos
09:05
Build with Claude as a JavaScript developer - Anthropic API - YouTube
Anthropic typescript tool use - Dom does code #2
10:00
How to Get Started with Claude AI API using NodeJS console app ...
17:01
How openai and anthropic publish their SDK and you can too - YouTube
GitHub
github.com › anthropics › anthropic-bedrock-typescript
GitHub - anthropics/anthropic-bedrock-typescript
Starred by 25 users
Forked by 2 users
GitHub
github.com › anthropics › anthropic-sdk-typescript › blob › main › api.md
anthropic-sdk-typescript/api.md at main · anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropics/anthropic-sdk-typescript
Author anthropics
npm
npmjs.com › package › @anthropic-ai › sdk › v › 0.4.0
anthropic-ai/sdk
github.com/anthropics/anthropic-sdk-typescript · github.com/anthropics/anthropic-sdk-typescript#readme · 0.4.0 · MIT · 8.3 kB · 5 · 9 days ago · zak-anthropic · benjmann · nikhil-anthropic · ejlangev-ant · jv-anthropic · ollie-ant-2025 · packy-anthropic ·
» npm install @anthropic-ai/sdk
Published Nov 24, 2025
Version 0.4.0
GitHub
github.com › anthropics › anthropic-sdk-typescript › blob › main › CONTRIBUTING.md
anthropic-sdk-typescript/CONTRIBUTING.md at main · anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropic-sdk-typescript/CONTRIBUTING.md at main · anthropics/anthropic-sdk-typescript
Author anthropics
GitHub
github.com › anthropics › anthropic-sdk-typescript › blob › main › src › index.ts
anthropic-sdk-typescript/src/index.ts at main · anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropic-sdk-typescript/src/index.ts at main · anthropics/anthropic-sdk-typescript
Author anthropics
GitHub
github.com › anthropics › anthropic-sdk-typescript › releases
Releases · anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - Releases · anthropics/anthropic-sdk-typescript
Author anthropics
SourceForge
sourceforge.net › projects › anthropic-sdk-types.mirror
Anthropic SDK TypeScript download | SourceForge.net
This is an exact mirror of the Anthropic SDK TypeScript project, hosted at https://github.com/anthropics/anthropic-sdk-typescript. SourceForge is not affiliated with Anthropic SDK TypeScript.
Claude
docs.claude.com › en › api › client-sdks
Client SDKs - Claude Docs
This page includes brief installation instructions and links to the open-source GitHub repositories for Anthropic’s Client SDKs.
GitHub
github.com › anthropics › anthropic-sdk-typescript › blob › main › examples › streaming.ts
anthropic-sdk-typescript/examples/streaming.ts at main · anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropic-sdk-typescript/examples/streaming.ts at main · anthropics/anthropic-sdk-typescript
Author anthropics
GitHub
github.com › anthropics › claude-agent-sdk-typescript
GitHub - anthropics/claude-agent-sdk-typescript
Starred by 513 users
Forked by 54 users
GitHub
github.com › anthropics › anthropic-sdk-typescript › issues
anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropics/anthropic-sdk-typescript
Author anthropics
npm
npmjs.com › package › @anthropic-ai › bedrock-sdk
anthropic-ai/bedrock-sdk
For more details on how to use the SDK, see the README.md for the main Anthropic SDK which this library extends. TypeScript >= 4.5 is supported.
» npm install @anthropic-ai/bedrock-sdk
Published Nov 18, 2025
Version 0.26.0
Author Anthropic
Claude Docs
platform.claude.com › docs › en › api › client-sdks
Client SDKs - Claude Docs
For basic usage instructions, see ... SDK's GitHub repository. Additional configuration is needed to use Anthropic's Client SDKs through a partner platform. If you are using Amazon Bedrock, see this guide; if you are using Google Cloud Vertex AI, see this guide; if you are using Microsoft Foundry, see this guide. ... While this library is in TypeScript, it can also ...
GitHub
github.com › anthropics › anthropic-sdk-typescript › blob › main › README.md
anthropic-sdk-typescript/README.md at main · anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript - anthropic-sdk-typescript/README.md at main · anthropics/anthropic-sdk-typescript
Author anthropics
Stack Overflow
stackoverflow.com › questions › 78504924 › using-typescript-sdk-in-javascript
Using typescript SDK in Javascript - Stack Overflow
My guess is that I am not properly handling typescript SDK from JS, but I would appreciated any hint how to move forward. HTML code: <html> <head> </head> <body> <script type="module" src="js/ai.js"></script> </body> </html> JS code: import Anthropic from '/@anthropic-ai/sdk'; const anthropic = new Anthropic({ apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted }); async function main() { const message = await anthropic.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-3-opus-20240229', }); console.log(message.content); } main(); EDIT: I am using MAMP to simulate the server for this proof of concept study.
GitHub
github.com › anthropics › anthropic-sdk-typescript › issues › 816
Document how to produce structured output · Issue #816 · anthropics/anthropic-sdk-typescript
September 17, 2025 - import { anthropic } from '@ai-sdk/anthropic'; import { generateObject } from 'ai'; import { z } from 'zod'; const { object } = await generateObject({ model: anthropic('claude-opus-4-20250514'), prompt: 'What are the ingredients for a vegetarian lasagna recipe for 4 people?', schema: z.object({ ingredients: z.array(z.string()), }), }); console.dir(object, { depth: null });
Published Sep 17, 2025
Restack
restack.io › p › anthropic-answer-sdk-typescript-cat-ai
Anthropic SDK Typescript Overview | Restackio
Handling API responses in TypeScript requires careful consideration of parsing, type safety, and error management. By following these practices, you can build applications that interact with the Anthropic API reliably and efficiently. ... Explore Anthropic's GitHub for cutting-edge AI tools and resources, enhancing your development experience. ... Explore the Anthropic JS SDK ...