Show HN: Legion – AI agents that write sandboxed Lua inside your Elixir app
Category: ai-ml
Tags: ai-agents, elixir, lua, sandbox, beam, code-execution
Score: 7.3/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 6)
Legion is an Elixir runtime for AI agents that write and execute sandboxed Lua (or Elixir) code to accomplish tasks inside your application. It combines code-generation agents with BEAM process supervision, pluggable sandboxes, persistent conversations, and secure credential handling via Vault, offering a code-execution alternative to tool-calling loops.
Target audience: backend devs, Elixir developers, AI agent builders
Repository: https://legion.swmansion.com/ · Elixir · MIT · 200 stars
View on Hacker News