Back to directory

Business Software · CRM & Sales

Open Mercato

Build tailored CRM, ERP, and commerce backends from an open core

Open Mercato is a TypeScript framework for building multi-tenant CRM, ERP, commerce, and other business applications. Its MIT-licensed core includes modular architecture and shared platform capabilities, while enterprise modules require a commercial agreement. Open Mercato Cloud provides browser-based development sandboxes; customers deploying independently run the software on infrastructure they select, retaining responsibility for operations and maintenance.

Key facts

License
MIT
Main language
TypeScript
Maintainer
Open Mercato
First released
2025
Latest release
v0.9.0, October 9, 2026
GitHub stars
1.87k, October 2026
Hosted option
Open Mercato Cloud sandboxes; enterprise terms and Starter Pack from 1,200 euros per month

What Open Mercato is

Piotr Karwatka launched Open Mercato in 2025 as an MIT licensed TypeScript framework for teams building CRM, ERP, commerce, and other business application backends. The project is not a finished ERP installation, but a foundation that packages conventions for multi tenancy, role based access, events, modules, and AI assisted development. Tomasz Karwatka, Patryk Lewczuk, and Maciej Greń now work with him on the core team, while adoption has grown to 1,870 GitHub stars, 458 forks, more than 130 contributors, and 27 certified partner agencies. In August 2026, the founders announced a $1 million investment of their own money, signaling a decision to fund expansion directly. Its first year therefore combined open source traction with a partner led route to implementation.

How it works

Open Mercato’s typical workflow begins with a specification rather than immediate coding. Teams scaffold a standalone application with `create-mercato-app`, selecting a classic, CRM, WMS, or empty preset, then run the generated setup. Each module groups its entities, administrative pages, REST APIs, commands, translations, and permissions, giving developers a working foundation for customers, catalog, sales, warehouse operations, portals, workflows, staff, resources, and warranty claims. An agent can help interpret the specification and implement a module, but the team remains responsible for domain decisions, integrations, generated migrations, review, testing, and deployment. Extensions stay in the application layer: developers can override modules without forking the core, add custom entities and fields, expose endpoints, and generate OpenAPI documentation while retaining a path for future updates.

Architecture and recent releases

Open Mercato’s architecture treats each module as a self-contained unit of pages, APIs, commands, translations, and MikroORM entities, discovered automatically rather than registered through a central catalogue. Next.js App Router and TypeScript form the application layer, with PostgreSQL, Redis, and Meilisearch supporting persistence, caching, and search. An Awilix container is created per request, allowing module services to be registered or overridden without changing the core, while tenant_id and organization_id fields keep data access scoped. RBAC, audit logs, encryption, domain events, and persistent subscribers sit across these modules as shared platform controls. Version 0.9.0, released October 9, 2026, adds availability contracts, B2B pricing, bulk catalog imports, Gmail history, mailbox sharing, security fixes, and opt-in OpenTelemetry. Deployment therefore includes migration and dependency review.

License and pricing

Open Mercato separates its free core from its commercial enterprise layer. The core repository uses the MIT license, allowing commercial use, modification, distribution, sublicensing, and sale, subject to the license notice and warranty terms. The `@open-mercato/enterprise` package sits outside that scope and covers proprietary modules such as MFA, SSO and directory sync, record locking, plus certification, reviews, and support under a commercial agreement. Pricing is based on annual revenue tiers and charged per project or monorepo, not per developer or end user, with unlimited seats within a licensed system. Each engagement starts with a Starter Pack priced at 1,200 euros per month, while annual billing receives a discount. Cloud sandboxes support development, but they are not production hosting.

Limitations and how it compares

Open Mercato’s principal drawback is the work between foundation and finished product. Its MIT TypeScript core brings CRM, ERP, commerce, multi-tenancy, RBAC, events, and extensible modules, but teams still define business rules, build missing areas, test custom code, and run production infrastructure. Twenty is a more focused open-source CRM, and Relaticle is aimed at CRM deployments rather than framework construction. ERPNext offers a broader, established ERP application, while Open Mercato favors a newer architecture and modular customization. Salesforce and Microsoft Dynamics 365 deliver more mature packaged functionality, vendor support, and managed service options, though with less control over code and infrastructure. Open Mercato is best for engineering-led organizations that want ownership and tailored business software, and can accept responsibility for delivery, maintenance, security, and operations.

