Beyond GenServers: Declarative AI Flows with gen_statem - Coby Benveniste | Code BEAM Europe 2025 @CodeSync
Beyond GenServers: Declarative AI Flows with gen_statem - Coby Benveniste | Code BEAM Europe 2025  @CodeSync
Uploaded February 2026 | Updated December 2026, 7 hours ago
✨ This talk was recorded at Code BEAM Europe in November 2025. If you're curious about our upcoming event, check codebeameurope.com ✨
---
gen_statem is a rarely talked about and used OTP behaviour. Most BEAM developers reach for GenServer when building processes, but in the world of AI agents, gen_statem is the hidden gem that transforms complex agent loops into declarative state machines. Learn why gen_statem's behaviour aligns with AI agent patterns, enabling developers to easily write cleaner code describing how their agents behave. You'll learn how to build gen_statem processes, using features such as state functions, internal events, and postponing to build ReAct (Reasoning/Actions) AI agent loops. This talk is perfect for anyone building AI agents with Elixir wanting to level up their implementation with OTP behaviours.
---
Let's keep in touch! Follow us on:
💥 Bluesky: / codebeam.bsky.social
💥 Twitter: / codebeamio
💥 LinkedIn: / code-sync
Beyond GenServers: Declarative AI Flows with gen_statem - Coby Benveniste | Code BEAM Europe 2025BEAM Internals: Understanding the Erlang Scheduler - Sanne Kalkman | Code BEAM Europe 2025Gateway Architecture 3.0 - Matt Pavlovich | MQ Summit 2025Fifty Shades of Error - Roberto Aloi | Code BEAM Europe 2025Live coding a Nerves robot with Livebook - Dennis Palmer | ElixirConf EU 2026LT: The One Little Thing We Need from Kubernetes - Matt Pavlovich | MQ Summit 2026Deterministic LLM UI Rendering in Phoenix LiveView - Anthony Leiro | ElixirConf EU 2026MQ Summit 2026 is here! Welcome to HaarlemLT: Gleaming Github Actions - Austin Ziegler | ElixirConf EU 2026Building Fintech Systems That Stay Fast and Stay Compliant - Erik Stenman | Code BEAM Europe 2025LT: Proof Driven Development - Gideon Keith-Stanley | ElixirConf US 2026Protecting Corporate Accounts with LiveView realtime dashboard - Gabriel Ortuño | ElixirConf EU 2026
Code Sync |

Beyond GenServers: Declarative AI Flows with gen_statem - Coby Benveniste | Code BEAM Europe 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER