Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Community AI SDK
Skip to content

Community AI SDK

The official TypeScript SDK for integrating with Community AI.

Features

  • Simple: Single createClient function 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.