Main features

  • Modular business apps. Modules bundle entities, pages, APIs, commands, translations, and permissions, allowing teams to add or replace business functionality without forking core.
  • Tenant-aware access. Multi-tenancy, organization scopes, feature-based RBAC, audit logs, encrypted fields, and validated routes support controlled business application access.
  • CRM and ERP modules. Core applications include customers, catalog, sales, warehouse, portals, workflows, staff, resources, warranty claims, and business rules.
  • Commerce pricing. Version 0.9.0 adds availability contracts, customer groups, B2B terms, quantity tiers, validity windows, and administrative pricing rules.
  • Developer APIs. MikroORM entities, tenant-safe migrations, CRUD factories, REST endpoints, generated OpenAPI documentation, and Awilix injection support extensions.
  • Agent development framework. Generated applications include AGENTS.md guidance, local skills, specifications, and workflows for Claude Code, Codex, and Cursor.
  • Operational integrations. The platform supports Redis events, Meilisearch, Gmail and IMAP communications, OpenTelemetry, shipping providers, and external email services.

Self-hosting Open Mercato

Open Mercato supports local and self-managed deployment on a hosting provider or public cloud. The documented developer setup requires Node.js 24, Yarn 4 through Corepack, and Docker. Docker Compose starts PostgreSQL 17 with pgvector, Redis 7, and Meilisearch. Teams create an application with npx create-mercato-app, copy environment settings, run yarn install, and execute yarn setup. A production operator owns backups, security, monitoring, upgrades, migrations, and service availability. Version 0.9.0 requires attention to PostgreSQL extensions, encryption-map migration, and module dependencies. Enterprise deployments can run on customer infrastructure, subject to commercial usage verification.

Strengths

  • The MIT core permits commercial use, modification, distribution, and sale.
  • Generated modules cover CRM, sales, catalog, warehouse, portals, and workflows.
  • Teams can override modules without maintaining a fork.
  • Version 0.9.0 includes security, commerce, communications, and telemetry work.

Drawbacks

  • Teams must build and operate the business-specific application layer.
  • Enterprise modules require a separate commercial agreement.
  • Release upgrades can require migrations, extensions, and dependency changes.

What teams replace with it

Teams usually evaluate Open Mercato when they want to move off Salesforce, Microsoft Dynamics 365, Custom CRM or ERP development.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Open Mercato

Frequently asked questions

Is Open Mercato free?

Open Mercato Core is free to use under the MIT license. The core license permits commercial use, modification, distribution, sublicensing, and sale, subject to the license notice and warranty terms. Enterprise modules, certification, support, reviews, and related services are separate commercial offerings.

Can companies use Open Mercato commercially?

Yes. Companies may use Open Mercato commercially under the MIT license, including deploying, modifying, distributing, sublicensing, and selling applications built with the core framework. However, the separate `@open-mercato/enterprise` package contains proprietary modules and services, such as MFA, SSO, record locking, certification, and support. Those features require a commercial agreement with the vendor.

How do I self-host Open Mercato?

Create an application with npx create-mercato-app, install Node.js 24 and Yarn 4, configure Docker, and run the setup commands. The documented Compose environment starts PostgreSQL 17 with pgvector, Redis 7, and Meilisearch. Production operators handle backups, security, monitoring, upgrades, and migrations.

How does Open Mercato compare with ERPNext?

ERPNext is a more established packaged ERP application with a broad set of ready business workflows. Open Mercato is a newer TypeScript and Next.js framework that supplies business modules and extension conventions. Choose ERPNext for a fuller application out of the box, or Open Mercato for a code-first system shaped around custom modules.

Does Open Mercato protect customer data?

The platform includes tenant and organization scopes, RBAC, audit logs, encrypted fields, hashed passwords, JWT sessions, and permission checks. Version 0.9.0 added fixes for organization isolation, portal sessions, encryption maps, and encrypted AI assistant data. Operators remain responsible for infrastructure security, configuration, backups, and access management.

Similar projects to compare

Sources

Last updated 2026-10-22.