Twenty — Open-Source AI CRM (Salesforce Alternative)
Modern open-source CRM with AI features. Custom objects, kanban views, email sync, workflow automation. NestJS + React + PostgreSQL. AGPL-3.0, 43,700+ stars.
What it is
Twenty is a modern open-source CRM built with NestJS, React, and PostgreSQL. It provides custom objects, kanban views, email synchronization, and workflow automation in a clean interface that prioritizes developer experience. The project is released under AGPL-3.0 and has 43,700+ GitHub stars.
Twenty targets teams that need CRM functionality without the complexity and cost of Salesforce. It is self-hostable, giving you full control over your data, and offers a hosted version at app.twenty.com for teams that prefer managed infrastructure.
How it saves time or tokens
Twenty eliminates CRM licensing costs while providing the core features most sales teams actually use. Custom objects let you model your data without paying for schema extensions. The built-in workflow automation handles follow-up sequences, deal stage transitions, and notification triggers without third-party integration tools. Self-hosting on your own PostgreSQL instance means your customer data stays within your infrastructure boundary.
How to use
- Try the hosted version at app.twenty.com or self-host with Docker:
git clone https://github.com/twentyhq/twenty.git
cd twenty
docker compose up -d
- Access the web interface and create your workspace.
- Set up your pipeline stages, import contacts from CSV or existing CRM exports, and configure email sync to start managing relationships.
Example
Custom object creation through the Twenty API:
// Create a custom object for tracking partnerships
const response = await fetch('http://localhost:3000/api/objects', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'Partnership',
fields: [
{ name: 'company', type: 'text' },
{ name: 'status', type: 'select', options: ['active', 'pending', 'closed'] },
{ name: 'revenue_share', type: 'number' }
]
})
});
This creates a new entity type in your CRM with custom fields, immediately available in the UI with filtering, sorting, and kanban views.
Related on TokRepo
- AI Tools for Automation — Workflow automation tools that integrate with CRM systems
- AI Tools for Marketing — Marketing tools that complement CRM data for campaign management
Common pitfalls
- Docker Compose deployment requires adequate resources. Allocate at least 4GB RAM for the full stack including PostgreSQL, Redis, and the application servers.
- Email sync requires IMAP/SMTP credentials and proper DNS configuration. Verify your email provider supports app-specific passwords if MFA is enabled.
- Migrating from Salesforce requires mapping custom objects to Twenty's schema. Plan the field mapping before starting data import to avoid duplication.
- Always check the official documentation for the latest version-specific changes and migration guides before upgrading in production environments.
Frequently Asked Questions
Twenty provides core CRM features like custom objects, pipeline management, email sync, and workflow automation. It lacks Salesforce's enterprise ecosystem (AppExchange, advanced analytics), but offers lower cost, full data ownership, and a modern developer-friendly architecture.
Yes. Twenty is open-source under AGPL-3.0. You can self-host for free. The hosted version at app.twenty.com offers a free tier with paid plans for additional features and support.
Twenty is built with NestJS (backend), React (frontend), and PostgreSQL (database). It uses GraphQL for its API layer and Redis for caching and background job processing.
Yes. Twenty supports CSV import for contacts, companies, and deals. For migration from specific CRMs like Salesforce or HubSpot, you export to CSV and map fields during the import process.
Yes. Twenty includes built-in workflow automation for common CRM actions like sending follow-up emails on deal stage changes, creating tasks when contacts are added, and triggering notifications based on custom conditions.
Citations (3)
- Twenty GitHub— Twenty is an open-source CRM with 43,700+ GitHub stars
- Twenty Documentation— NestJS + React + PostgreSQL architecture with AGPL-3.0 license
- Twenty Self-Hosting Docs— Self-hosting guide with Docker Compose
Related on TokRepo
Source & Thanks
Discussion
Related Assets
Conda — Cross-Platform Package and Environment Manager
Install, update, and manage packages and isolated environments for Python, R, C/C++, and hundreds of other languages from a single tool.
Sphinx — Python Documentation Generator
Generate professional documentation from reStructuredText and Markdown with cross-references, API autodoc, and multiple output formats.
Neutralinojs — Lightweight Cross-Platform Desktop Apps
Build desktop applications with HTML, CSS, and JavaScript using a tiny native runtime instead of bundling Chromium.