LegionvsMoFA
Generated from the two spec rows. Green marks the better value where a spec has a clear direction. Everything else is just different.
Legion
Software Mansion · Agent framework
OSS
Panel
6.51 spec wins
- Reliability
- 6.0
- Usefulness
- 6.2
- Cost
- 8.0
- Longevity
- 5.8
“It writes Lua to get work done in Elixir, which is two functional languages agreeing that a third one should take the blame.”
MoFA
MoFA · Agent framework
OSS
Panel
6.53 spec wins
- Reliability
- 6.5
- Usefulness
- 5.7
- Cost
- 8.5
- Longevity
- 5.3
“It ships as a Rust crate and as a pip package, so two ecosystems can now argue about the same agent.”
Spec by spec
| Spec | Legion | MoFA |
|---|---|---|
| Architecture | ||
| Category | Agent framework | Agent framework |
| Runs | local | local |
| Platforms | macos, linux | macos, linux, windows |
| Context window | not documented | not documented |
| Protocols | ||
| MCP client | No | No |
| MCP server | No | No |
| Capabilities | ||
| Runs terminal commands | No | No |
| Multi-file edits | Yes | No |
| Git operations | No | No |
| Browser control | No | No |
| Sandboxed execution | YesLegion runs generated Lua or Elixir in its own sandbox; the README does not describe a container runtime. | YesIsolation is a WASM sandbox for compile-time plugins and a resource-limited Rhai sandbox for runtime scripts, not a container. |
| Multi-agent orchestration | No | Yes |
| Headless / CI mode | No | No |
| Models | ||
| Backbone | multiple providers | OpenAI |
| Bring your own model | Yes | Yes |
| Local models | No | YesMoFA ships a mofa-local-llm backend fronted by an OpenAI-compatible HTTP proxy. |
| Cost | ||
| Pricing model | byok | byok |
| Starts at | $0/mo | $0/mo |
| Free tier | Yes | Yes |
| Bring your own key | Yes | Yes |
| Openness | ||
| Open source | Yes | Yes |
| License | MIT | Apache-2.0 |
| GitHub stars | 220 | 291 |
Which one would each critic pick
| Critic | Legion | MoFA | Pick |
|---|---|---|---|
| El Juez | — | — | not enough reviews |
| El Amigo | 6.8 | 6.5 | Legion — Pick Legion if you write Elixir and want the agent inside the application rather than beside it; pick a framework in Python if the rest of your stack already lives there. |
| El Crítico | 6.0 | 6.0 | no preference |
| El Profesor | 7.8 | 7.3 | Legion — One evaluation can filter, branch and loop, so a sequence that costs a tool-calling agent a model round trip per step collapses into a single call. The claim is structural and checkable. |
| La Inversora | 6.3 | 5.5 | Legion — 166 stars and a consultancy's name on it. Software Mansion builds open libraries to sell engineering time, which funds this exactly as long as the pitch still works. |
| La Jefa | 5.5 | 6.0 | MoFA — Isolation is a WASM boundary for compiled plugins and a resource-limited script sandbox for the rest, which is a real answer and not a container. |
| El Hacker | 6.8 | 7.8 | MoFA — Apache-2.0, and runtime plugins are Rhai scripts that register tools without a rebuild, with a local model backend behind an OpenAI-compatible proxy. |
Picks are derived from each critic's own scores. Humans vote on matchups on the duels page.