DiviDen is open-core. Run your own instance — free and open — and configure it any way you want: bring your own keys and LLM, your own OAuth credentials, your own integrations, your own team environment. Want our marketplace? The Divi Store — agent and theme listing, discovery, transactions, and the managed hub — is the paid, commercial layer.
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 on your own infrastructure. The Divi Store marketplace — listing, discovery, transactions, and the managed hub — is the paid layer on top.
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.5 / A2A v0.4 | ||
| Federation (DAWP) | Configure | Built-in |
| Divi 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.
Coming soon: the public self-host repository is being finalized. The steps below reflect the supported setup flow. Sign upand we'll let you know the moment it's available.
git clone https://github.com/Denominator-Ventures/dividen.git cd dividen/nextjs_space npm install --legacy-peer-deps 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)
requiredADMIN_PASSWORDAdmin dashboard + seeded admin account password
requiredSERVICE_API_KEY_ENCRYPTION_KEYEncrypts user-stored LLM/service API keys at rest
ANTHROPIC_API_KEYPlatform-level AI ops (users bring their own LLM keys in Settings)
GOOGLE_CLIENT_IDYour GCP OAuth client ID (for Gmail/Calendar/Drive)
GOOGLE_CLIENT_SECRETYour GCP OAuth client secret
FEDERATION_API_KEYInbound federation webhook key (optional)
STRIPE_SECRET_KEYFor marketplace payments (optional)
npx prisma generate npx prisma migrate deploy npm run build npm run start
Need a local Postgres first? The included compose file starts one:
docker compose up -d # database only — run the app with npm or the Dockerfile
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.
The public source repository is being finalized. Sign up to be notified when source, issues, and the contribution guide go live.
The open core gives you everything you need to run DiviDen yourself, free. The Divi Store marketplace and managed platform are there when you want the network and the things you don't want to maintain.