Recursiv

One API key for everything you need to build AI-native apps

What is Recursiv?

Recursiv is a backend platform you access through a single SDK and API key. It gives you everything you need to build and run a complete application without managing any infrastructure.

It works for developers building in their own terminals and IDEs, and for AI agents (Claude Code, Cursor, Copilot) that build on your behalf.

What you get

CategoryWhat’s included
AI Agent BuilderCreate agents with streaming chat, persistent memory, tool execution and project-level permissions
Agent SwarmsCoordinate multiple agents with task orchestration, shared memory and autonomous workflows
Code SandboxesIsolated compute environments with git, terminal access, dev server previews and deploy
Managed PostgresAuto-provisioned databases per project. Query directly from the SDK with parameterized SQL
Auth + API KeysSign-up, sign-in, sessions, scoped API keys, rate limiting. White-label with your own OAuth credentials
Usage-Based BillingStripe integration with metering, credit balances and tier management. BYOK for your own Stripe account
Transactional EmailSend branded email through your own Resend account. Inbound email routing to agents
WebhooksReceive events from external services (Stripe, GitHub, custom). Handler code executes in your sandbox
Scheduled JobsServer-side cron jobs that run in your project sandbox. No backend required
File StorageBucket-based object storage with presigned URLs for uploads and downloads
Real-TimeWebSocket connections, live updates, SSE streaming
Social FeedsPosts, reactions, communities, profiles, follow graph
Chat + MessagingGroup conversations, direct messages, real-time delivery
DeployShip to a live URL in one call. Preview URLs, branch deploys, production
Self-HostingDeploy the entire platform on your own infrastructure with Docker Compose or Kubernetes

Quick start

1. Get your API key

Sign up at recursiv.io, create an organization, and grab your API key from org settings.

2. Install the SDK

$npm install @recursiv/sdk

3. Start building

1import { Recursiv } from '@recursiv/sdk';
2
3const r = new Recursiv(); // reads RECURSIV_API_KEY from env
4
5// Provision a database
6const { data: db } = await r.databases.ensure({
7 project_id: 'your-project-id',
8 name: 'main',
9});
10
11// Query it
12const { data: result } = await r.databases.query({
13 project_id: 'your-project-id',
14 sql: 'SELECT NOW() as time',
15});
16
17// Chat with an AI agent
18for await (const chunk of r.agents.chatStream('your-agent-id', {
19 message: 'Help me build a landing page',
20})) {
21 process.stdout.write(chunk.delta ?? '');
22}
23
24// Send an email
25await r.email.send({
26 to: 'user@example.com',
27 subject: 'Welcome',
28 html: '<h1>Welcome to the platform</h1>',
29});

Node.js >= 18. ESM only. Zero dependencies.

Choose your integration

TypeScript SDK

Full type safety, auto-retry with exponential backoff, SSE streaming, anonymous sandbox mode.

$npm install @recursiv/sdk

SDK Reference | Quickstart

MCP (Claude Code / Claude Desktop)

Native tool integration for AI coding assistants. Your agent gets access to all platform capabilities.

1{
2 "mcpServers": {
3 "recursiv": {
4 "command": "npx",
5 "args": ["-y", "@recursiv/mcp"],
6 "env": { "RECURSIV_API_KEY": "sk_live_xxx" }
7 }
8 }
9}

MCP Setup

REST API

Standard HTTP endpoints for any language. Full OpenAPI spec available.

$curl -X POST https://api.recursiv.io/api/v1/sandbox/try \
> -H 'Content-Type: application/json' \
> -d '{"code": "console.log(1+1)", "language": "typescript"}'

API Reference

Try without signing up

The anonymous sandbox lets you run code with zero setup:

1import { Recursiv } from '@recursiv/sdk';
2
3const r = new Recursiv({ anonymous: true });
4
5const { data } = await r.sandbox.execute({
6 code: 'console.log(1 + 1)',
7 language: 'typescript',
8});
9console.log(data.output); // "2\n"

No API key. No signup. 10 executions per day.

What do you want to build?

GoalWhat Recursiv gives youGuide
AI-native appDatabase + AI agent + storage + auth + billingBuild an AI-native app
Autonomous agentAgent with its own Postgres, memory and code executionBuild an autonomous agent
Social platformPosts, communities, chat, profiles, follow graphBuild a social platform
Code playgroundSandboxes, deploy, AI coding assistant, live previewBuild a code playground
White-label SaaSBYOK Stripe + branded auth + branded email + your infrastructureDeploy a white-label platform
Any app that needs a backendAuth + database + storage + billing + emailQuickstart

Pricing

Free to start with $5 in credits, no credit card required.

PlanPriceWhat you get
Free$0$5 promo credits, 5,000 API calls/day, 1 agent, 3 projects
Builder$49/mo + usage100K API calls/day, 10 agents, 25 projects, production deploys
Pro$299/mo + usageUnlimited agents, projects, and API calls. Priority support

View pricing details

Security

  • Isolated sandboxes for every agent and project
  • Scoped API keys with fine-grained permissions
  • Full audit trail on every action
  • Cost guardrails to prevent runaway usage
  • Self-hosting for full data control