Twenty CRM: The Open-Source, AI-Driven CRM for Marketing Agencies

What is Twenty?

Twenty is an open-source CRM platform designed as a modern, flexible alternative to Salesforce, HubSpot, and Pipedrive.12

Think of it as a customizable business operating system for structured data, workflows, and relationships. While it ships as a CRM by default, Twenty is intentionally built as a generic platform you can mold into:

  • A CRM
  • A lightweight project manager
  • A sales + delivery tracker
  • A client ops database
  • A workflow automation hub

Key characteristics:13

  • Open-source (AGPL license)
  • Self-hostable with full data ownership
  • API-first (REST and GraphQL)
  • Developer-friendly monorepo (TypeScript, NestJS, PostgreSQL, Redis, React)
  • Modern UX similar to Notion / Airtable / Linear

Core Capabilities

Standard CRM Features24

  • Contacts (People) and Companies
  • Opportunities (Deals / Sales pipeline)
  • Tasks & reminders with due dates and assignees
  • Notes, emails, attachments
  • Activity timelines per record
  • Calendar events and Files

Custom Data Models12

You can create:

  • Custom objects (e.g., Projects, Campaigns, Websites, Clients)
  • Custom fields (text, number, select, relations, etc.)

Every custom object:

  • Appears in the UI automatically
  • Gets API endpoints automatically
  • Can be filtered, grouped, and visualized

Views & UX12

  • Table / spreadsheet views
  • Kanban boards
  • Filters, saved views, sorting, group-by
  • Relationship linking (People ↔ Companies ↔ Deals ↔ Tasks)

Workflow Automation14

Trigger → Action automations:

  • New lead → create follow-up task
  • Deal marked “Won” → notify Slack + create onboarding tasks
  • Field change → update related records

Role-Based Permissions51

  • Custom roles
  • Field-level and object-level access
  • API-key–scoped roles

Can It Manage Tasks?

Yes. Tasks are a first-class feature:24

  • Assign tasks to users
  • Set due dates
  • Link tasks to contacts, companies, or deals
  • View all tasks in one place (Kanban or table)
  • Automate task creation via workflows

This makes Twenty viable as a CRM + lightweight task manager, especially for client follow-ups, sales ops, and project milestones.


Hosting Options

Option 1: Official Cloud (Fastest)

Sign up at app.twenty.com:

  • Fully hosted by Twenty
  • No infrastructure to manage
  • Best for speed and simplicity

Self-host Twenty on a cloud VM (Hetzner, AWS, DigitalOcean, EC2) with Docker.

Requirements:

  • Linux server
  • Docker + Docker Compose
  • Minimum 2GB RAM

One-Line Install:

curl -fsSL https://get.twenty.com | bash

Manual Setup:5

  1. Create .env file (secrets, DB config)
  2. Download docker-compose.yml
  3. Run: docker compose up -d
  4. Access at http://localhost:3000

Docs: docs.twenty.com/developers/self-host/self-host


Where Does Twenty Store Data?

Default storage:61

ComponentPurpose
PostgreSQLPrimary data store for all CRM records and metadata
Redis + BullMQCaching and background job queues
S3-compatible storageFile uploads (configurable)

If you self-host, you fully own the data.


Can It Use Supabase?

Yes — with configuration.76

Supabase provides fully managed PostgreSQL, so you can point Twenty at a Supabase Postgres instance:

  1. Use the Supabase database connection string as your PostgreSQL URL in Twenty’s environment variables
  2. Twenty reads/writes CRM data to Supabase Postgres
  3. Centralize data, backups, and observability in Supabase’s tooling

For file storage: Supabase Storage is S3-compatible and can be configured as Twenty’s file backend.

Note: Some Postgres extensions may need manual setup, and Supabase schema permissions require care. See community discussion.


Does Twenty Have an API?

Yes — both REST and GraphQL.8

API Types

APIPurposeEndpoints
Core APIWork with records (People, Companies, Opportunities, Tasks)/rest/ or /graphql/
Metadata APIManage schema (objects, fields, relationships)/rest/metadata/ or /metadata/

Key Characteristics8

  • Auto-generated per workspace data model
  • Standard and custom objects treated the same
  • Batch operations: Up to 60 records per call
  • Rate limit: 100 API calls per minute
  • Built-in REST and GraphQL playgrounds

Authentication

Authorization: Bearer YOUR_API_KEY

API keys are created in Settings → APIs & Webhooks with role assignment for scope.8

Example Endpoints

GET  /rest/people
GET  /rest/companies
GET  /rest/opportunities
GET  /rest/tasks
POST /graphql

Webhooks

Subscribe to events and push updates to external systems — ideal for automation and integrations.8


MCP, CLI, and Coding Agents

Does Twenty Have an Official CLI?

No official CLI at this time.

Does Twenty Support MCP?

Yes — via community MCP server.910

The Twenty MCP Server provides Model Context Protocol access for AI agents.

What the MCP Server Enables

An AI agent can:910

  • Search contacts and companies
  • Create/update/delete records
  • Manage opportunities and pipeline stages
  • Create & complete tasks
  • Add notes and activities
  • Query CRM data with natural language

Example AI Workflows

"Find all active clients without a follow-up task and create one for next week."

"List the 10 most recently created leads."

