Documentation
Everything you need to integrate Nexus AI into your product stack.
Nexus AI provides a fully managed API and embeddable widget to deploy autonomous AI agents on your platform within minutes. Follow the steps below to get your first AI agent live.
# Install the Nexus SDK
npm install @nexus-ai/sdk
All API requests must be authenticated using your secret API key. Your key can be found in the Dashboard under Settings → API Keys. Never expose your secret key in client-side code.
# Initialize with your secret key
import { NexusClient } from '@nexus-ai/sdk';
const client = new NexusClient({ apiKey: process.env.NEXUS_SECRET_KEY });
The Nexus Widget is a fully customizable, embeddable chat interface. Add the following script tag to your HTML to deploy your AI agent instantly.
The Nexus API is RESTful and all responses are JSON-encoded. The base URL for all API requests is https://api.nexus-ai.com/v1.
/chat/completionsSend a message and receive an AI response/agentsList all deployed agents in your workspace/agentsCreate and deploy a new AI agent/analytics/summaryFetch aggregated performance metricsStarter plans are rate-limited to 100 requests per minute. Growth plans receive 1,000 requests per minute. Enterprise plans have custom rate limits based on your agreement. All rate limit information is returned in the response headers as X-RateLimit-Remaining.