Jido.Composer.Orchestrator.DSL (Jido Composer v0.4.0)

Copy Markdown View Source

Compile-time macro for declarative orchestrator agent definitions.

use Jido.Composer.Orchestrator generates a Jido.Agent module wired to the Jido.Composer.Orchestrator.Strategy with validated configuration.

Example

defmodule MyCoordinator do
  use Jido.Composer.Orchestrator,
    name: "coordinator",
    model: "anthropic:claude-sonnet-4-20250514",
    nodes: [ResearchAction, WriterAction],
    system_prompt: "You coordinate research and writing.",
    max_iterations: 15
end