4 ms·
I'm assuming you're using FLAME? How do you protect the host Elixir app from the agent shell, runtime, etc
by jonator 1y ago
I'm assuming you're using FLAME?
How do you protect the host Elixir app from the agent shell, runtime, etc
- chrismccord 1y agoNot using FLAME in this case. The agent runs entirely separately from your apps/IDE/compute. It communicates with and drives your runtime over phoenix channels
- jonator 1y agoOh 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?
- chrismccord 1y agoYes, 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.