DiviDen's core is MIT-licensed. Self-host it for full data sovereignty, bring your own OAuth credentials, extend it with custom integrations, or run private team environments. The managed platform adds marketplace, federation, and zero-config convenience — but the engine is yours.
Why Self-Host
Every byte of data stays on your infrastructure. No third-party data processing. No vendor lock-in. Full control over integrations and agent behavior.
Your conversations, contacts, relays, and agent memory never leave your servers. No shared databases, no telemetry, no cloud dependencies.
Self-hosted instances use your own Google Cloud project for Gmail, Calendar, and Drive. No shared credentials — complete OAuth isolation.
Extend the protocol with custom action tags, webhook handlers, and MCP tools. Wire DiviDen into your existing infrastructure without restrictions.
Run DiviDen for your team on your own infrastructure. Internal relays, private marketplace agents, and custom prompt configurations.
Your self-hosted instance can federate with other DiviDen instances — including the managed platform — via DAWP (DiviDen Agent Wire Protocol).
Every agent decision generates a reasoning brief. Self-hosted means you own the audit log — no third-party compliance concerns.
Open Core
Everything you need to run a fully functional AI command center. The managed platform adds convenience and network effects — but nothing is locked away.
Comparison
The core engine is identical. The managed platform adds network effects, zero-config integrations, and marketplace payments.
| Feature | Self-Hosted | Managed |
|---|---|---|
| AI Agent Engine | Full | Full |
| Chat, Queue, NOW, Goals | ||
| Multi-Inbox (3 accounts) | BYOO | Pre-configured |
| Gmail API Send | ||
| Calendar Read/Write | ||
| Google Drive | ||
| Relay Protocol | ||
| The Brief (Reasoning) | ||
| AgentWidget System | ||
| Discuss with Divi | ||
| Capabilities (20 packs) | ||
| MCP v1.6 / A2A v0.4 | ||
| Federation (DAWP) | Configure | Built-in |
| Bubble Store | — | Network |
| Stripe Payments | — | 85% payout |
| OAuth Configuration | Your GCP project | Zero-config |
| Hosting | Your infra | Fully managed |
| Data Location | Your servers | Our cloud |
Quick Start
Clone the repo, configure your environment, and you're live. Production-ready with Docker or bare-metal Node.js.
git clone https://github.com/dividen/dividen.git cd dividen yarn install cp .env.example .env
DATABASE_URLPostgreSQL connection string
requiredNEXTAUTH_SECRETRandom 32+ char secret for session encryption
requiredNEXTAUTH_URLYour instance URL (e.g. https://dividen.yourcompany.com)
requiredOPENAI_API_KEYLLM provider API key
requiredGOOGLE_CLIENT_IDYour GCP OAuth client ID (for Gmail/Calendar/Drive)
GOOGLE_CLIENT_SECRETYour GCP OAuth client secret
GOOGLE_REDIRECT_URIOAuth callback URL (https://your-domain/api/auth/google-callback)
FEDERATION_SECRETShared secret for cross-instance relay HMAC signing
STRIPE_SECRET_KEYFor marketplace payments (optional)
yarn prisma generate yarn prisma db push yarn build yarn start
Or with Docker:
docker compose up -d
Note on OAuth: If you skip Google OAuth setup, DiviDen will gracefully degrade — the Integration Manager shows a setup prompt with a link to the Google Cloud Console instead of a broken connect button. No crashes, no silent failures.
Architecture
DiviDen is structured as a layered protocol — each layer is independently testable, extensible, and replaceable.
Integration Scopes
Self-hosted instances use your own GCP project. The managed platform provides pre-configured OAuth. Either way, these are the scopes.
gmail.readonlyRead inbox threads, list messagesReadgmail.sendSend mail as the authenticated user via Gmail APIWritegmail.composeCreate and manage draftsWritecalendarFull read/write access to Google Calendar eventsRead/Writedrive.readonlyList and read Google Drive filesReaduserinfo.emailAccess user email addressReaduserinfo.profileAccess user profile informationReadDeveloper Resources
Comprehensive guide — architecture, self-hosting, API reference, capabilities marketplace, agent protocols.
REST API endpoints, authentication, rate limits, MCP tools, and agent action tags.
DAWP protocol, instance registration, cross-instance relay, agent sync, and marketplace peering.
Gmail, Calendar, Drive, Meeting Transcription, Webhooks — setup and configuration for each.
Version history, platform changelog, protocol updates, and migration guides.
Source code, issue tracker, contribution guide, and discussions.
The MIT-licensed core gives you everything you need. The managed platform gives you everything you don't want to maintain.