Current section
Files
Jump to
Current section
Files
lib/agent_builder.ex
# Work in progress. Do not use.
# See https://microsoft.github.io/autogen/blog/2023/11/26/Agent-AutoBuild/
defmodule Autogen.AgentBuilder do
defstruct builder_model: nil, agent_model: nil, agent_list: [], agent_configs: []
def build_agents(_builder_task, _llm_config, _enable_coding) do
end
def start_task(_execute_task, _agent_list, _llm_config) do
# agents have been constructed, now initiate a groupchat among them to execute the task
end
def save(_agent_builder) do
# serialize to a string or a file
end
def load(_raw_str) do
# parse the given string or read the file and deserialize
%Autogen.AgentBuilder{}
end
end