Open-source low-code platform for building internal apps, AI agents and workflow automations, with self-hosting and a model-agnostic design.
twentyhq/twenty
An open-source CRM you can extend as code, with objects, views, workflows and AI agents, built on TypeScript, React and PostgreSQL.
Open-source alternative to:Salesforce
- Stars
- 58,524
- Forks
- 9,592
- Open issues
- 106
- Last commit
- yesterday
What is it?
Twenty is an open-source customer relationship management system. It provides the core CRM building blocks, including custom objects, fields, views, workflows and AI agents, and lets teams extend them as code rather than only through a fixed interface.
Developers can scaffold an app with the Twenty CLI (npx create-twenty-app), define objects, fields and views in TypeScript, and publish them to a workspace. Twenty can be used through its hosted cloud service or self-hosted with Docker Compose.
The project is a TypeScript monorepo managed with Nx. The backend uses NestJS with PostgreSQL, Redis and BullMQ, and the frontend is built with React, Jotai, Linaria and Lingui.
Key features
- 01Custom objects, fields and views that can be defined as code in TypeScript.
- 02Workflows and AI agents for automating CRM tasks.
- 03Scaffolding and publishing of apps through the Twenty CLI.
- 04Self-hosting with Docker Compose or use of the hosted cloud service.
- 05Built on NestJS, PostgreSQL, Redis and React.
Use cases
- Technical teams building a CRM that fits complex, changing business processes.
- Developers who want CRM data models and views managed in version control.
- Organizations that prefer to self-host their customer data.
- Teams building AI-assisted sales or customer workflows on top of a CRM.
Quick start
- 1
Scaffold a new app with the Twenty CLI
npx create-twenty-app my-app - 2
Publish the app to your workspace
npx twenty app:publish --private
Things to know
- The license is listed as NOASSERTION, so check the repository's license terms before use.
- Self-hosting requires running Docker Compose or a local setup with PostgreSQL, Redis and other services.
Topics
FAQ
- What is twenty?
- An open-source CRM you can extend as code, with objects, views, workflows and AI agents, built on TypeScript, React and PostgreSQL. Twenty is an open-source customer relationship management system. It provides the core CRM building blocks, including custom objects, fields, views, workflows and AI agents, and lets teams extend them as code rather than only through a fixed interface.
- Is twenty free to use? What license does it have?
- twenty is open source under the Other license. Check the license terms before using it in commercial products.
- Is twenty still maintained?
- Actively maintained. The last commit to twenty was on Oct 19, 2026.
- What can I use twenty for?
- Technical teams building a CRM that fits complex, changing business processes. Developers who want CRM data models and views managed in version control. Organizations that prefer to self-host their customer data. Teams building AI-assisted sales or customer workflows on top of a CRM.
- How do I install twenty?
- Scaffold a new app with the Twenty CLI: npx create-twenty-app my-app Publish the app to your workspace: npx twenty app:publish --private
- Where can I get twenty?
- The source code and installation instructions are on GitHub: https://github.com/twentyhq/twenty
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hostable, API-oriented low-code platform that works like a collaborative spreadsheet-database, positioned as an Airtable alternative.
An open source CRM built around AI agents that research contacts, record evidence and run on their own schedule.
A self-hostable CRM for managing contacts, deals, tasks and notes, built with React, shadcn/ui and Supabase.
A React-based toolkit where AI agents build presentation decks as interactive, responsive web apps instead of static slides.
Fair-code workflow automation platform for building AI agents and workflows, combining a visual canvas with custom code and 1500+ integrations.