Hacker News new | ask | show | jobs
by jonator 358 days ago
Oh interesting. So how do messages come from the container? Is there a host elixir app that is running the agent env? How does that work?
1 comments

Yes, elixir app deployed across the planet as a single elixir cluster. We spawn the agents (GenServer's), globally register them, and then the end-user LiveView chat communicates with the agent with regular elixir messages, and the IDE is a phoenix channels client that communicates with and is driven by the agent.