Skip to content
vic

ash-project/ash

A declarative, extensible framework for building Elixir applications.

ash-project/ash.json
{
"createdAt": "2019-10-03T03:07:55Z",
"defaultBranch": "main",
"description": "A declarative, extensible framework for building Elixir applications.",
"fullName": "ash-project/ash",
"homepage": "https://www.ash-hq.org",
"language": "Elixir",
"name": "ash",
"pushedAt": "2025-11-26T15:40:01Z",
"stargazersCount": 2203,
"topics": [
"ash",
"dsl",
"elixir",
"framework"
],
"updatedAt": "2025-11-27T00:27:34Z",
"url": "https://github.com/ash-project/ash"
}

Logo Logo

Elixir CI OpenSSF Scorecard OpenSSF Best Practices License: MIT Hex version badge Hexdocs badge REUSE status Ask DeepWiki

Welcome! Here you will find everything you need to know to get started with and use Ash. This documentation is best viewed on hexdocs.

  • [What is Ash?]!(documentation/topics/about_ash/what-is-ash.md)
  • [Getting Started Tutorial]!(documentation/tutorials/get-started.md)
  • See the roadmap

The [Get Started Livebook]!(documentation/tutorials/get-started.md) Tutorial introduces you to the core concepts of Ash like resources, actions, and relationships. It’s a great place to start if you are a beginner.


Topics provide a high level overview of a specific concept or feature of Ash. These are understanding-oriented, and are perfect for discovering design patterns, features, and tools.


How-to guides are goal-oriented recipes for accomplishing specific popular tasks. Browse to get an idea of how Ash works and what is possible with it.


Reference documentation is information-oriented, covering every Ash module, function, expression, and DSL. It is produced automatically from our source code. Use the sidebar and the top search bar to find relevant reference information. Place the text dsl before your search to quickly jump to a particular DSL — e.g. try comparing the results of searching for name with the results for dsl name.


  • [What is Ash?]!(documentation/topics/about_ash/what-is-ash.md)
  • [Our Design Principles]!(documentation/topics/about_ash/design-principles.md)
  • [Contributing to Ash]!(.github/CONTRIBUTING.md)
  • [Alternatives]!(documentation/topics/about_ash/alternatives.md)
  • [Project Structure]!(documentation/topics/development/project-structure.md)
  • [Generators]!(documentation/topics/development/generators.md)
  • [Testing]!(documentation/topics/development/testing.md)
  • [Working with LLM Assistance]!(documentation/topics/development/working-with-llms.md)
  • [Development Utilities]!(documentation/topics/development/development-utilities.md)
  • [Backwards Compatibility Config]!(documentation/topics/development/backwards-compatibility-config.md)
  • [Upgrading to 3.0]!(documentation/topics/development/upgrading-to-3.0.md)
  • [Error Handling]!(documentation/topics/development/error-handling.md)
  • [Domains]!(documentation/topics/resources/domains.md)
  • [Attributes]!(documentation/topics/resources/attributes.md)
  • [Relationships]!(documentation/topics/resources/relationships.md)
  • [Calculations]!(documentation/topics/resources/calculations.md)
  • [Aggregates]!(documentation/topics/resources/aggregates.md)
  • [Code Interfaces]!(documentation/topics/resources/code-interfaces.md)
  • [Identities]!(documentation/topics/resources/identities.md)
  • [Validations]!(documentation/topics/resources/validations.md)
  • [Changes]!(documentation/topics/resources/changes.md)
  • [Preparations]!(documentation/topics/resources/preparations.md)
  • [Embedded Resources]!(documentation/topics/resources/embedded-resources.md)
  • [Notifiers]!(documentation/topics/resources/notifiers.md)
  • [Actions]!(documentation/topics/actions/actions.md)
  • [Read Actions]!(documentation/topics/actions/read-actions.md)
  • [Create Actions]!(documentation/topics/actions/create-actions.md)
  • [Update Actions]!(documentation/topics/actions/update-actions.md)
  • [Destroy Actions]!(documentation/topics/actions/destroy-actions.md)
  • [Generic Actions]!(documentation/topics/actions/generic-actions.md)
  • [Manual Actions]!(documentation/topics/actions/manual-actions.md)
  • [Actors & Authorization]!(documentation/topics/security/actors-and-authorization.md)
  • [Sensitive Data]!(documentation/topics/security/sensitive-data.md)
  • [Policies]!(documentation/topics/security/policies.md)
  • [Multi-step Actions]!(documentation/topics/advanced/multi-step-actions.md)
  • [Monitoring]!(documentation/topics/advanced/monitoring.md)
  • [Multitenancy]!(documentation/topics/advanced/multitenancy.md)
  • [Reactor]!(documentation/topics/advanced/reactor.md)
  • [Combination Queries]!(documentation/topics/advanced/combination-queries.md)
  • [Timeouts]!(documentation/topics/advanced/timeouts.md)
  • [Writing Extensions]!(documentation/topics/advanced/writing-extensions.md)

  • [Write Queries]!(documentation/how-to/write-queries.livemd)
  • [Test Resources]!(documentation/how-to/test-resources.livemd)
  • [Authorize Access to Resources]!(documentation/how-to/authorize-access-to-resources.livemd)
  • [Encrypt Attributes]!(documentation/how-to/encrypt-attributes.livemd)
  • [Prevent Concurrent Writes]!(documentation/how-to/prevent-concurrent-writes.livemd)
  • [Wrap External APIs]!(documentation/how-to/wrap-external-apis.livemd)
  • [Define Polymorphic Relationships]!(documentation/how-to/polymorphic-relationships.livemd)

  • [Ash.Resource DSL]!(documentation/dsls/DSL-Ash.Resource.md)
  • [Ash.Domain DSL]!(documentation/dsls/DSL-Ash.Domain.md)
  • [Ash.Reactor DSL]!(documentation/dsls/DSL-Ash.Reactor.md)
  • [Ash.Notifier.PubSub DSL]!(documentation/dsls/DSL-Ash.Notifier.PubSub.md)
  • [Ash.Policy.Authorizer DSL]!(documentation/dsls/DSL-Ash.Policy.Authorizer.md)
  • [Ash.DataLayer.Ets DSL]!(documentation/dsls/DSL-Ash.DataLayer.Ets.md)
  • [Ash.DataLayer.Mnesia DSL]!(documentation/dsls/DSL-Ash.DataLayer.Mnesia.md)
  • [Ash.TypedStruct DSL]!(documentation/dsls/DSL-Ash.TypedStruct.md)
  • [Glossary]!(documentation/topics/reference/glossary.md)
  • [Expressions]!(documentation/topics/reference/expressions.md)
  • For other reference documentation, see the sidebar & search bar

The Ash ecosystem consists of numerous packages, all of which have their own documentation. If you can’t find something in this documentation, don’t forget to search in any potentially relevant package.

  • AshAI | Structured Outputs, MCP, Vectorization and more
  • AshOban | Background jobs and scheduled jobs for Ash, backed by Oban
  • AshArchival | Archive resources instead of deleting them
  • AshStateMachine | Create state machines for resources
  • AshPaperTrail | Keep a history of changes to resources
  • AshCloak | Encrypt attributes of a resource
  • Smokestack | Declarative test factories for Ash resources
  • Ash Real World | Ash + Phoenix LiveView codebase containing real world examples (CRUD, auth, advanced patterns, etc)