erlang_adk_orchestrator (erlang_adk v0.7.0)

View Source

Summary

Functions

loop runs a worker agent and a reviewer agent iteratively using a graph.

parallel takes a list of Agent Pids and a Prompt. It prompts all agents concurrently using the graph engine.

Prompt agents concurrently with one overall deadline. Results retain the input PID order and contain {error, Reason} for failed branches.

sequential takes a list of Agent Pids and an Initial Prompt. It constructs a sequential graph of the agents and executes it.

Functions

loop(WorkerPid, ReviewerPid, LastDraft, MaxIterations)

loop runs a worker agent and a reviewer agent iteratively using a graph.

parallel(Pids, Prompt)

parallel takes a list of Agent Pids and a Prompt. It prompts all agents concurrently using the graph engine.

parallel(Pids, Prompt, Timeout)

Prompt agents concurrently with one overall deadline. Results retain the input PID order and contain {error, Reason} for failed branches.

sequential(Pids, Prompt)

sequential takes a list of Agent Pids and an Initial Prompt. It constructs a sequential graph of the agents and executes it.