Modules
A session process that owns N GenAgent sub-agents under a strategy.
A reusable single-turn GenAgent callback module.
A trivial always-compiled GenAgent.Backend for demos and iex
experimentation.
Ergonomic iex-flavoured frontend to GenAgentEnsemble.
FIFO helper for {token, prompt} pairs awaiting dispatch.
N peer agents deliberate on a prompt until they converge on a structured verdict, or the round cap is reached.
Two agents take turns arguing about a prompt until they converge or a round cap is reached.
Linear stage chain.
Fixed-size worker pool strategy.
Trivial single-agent strategy. Every tell/ask dispatches the
prompt straight to the one sub-agent; every response closes the
most recent pending token.
Deterministic fan-out strategy: one coordinator agent decomposes a prompt, the strategy spawns N worker agents with the decomposed sub-prompts, and a reply lands when all workers have responded.
Caller-routed strategy: N named sub-agents; every tell/ask
specifies its target agent via opts[:agent].
Behaviour for session strategies.
Observational events for Ensemble sessions and routed turns.