Browse tools / Development
Legion
Legion is an open source Elixir runtime for building AI agents that live inside your application. Agents can act on your app's data and functions by writing code, with sandboxed execution and a monitoring dashboard.
Developmentadd AI agents to an Elixir applet agents find records and run reportslet agents change settings inside an apprun background AI workersexpose agent tools via an MCP server
Outbound links may earn a commission when an approved affiliate destination is available. Read disclosure.

Capabilities
- runs agent-written Lua or Elixir code in a sandbox with timeout, memory and CPU limits
- tools are plain Elixir modules the agent can call
- agents run as BEAM processes that can be supervised
- scopes agent actions to the signed-in user
- stores conversations in your Postgres database
- rate limiting and telemetry events
- legion_web LiveView dashboard showing conversations and agent code
Best for
- Elixir developers who want to embed an AI agent that can take actions inside their own application.
Limitations
- Requires an Elixir application
- Lua sandbox cannot reach the host BEAM except through registered tools
Platforms
- API
Integrations
- Postgres
- Claude
- Cursor
- MCP
Independent evidence
Evidence review is pending.
Reviewed alternatives
No reviewed alternatives yet.
Explore other tools
Compare your selection0sql0sql is an open-source semantic layer that generates correct, deterministic SQL from business terms. It models data warehouses in YAML, takes query specifications, and returns SQL statements or a refusal. It never connects to or runs queries on your warehouse.100 Vibe CodingA learning platform that teaches beginners to build small web, app, tool and game projects using AI through a series of guided, game-style challenges. Aimed at people with no coding background.10xarchA browser-based system design playground for drawing, documenting and getting AI feedback on software architectures. Team plans with monthly AI tokens start at $35 a month.



