erlang_adk (erlang_adk v0.1.0)

View Source

Summary

Functions

Asynchronously delegate a task to an agent (fire and forget).

Asynchronously delegate a task to an agent and receive a message when done.

Synchronously prompt an agent.

Functions

delegate(Pid, Message)

Asynchronously delegate a task to an agent (fire and forget).

delegate(Pid, Message, ReplyToPid)

Asynchronously delegate a task to an agent and receive a message when done.

loop(WorkerPid, ReviewerPid, Prompt, MaxIterations)

parallel(Pids, Prompt)

prompt(AgentPid, Message)

Synchronously prompt an agent.

sequential(Pids, Prompt)

spawn_agent(Name, LLMConfig, Tools)

Spawn a new agent.