A collection of nodes for using Autogen with ComfyUI a/AutoGen: assistant agents, group chats, code executor, etc.
A collection of nodes for using Autogen with ComfyUI
[AutoGen Stable]: assistant agents, group chats, code executor, etc.
Autogen Model
autogen_ext.models
.Autogen Assistant Agent
AssistantAgent
from autogen_agentchat.agents
.tools
folder), temperature, max tokens, etc.Autogen Code Executor
CodeExecutorAgent
from autogen_agentchat.agents
with a local command-line executor.Autogen Group Chat
RoundRobinGroupChat
to let multiple agents interact in a conversation.Place the ComfyUI-Autogen folder into your ComfyUI/custom_nodes/
directory.
Activate the same Python environment (or virtual environment) that ComfyUI uses, then run:
pip install -r requirements.txt
The nodes should appear under the “Autogen” category in your ComfyUI interface.
autogen-core
autogen-ext
autogen-agentchat
This example uses the Company Research sample from Autogen [here]
*note the
analyze_stock
tool uses the yfinance
library to retrieve stock information. It will need to be installed for this tool to work.
Feel free to open issues or pull requests if you run into bugs, have ideas, or want to contribute enhancements. Feedback is welcome to help improve these nodes and their capabilities.