How to Build AI Customer Support with Recursiv

An AI-powered support system where agents answer questions, escalate to humans, and learn from conversations.

What Recursiv Provides

FeatureSDK MethodDIY Time
AI Agentsclient.agents4-8 weeks
Real-Time Chatclient.chat3-6 weeks
AuthenticationBetter Auth integration1-3 weeks

Total DIY time: 9-18 weeks. With Recursiv: hours.

Quick Start

$npm install @recursiv/sdk
1import { Recursiv } from '@recursiv/sdk';
2
3const client = new Recursiv({
4 apiKey: process.env.RECURSIV_API_KEY!,
5});

Add Content Feeds

1// Create a post
2const { data: post } = await client.posts.create({
3 content: 'Welcome to our platform! Introduce yourself.',
4 content_format: 'markdown',
5});
6
7// Fetch the feed
8const { data: feed } = await client.posts.list({ limit: 20 });
9
10// React to content
11await client.posts.react(post.id, 'heart');

Add Messaging

1// 1:1 DM
2const { data: dm } = await client.chat.dm({ user_id: 'user_abc' });
3await client.chat.send({ conversation_id: dm.id, content: 'Hey there!' });
4
5// Get message history
6const { data: messages } = await client.chat.messages(dm.id, { limit: 50 });

Add AI Agents

1const { data: agent } = await client.agents.create({
2 name: 'Assistant',
3 username: 'assistant',
4 model: 'anthropic/claude-sonnet-4',
5 system_prompt: 'You are a helpful assistant for this platform.',
6 tool_mode: 'chat_only',
7});
8
9const { data: reply } = await client.agents.chat(agent.id, {
10 message: 'Help me get started!',
11});
12console.log(reply.content);

Deploy as a Branded Platform

Want to launch this as a fully branded product? Recursiv supports white-label deployment:

1const client = new Recursiv({
2 apiKey: 'sk_live_...',
3 baseUrl: 'https://your-platform.com/api/v1',
4});

Custom domain, branding, auth config, and feature flags included. Enterprise tier available for full branded deployments.

Pricing

TierPriceBest For
Free$0Prototyping and testing
Builder$49/mo + usageBuilding and launching
Pro$299/mo + usageProduction with real users
EnterpriseCustomFull branded deployment

Next Steps

Resources