erlang_adk_orchestrator (erlang_adk v0.2.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.

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, IterationsLeft)

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.

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.