Elixir Workflows with Reactor & AI Agents ✈️
Learn how to orchestrate complex workflows in Elixir using Reactor, with features like rollbacks, sagas, and AI agents in a travel app.

Code and Stuff
8.6K views • Jul 2, 2025

About this video
Reactor is an Elixir library for orchestrating complex workflows with automatic rollbacks, sagas, and concurrent execution.
In this video, we build a travel booking system that coordinates flights, hotels, and emails—then turn it into an AI agent using Ash AI.
Reactor handles the complexity of distributed transactions across multiple services, automatically undoing operations when something fails downstream. Perfect for payment gateways, reservation systems, or any multi-step process that needs reliability.
We'll cover:
- Dependency graphs and concurrent step execution
- Implementing sagas with compensating actions
- Retries and error handling strategies
- Integration with Ash Framework
- Building an AI travel agent with function calling
Links:
Screen recording software I use (affiliate): https://screen.studio/@Yy75o
Reactor Livebook: https://gist.github.com/ChristianAlexander/a83a7189c1509939ac3b7b8812b1b0f2
Project Repo: https://github.com/ChristianAlexander/travel_agency
Reactor docs: https://hexdocs.pm/reactor/readme.html
Reactor cheat sheet: https://hexdocs.pm/reactor/reactor-cheatsheet.html
Ash AI: https://github.com/ash-project/ash_ai
Timestamps:
What's Reactor? - 00:00
Livebook Reactor Demo - 01:31
The AI Part - 07:19
In this video, we build a travel booking system that coordinates flights, hotels, and emails—then turn it into an AI agent using Ash AI.
Reactor handles the complexity of distributed transactions across multiple services, automatically undoing operations when something fails downstream. Perfect for payment gateways, reservation systems, or any multi-step process that needs reliability.
We'll cover:
- Dependency graphs and concurrent step execution
- Implementing sagas with compensating actions
- Retries and error handling strategies
- Integration with Ash Framework
- Building an AI travel agent with function calling
Links:
Screen recording software I use (affiliate): https://screen.studio/@Yy75o
Reactor Livebook: https://gist.github.com/ChristianAlexander/a83a7189c1509939ac3b7b8812b1b0f2
Project Repo: https://github.com/ChristianAlexander/travel_agency
Reactor docs: https://hexdocs.pm/reactor/readme.html
Reactor cheat sheet: https://hexdocs.pm/reactor/reactor-cheatsheet.html
Ash AI: https://github.com/ash-project/ash_ai
Timestamps:
What's Reactor? - 00:00
Livebook Reactor Demo - 01:31
The AI Part - 07:19
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
8.6K
Likes
459
Duration
11:13
Published
Jul 2, 2025
User Reviews
4.6
(1)