Official SDKs & Libraries
Build with Assisters in your favorite programming language. Official SDKs, embed libraries, and code examples.
Available SDKs
JavaScript / TypeScript
Official Node.js and browser SDK with full TypeScript support.
npm install @assisters/sdkPython
Official Python SDK for backend and data science applications.
pip install assistersEmbed Widget
Zero-config chat widget for any website. No build step required.
<script src="cdn.assisters.io/embed.js">Quick Start: JavaScript SDK
Install the SDK and start chatting with your Assister in minutes:
// Install
npm install @assisters/sdk
// Import and initialize
import { AssistersClient } from '@assisters/sdk';
const client = new AssistersClient({
apiKey: 'YOUR_API_KEY'
});
// Send a message
const response = await client.chat({
assisterId: 'your-assister-id',
message: 'Hello, how can you help me today?'
});
console.log(response.message);Quick Start: Python SDK
Use Assisters in your Python applications:
# Install
pip install assisters
# Import and initialize
from assisters import AssistersClient
client = AssistersClient(api_key='YOUR_API_KEY')
# Send a message
response = client.chat(
assister_id='your-assister-id',
message='Hello, how can you help me today?'
)
print(response.message)SDK Features
Type Safety
Full TypeScript definitions and Python type hints for improved developer experience.
Async Support
Built-in async/await support for non-blocking API calls and better performance.
Error Handling
Comprehensive error types and automatic retry logic for robust applications.
Streaming
Real-time streaming responses for faster user experiences and better UX.
Embed Widget Setup
Add a chat widget to any website with simple HTML:
<!-- Add before closing </body> tag -->
<script src="https://cdn.assisters.io/embed.js"></script>
<script>
Assisters.init({
assisterId: 'your-assister-id',
position: 'bottom-right',
primaryColor: '#3b82f6',
greeting: 'Hi! How can I help you today?'
});
</script>Customization options:
position: bottom-right, bottom-left, top-right, top-leftprimaryColor: Hex color code for buttons and accentsgreeting: Initial message shown to userstheme: light, dark, or auto (follows system)
Start Building with SDKs
Choose your preferred language and integrate Assisters in minutes.