Open source

Run the inbox on your own servers

The MagpieReply inbox is open source under the MIT license. Use it, change it and host it yourself for free.

Built on Chatwoot

Standing on a proven open source inbox

MagpieReply is built on the open source core of Chatwoot, which is MIT licensed. We started from their work and added our own brand, look and AI agent.

Chatwoot's original copyright notice is kept in our license file. Their paid enterprise code isn't part of MagpieReply.

Chatwoot open source coreMIT
MagpieReply inboxMIT
AI agent serviceMagpieReply Cloud
What's open source

The whole inbox is yours to run

Everything below ships in the open source repo. The AI agent is a separate service that runs on MagpieReply Cloud.

Shared inbox

Statuses, priorities, assignment, teams, labels, private notes, mentions, saved replies, macros and bulk actions.

Every channel

Website chat, email, WhatsApp, Messenger, Instagram, TikTok, Telegram, LINE, SMS, X and an API channel.

Help center

Several portals with custom domains, categories and languages.

Automations

Rules that route, label and reply when a conversation matches, plus auto-resolve.

Reports

Overview, agents, inboxes, teams, labels, satisfaction surveys and live views.

APIs and webhooks

A full app API, a platform API for accounts and users, and a public API for the chat widget and help center.

Self-host

Up and running with Docker

The production compose file builds the MagpieReply image from the repo. Set your secrets in .env, prepare the database and start it.

DockerEasiest way
PostgresWith pgvector
RedisFor jobs
MITLicense
Self-host in a few commands
# Get the code
$ git clone https://github.com/dev-perceptric/magpiereply
$ cd magpiereply

# Set your secrets and prepare the database
$ cp .env.example .env
$ docker compose -f docker-compose.production.yaml run --rm rails bundle exec rails db:chatwoot_prepare

# Start it
$ docker compose -f docker-compose.production.yaml up -d
Run it locally

Work on the code

To run MagpieReply on your own machine without Docker, you need:

  • Ruby, at the version in .ruby-version
  • Node, at the version in .nvmrc, and pnpm
  • PostgreSQL with the pgvector extension
  • Redis

Then open http://localhost:3000 and sign up for the first account.

Local development
$ cp .env.example .env
$ bundle install && pnpm install
$ bundle exec rails db:chatwoot_prepare
$ pnpm dev

# Run the tests
$ pnpm test
$ bundle exec rspec
Self-hosted or Cloud

Pick where it runs

Self-host the inbox for free, or let us run it for you and add the AI agent.

FeatureSelf-hostedMagpieReply Cloud
Inbox for every channel
Help center
Automations and reports
API and webhooks
Contacts and companies
Your data on your own servers
We run updates and backups
AI agent
Apps and actions with approvals
Tests, spending caps and kill switches
Price$0From $49 a month
SupportCommunity on GitHubEmail
Contribute

Help make it better

Found a bug or have an idea? Open an issue on GitHub. Want to fix it yourself? Send a pull request.

Open an issue Send a pull request

Want the AI agent on top?