"Create a new person with name Jane Doe, email jane@example.com, and tag them as 'Google Ads Lead'."

"Update the opportunity for Bright Futures Preschool to stage 'Proposal Sent' and value 12,000."

MCP Setup (High Level)910

  1. Self-host or use cloud Twenty, ensure API is reachable
  2. Create an API key in Settings → APIs & Webhooks
  3. Configure the MCP server with your Twenty base URL and API key
  4. Register the MCP server in your AI client (e.g., Claude Desktop config)

Compatible with:

  • Claude (MCP-native)
  • Custom agent frameworks
  • Tool-calling LLMs

This gives you a fully AI-driven CRM layer: the agent can read/write everything your API key allows.


How a Marketing Agency Can Use Twenty

1. Sales CRM

  • Leads → Deals → Clients pipeline
  • Revenue forecasting
  • Follow-up automation

2. Client Management

  • One record per client with contacts, notes, files, emails
  • Full relationship history
  • Activity timelines

3. Task & Ops Management

  • Sales follow-ups
  • Project milestones
  • Client check-ins
  • Internal reminders

4. Project Tracking (Custom Objects)21

Create custom objects for:

ObjectExample Fields
CampaignChannel mix, Budget, Target CPL/ROAS, Start/end dates, Status
DeliverableType (Landing page, Creative batch), Due date, Assigned user
ProjectClient, Timeline, Status, Related campaigns
WebsiteURL, Hosting, Analytics ID, Client

Link them to Clients, Deals, and Tasks.

5. Automation Hub

  • Lead capture → CRM
  • Deal won → onboarding workflow
  • Inactivity → follow-up reminders

6. AI-Assisted Ops9

With MCP + APIs:

"Show all clients with retainer > $5,000 that haven't had a task completed in 14 days."

"Create a new campaign for Northstar Preschools: Google Ads Q2 2026, budget $18,000, and assign three kickoff tasks."

"Summarize current open opportunities by stage and expected MRR."

Alternatives to Consider

CRMBest ForStrengthsAI/MCP Story
TwentyModern teams wanting Salesforce power + Notion UXCustom objects, REST/GraphQL, active MCP serverBest-in-class for AI-first CRM
SuiteCRMTraditional B2B sales, Salesforce refugeesMature, many modules, workflow engineOlder UI, no native MCP
Odoo CRMTeams needing full ERP (accounting, inventory)Tight ERP integration, huge module ecosystemOverkill for CRM-only; AI is DIY
EspoCRMLightweight, flexible deploymentsEasy to host, REST API, solid coreNo dedicated MCP ecosystem
Frappe CRMERPNext usersPython extensibility, Frappe ecosystemDIY AI integration

For an AI-driven, MCP-based workflow, Twenty currently has the cleanest story.1139


┌─────────────────────────────────────────────────────────────┐
│                        AI Layer                              │
│  ┌─────────────────┐    ┌─────────────────────────────────┐ │
│  │  Claude/Agent   │───▶│  Twenty MCP Server              │ │
│  │  (MCP Client)   │    │  (Natural language → API calls) │ │
│  └─────────────────┘    └─────────────────────────────────┘ │
└─────────────────────────────┬───────────────────────────────┘

┌─────────────────────────────▼───────────────────────────────┐
│                       App Layer                              │
│  ┌─────────────────────────────────────────────────────────┐│
│  │  Twenty CRM (Self-hosted on EC2/VPS via Docker)         ││
│  │  REST API + GraphQL + Webhooks                          ││
│  └─────────────────────────────────────────────────────────┘│
└─────────────────────────────┬───────────────────────────────┘

┌─────────────────────────────▼───────────────────────────────┐
│                      Data Layer                              │
│  ┌──────────────────────┐  ┌──────────────────────────────┐ │
│  │  Supabase Postgres   │  │  Redis (Cache/Queue)         │ │
│  │  (Primary CRM data)  │  │  (On EC2 or managed)         │ │
│  └──────────────────────┘  └──────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘

This gives you:

  • Full data ownership via Supabase
  • First-class CRM tailored to your agency
  • AI agent that operates the CRM via MCP and APIs
  • Webhook integrations to external automations

Bottom Line

Twenty can realistically become your agency’s internal operating system.

It replaces:

  • CRM
  • Light project management
  • Client tracking spreadsheets
  • Manual follow-ups
  • Fragmented tools

And it scales with you, stays developer-friendly, and supports automation + AI in ways most CRMs do not.


Footnotes

Footnotes

  1. twentyhq/twenty: Building a modern alternative to Salesforce 2 3 4 5 6 7 8

  2. What is Twenty - Twenty Documentation 2 3 4 5 6

  3. Top 20 Open-Source, Self-Hosted CRMs in 2026 - Grow CRM 2

  4. Discover Twenty - Twenty Documentation 2 3

  5. Self-Host - Twenty Documentation 2 3

  6. Self-Hosting Twenty CRM: A Complete Guide - DEV Community 2 3

  7. Twenty CRM Self-Hosted - Nango Docs

  8. APIs - Twenty Documentation 2 3 4

  9. A Deep Dive into the Twenty CRM MCP Server - Skywork.ai 2 3 4 5

  10. GitHub - mhenry3164/twenty-crm-mcp-server 2 3

  11. Best Open Source CRM for 2025 - Marmelab