Skip to main content

SDKs

NexusAI provides official SDKs for JavaScript and Python, making it easy to integrate AI agents into your applications.

Available SDKs

JavaScript/Node.js SDK

Perfect for web applications, Node.js backends, and React Native mobile apps.

Python SDK

Ideal for data science, machine learning workflows, and Python backends.

Quick Comparison

FeatureJavaScriptPython
Installationnpm install nexusai-sdkpip install nexusai-sdk
Async Support✅ Promises/async-await✅ asyncio support
Type Safety✅ TypeScript definitions✅ Type hints
Bundle Size< 50KBN/A
PlatformsBrowser, Node.js, React NativePython 3.8+

Common Usage Pattern

Both SDKs follow the same API pattern:

JavaScript:

const { NexusAIClient } = require('nexusai-sdk');

const client = new NexusAIClient('https://nexus.bits-innovate.com');
const agent = await client.createAgent({
instructions: "You are a helpful assistant",
capabilities: ["text", "voice"]
});

Python:

from nexusai_sdk import NexusAIClient, AgentConfig

client = NexusAIClient('https://nexus.bits-innovate.com')
config = AgentConfig(
instructions="You are a helpful assistant",
capabilities=["text", "voice"]
)
agent = client.create_agent(config)

Next Steps