This document discusses using Elixir and the Hedwig framework for building chat bots as an alternative to Node.js and frameworks like Botkit. It provides an example of a simple ping-pong bot built with Hedwig. It then compares the key differences between Botkit and Hedwig, noting that Hedwig runs processes concurrently for better performance and fault tolerance compared to the single-threaded event loop model of Botkit. Finally it demonstrates the difference in resilience through a benchmark that shows Hedwig can recover more quickly from errors.