Ash Framework

Model your domain, derive the rest

The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.

Discover Ash Features

Resources & Actions

Actions are fully typed and introspectable. Extensions can automatically understand and build on top of them.

Creates a functional interface that returns reading time in minutes

Persistence

Add persistent storage while keeping existing behavior. Your resource combines behavior and state.

Creates "posts" table with automatic migrations

GraphQL

Add a full GraphQL API with minimal configuration. Automatically generates queries, mutations, and types.

Full GraphQL API with introspectable schema

JSON:API

Add a REST JSON:API alongside GraphQL. Expose your domain through multiple API standards.

REST endpoints at /posts with JSON:API format

Policies

Add fine-grained authorization with policies. Control who can perform actions and filter data transparently.

Role-based access control with data filtering

Encryption

Add encryption at rest with Cloak integration. Content is automatically encrypted when stored and decrypted when read.

Transparent encryption - no API changes needed

AI Tools

Add AI-powered actions and expose your domain as tools for LLMs. Perfect for building AI features or MCP servers.

Prompt-backed actions with LLM integration

State Machine

Add declarative state validations and transitions. Each extension builds on previous ones seamlessly.

Declarative state validations and transitions

Authentication

Complete user authentication with password and OAuth strategies. Built-in support for multiple providers.

Password, OAuth, magic links, and more

Background Jobs

Add reliable background job processing with triggers and scheduled actions. Perfect for notifications and maintenance tasks.

Powered by Oban for reliable job processing
View on a larger screen for an interactive introduction

Looking for a tutorial?

Follow our comprehensive getting started guide to build your first Ash application. Learn the fundamentals and get up and running in minutes.

Get Started Guide
Proud Partner

The EEF is the 501(c)(3) non-profit that stewards the BEAM ecosystem we all build on. Their working groups make Elixir, Erlang, and the wider BEAM safer and more sustainable for everyone.

Securing the ecosystem

The EEF Security Working Group identifies vulnerabilities, publishes guidance, and funds independent audits — including the recent Hex.pm security audit that protects every package in the ecosystem, Ash included.

Supporting the community

Working groups for build tools, observability, education, ML, and infrastructure — plus fellowships, stipends, conferences, and the documentation that newcomers and experts rely on every day.

Becoming a member

Individuals and companies can join as members starting at modest annual dues. Membership funds the working groups directly, gives you a voice in governance, and keeps the BEAM independent and community-driven.

Learn more at erlef.org — every contribution and member helps secure and sustain the BEAM.

Get Your Installer

Presets

sh <(curl 'https://ash-hq.org/install/vacuum_conf') \
    && cd vacuum_conf

Upcoming events