---
title: "Frappe vs Framework M vs Ash: Frameworks Compared | QCS"
description: "Frappe Framework, Framework M and Ash compared: language, maturity, data model, APIs, multi-tenancy, AI support and which to choose for which job."
url: https://quarkcs.com/frameworks
---
Foundations · Frappe · Framework M · Ash

# Three open frameworks. *Different jobs.*

Each lets you describe your business objects once and builds much of the application around them. They differ in language, maturity and how much comes ready-made. Here is how we weigh them.

Which one when? Side-by-side comparison

**Python** · MIT

### Frappe Framework

The metadata-first base for ERPNext, where records, permissions, workflows and reports matter.

- DocType-driven applications
- Roles, permissions and workflows
- REST APIs, webhooks, background jobs

Read the guide →

<https://quarkcs.com/frameworks/frappe>

**Python** · Apache-2.0

### Framework M

An open, metadata-driven Python framework whose schemas agents can read directly.

- Machine-readable schemas for agents
- Hexagonal, swappable adapters
- Native multi-tenancy

Read the guide →

<https://quarkcs.com/frameworks/framework-m>

**Elixir** · MIT

### Ash Framework

A declarative Elixir framework: define resources once and derive APIs, policies and AI tools.

- Resources, actions and policies
- GraphQL and JSON:API from one model
- LLM tools and MCP servers

Read the guide →

<https://quarkcs.com/frameworks/ash>

Side by side

## The same questions. *Three answers.*

Checked against each project's own documentation in November 2026.

| Aspect | Frappe Framework | Framework M | Ash Framework |
| --- | --- | --- | --- |
| Language and runtime | Python (synchronous) with JavaScript and Vue front ends | Python 3.12+, async | Elixir on the BEAM |
| Licence | MIT | Apache-2.0 | MIT |
| Maturity | Long established; version 16 | Beta, 0.x; since January 2026 | Stable 3.x |
| How you define the model | DocType metadata, in the UI or as JSON in code | Typed Python classes | Elixir resource definitions |
| Database | MariaDB (primary), PostgreSQL | PostgreSQL (default) | PostgreSQL, SQLite and others |
| Generated interface | Full Desk: forms, lists, reports, dashboards | React Desk | AshAdmin (basic); LiveView for custom UI |
| APIs | REST for every DocType, webhooks | REST for every DocType, WebSocket updates | GraphQL, JSON:API, TypeScript client |
| Authorisation | Roles, user permissions, field levels | Attribute-based policies, OIDC or SAML | Declarative policies on actions |
| Multi-tenancy | A site and database per tenant | Tenant protocol in the core | Attribute- or schema-based tenancy |
| Ready business apps | ERPNext, HR, CRM, Helpdesk and more | Business M (pre-1.0): distribution, warehouse, accounting | None; building blocks such as AshMoney and AshDoubleEntry |
| AI and agents | Through REST APIs behind a gateway | Typed code and docs that coding agents can use | AshAi: actions as LLM tools and MCP servers |
| Talent pool | Large, with a strong partner network | Small; Frappe developers adapt quickly | Small; Elixir specialists |

Pros and cons

## What you gain. *What you accept.*

### [Frappe Framework](https://quarkcs.com/frameworks/frappe)

Pros

- Ready business applications: start from ERPNext, HR or CRM instead of an empty project.
- Very fast for record-heavy back-office software: forms, lists, reports and permissions come with the schema.
- Customisation without code (custom fields, client and server scripts, print formats), with full Python when needed.

Cons

- Opinionated: designs that work against the DocType and Desk model end up fighting the framework.
- MariaDB first; PostgreSQL support is less complete across the app ecosystem.
- Synchronous request model with request-global state; streaming and very high-concurrency work belongs in separate services.

### [Framework M](https://quarkcs.com/frameworks/framework-m)

Pros

- A modern, typed, async Python stack built on mainstream libraries (Litestar, SQLAlchemy, Pydantic).
- Code-first schemas that are reviewed in Git like any other code.
- Designed for multi-tenant SaaS, and to grow from a modular monolith into services without a rewrite.

Cons

- Young: first released in January 2026 and still on 0.x versions, so interfaces can change between releases.
- A small maintainer team and community compared with Frappe or Ash.
- Its ERP layer, Business M, is also pre-1.0 and focused on distribution and supply chain; its module range is far narrower than ERPNext's.

### [Ash Framework](https://quarkcs.com/frameworks/ash)

Pros

- One declaration drives the schema, APIs, authorisation, jobs and state, with less duplicated code.
- Policies are enforced at the action layer, so every API and interface applies the same rules.
- The BEAM runtime: very high concurrency, fault tolerance and real-time features.

Cons

- A smaller talent pool: Elixir is less common than Python, and Ash's own docs call it "still niche".
- A steep learning curve: Elixir, functional programming and Ash's declarative style at once.
- No ready ERP or CRM application layer: business applications are built, not installed.

Which one when?

## Start from the job. *Then pick the foundation.*

1. Choose Frappe Framework

   ### You need ERP, accounting, inventory, HR or CRM now

   Start from ERPNext and the Frappe apps, and extend them. Fastest route to working business software you own.
2. Choose Framework M

   ### You are building a new multi-tenant Python product

   A typed, async, PostgreSQL stack with Frappe-style metadata, and Business M for distribution and supply chain, if your project can absorb a young platform's pace of change.
3. Choose Ash Framework

   ### You are building a real-time, API-first or agent-facing product

   One domain model drives APIs, policies and LLM tools on a highly concurrent runtime, if you have or will build Elixir skills.
4. Combine them

   ### Your needs span both

   Keep ERPNext as the system of record, and add a Framework M or Ash service for a specialised product, connected through APIs and events.

Disclosure: Frappe is our primary delivery platform and we are a Frappe partner. We have aimed to describe each framework on its merits, using the projects' own documentation.

## Which foundation fits your project?

[Discuss your project](https://quarkcs.com/contact?interest=systems) [Back to Sovereign Systems](https://quarkcs.com/sovereign-erp#foundations)
