erlang_adk (erlang_adk v0.2.5)

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.

Asynchronously delegate and correlate the reply with Ref.

Synchronously prompt an agent.

Stop an agent gracefully so its name can be reused.

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.

delegate(Pid, Message, ReplyToPid, Ref)

Asynchronously delegate and correlate the reply with Ref.

loop(WorkerPid, ReviewerPid, Prompt, MaxIterations)

parallel(Pids, Prompt)

parallel(Pids, Prompt, Timeout)

prompt(AgentPid, Message)

Synchronously prompt an agent.

sequential(Pids, Prompt)

spawn_agent(Name, LLMConfig, Tools)

Spawn a new agent.

stop_agent(AgentPid)

Stop an agent gracefully so its name can be reused.