The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Mlua Swarm listing page.
A long-running swarm engine host that compiles flow.ir Blueprints and
dispatches their agent steps to workers. A Blueprint declares a flow
(step / seq / branch / loop / fanout / try / assign nodes) plus the
agents it references; the engine resolves each agent to a backend
(in-process Lua, a Rust function, a child process, or an interactive
Operator) and drives the flow while recording task state.
This installs the mse binary with two subcommands:
One-shot Blueprint execution is available through the swarm_run MCP tool
(exposed by mse mcp), which runs through the canonical
TaskApplication.handle / TaskLaunchService::launch path.
MCP client config:
Also listed on the MCP Registry
as io.github.ynishi/mlua-swarm:
Documentation is served from the code itself:
mse://,
served by mse mcp and always version-matched to the binary:
mse://guides/getting-started, mse://guides/bp-lifecycle (the
develop → trial-run → operate workflow map),
mse://guides/blueprint-authoring, mse://guides/mcp-tool-reference,
mse://blueprints/samples/*, and the live Blueprint JSON Schema at
mse://api/blueprint-schema (also available as the bp_schema tool).| crate | role |
|---|---|
mlua-swarm | engine core (workspace root package) |
mlua-swarm-schema | Blueprint schema types |
mlua-swarm-server | HTTP + WS server library |
mlua-swarm-cli | the mse binary |
Licensed under either of Apache License 2.0 or MIT License at your option.