Build with the OctaDezx AI agent

Build with OctaDezx: a headless AI agent API with streaming, messenger SDKs for web, React and React Native, Node and Python server SDKs, identity verification, webhooks and MCP.

Status: available (v0.1). OctaDezx gives developers three ways to use the same AI customer support agent that answers on WhatsApp, Instagram, email, voice and the web: messenger SDKs that embed the chat UI in a site or app, server SDKs for Node.js and Python, and a headless Agent API that returns the agent's checked reply for your own UI, optionally streamed. All three share one brain, so escalation, orders, bookings, refund requests, the brand safety check and the multi-step inquiry engine behave the same, and every conversation lands in the same inbox. The JavaScript, React, React Native and Node.js SDKs are published on npm at version 0.1 under the MIT license, and the Agent API and identity verification are live at https://api.octadezx.com/v1. The Python SDK is in early access, and native iOS and Android SDKs are on the roadmap.

Three ways to build

What it isWhere it runsAuthStatus
Messenger SDKsThe pre-built chat UI in your site or app. Identify users, track events, register push tokens.Browser, React, React NativeBusiness ID, plus a signed user token for signed-in usersAvailable (v0.1) on npm
Server SDKsTyped clients for the API. Sign user tokens, verify webhooks.Node.js 20+, Python 3.9+API key (odx_...)Node: available (v0.1) on npm. Python: early access
Headless Agent APIThe agent without our UI. Send a message, get the checked reply, render it yourself, optionally streamed.Your backendAPI key (odx_...)Available (v0.1)
Native iOS and Android SDKsSwift Package and Kotlin library mirroring the web and React Native API.iOS 15+, Android minSdk 24Business ID and signed user tokenRoadmap

Headless Agent API (available (v0.1))

Start a conversation with POST /agent/start, continue it with POST /agent/reply, and read it with GET /agent/conversations/:id. Each turn returns a status (answered, needs_input or handed_off), the reply and any actions the agent filed, read from the database rather than from the reply text. Send Accept: text/event-stream to receive the turn as Server-Sent Events.

Start a conversation

curl -X POST "$BASE/agent/start" \
  -H "Authorization: Bearer $OCTADEZX_API_KEY" -H "Content-Type: application/json" \
  -d '{"message":"Where is my order 1001?","user":{"id":"u_123","email":"jo@example.com"}}'

Messenger SDKs (available (v0.1))

The script tag puts the hosted chat on any website today. The @octadezx/messenger package adds boot, show, hide, attributes, events and unread counts, with React bindings, and @octadezx/messenger-react-native shows the same chat in a modal with push token registration. Native iOS and Android SDKs are planned with the same surface.

Script tag (available)

<script src="https://octadezx.com/widget.js" data-business-id="YOUR-BUSINESS-ID" async></script>

Server SDKs (available (v0.1))

@octadezx/sdk for Node.js and TypeScript and the octadezx package for Python wrap the Agent API with streaming, the original message endpoints, push device registration, signed user tokens and webhook verification. Turns are never retried automatically, because the agent may already have acted.

Identity, webhooks, MCP and limits

  • Identity verification: your server signs a short-lived user token with an identity secret, so the messenger can treat a signed-in user as that user. Available (v0.1).
  • Webhooks: HMAC-SHA256 signed events with an outbox and retries, including chat.escalated and order.created. Available, including the conversation.* events from the Agent API.
  • MCP server: a standard Model Context Protocol server at octadezx.com/mcp for operators who run support from an AI assistant. Available.
  • Rate limits: 60 requests a minute per API key, 30 AI turns a minute per key on the Agent API, with documented error codes.

Keys and secrets

Base URL: https://api.octadezx.com/v1

ValueLooks likeWhere it livesSafe in a browser or app?
Business IDa UUIDDashboard > Integrations > Website widgetYes
API keyodx_...Dashboard > Settings > API keys, shown onceNo
Identity secretodxis_...Issued per business, shown onceNo
User tokenHS256 JWT, at most 24 hoursSigned per user on your serverYes, for that user only
User hash (older)64 hex charactersComputed per user on your server, never expiresYes, for that user only
Webhook signing secretper endpointDashboard > Settings > WebhooksNo

Install

@octadezx/sdk (available, v0.1.0, MIT license)

Server SDK for Node.js 20 and newer: Agent API with streaming, signed user tokens, webhook verification and devices.

npm install @octadezx/sdk

@octadezx/sdk on npm

@octadezx/messenger (available, v0.1.0, MIT license)

Web messenger SDK, with React bindings at @octadezx/messenger/react.

npm install @octadezx/messenger

@octadezx/messenger on npm

@octadezx/messenger-react-native (available, v0.1.0, MIT license)

React Native messenger backed by react-native-webview, with push token registration.

npm install @octadezx/messenger-react-native react-native-webview

Peer dependencies: react, react-native and react-native-webview. On iOS, run pod install after installing.

@octadezx/messenger-react-native on npm

@octadezx/adk (available, v0.1.0, MIT license)

Google ADK adapter for the OctaDezx conversation API.

npm install @octadezx/adk @octadezx/sdk

Peer dependency: @octadezx/sdk. See the package README for the Google ADK version it is pinned to.

@octadezx/adk on npm

Questions or a larger rollout? Contact us (kevin@octadezx.com).

Python SDK: early access (early access)

The Python SDK is available for early access. It is built and tested but not on PyPI yet; it is coming to PyPI. Until then, contact us and we will send the package and the setup steps. Contact us for early access (kevin@octadezx.com).

Frequently asked questions

Keep reading

OctaDezx home · Pricing · Blog · Start free trial