Community AI SDK
The official TypeScript SDK for integrating with Community AI.
Features
- Simple: Single
createClientfunction to get started - Type-safe: Full TypeScript support with strict types
- Rich: Supports images, tool calls, and full conversation history
- Portable: Works in Node.js, Bun, browsers, and edge runtimes
Quick Example
import { createClient } from '@anthropic/community-ai-sdk'
const client = createClient({
apiKey: 'caik_your_api_key'
})
const response = await client.chat({
externalUserId: 'user-123',
message: 'Hello!'
})
console.log(response.response)Getting Started
Ready to integrate? Check out the Installation guide.