ComfyUI LLM Party: Local Ollama Agent Workflows Inside ComfyUI
From README links · today
Build multi-agent LLM pipelines as ComfyUI node graphs backed by local Ollama
What they did
They installed the comfyui_LLM_party custom node pack into an existing ComfyUI setup and pointed its LLM loader nodes at a local Ollama server instead of a cloud API. From there they built a small agent graph on the canvas: an Ollama-backed model node feeding a role/persona prompt node, a tool-call node, and a text output node, then chained a second agent node so the two could hand results back and forth in the radial/ring interaction pattern the README describes. They kept everything local so no API keys were needed, and used the pack's built-in RAG nodes to attach a small folder of domain documents as a knowledge base for the agent to retrieve from. Finally they wired the text output into an existing image workflow so the LLM's response could drive a prompt string for generation, which is the core reason the pack exists: merging LLM logic with image pipelines in one graph.
How it went
The graph runs end to end on a local machine with Ollama serving the model, and the agent-to-agent handoff plus RAG retrieval both work inside the ComfyUI canvas. Polish is moderate: it is a working prototype rather than a production service, and the visual node graph makes the logic easy to inspect and tweak. Latency depends heavily on the local model and hardware, and complex multi-agent loops can get slow or hard to debug on a crowded canvas.
Worth knowing
Requires a working ComfyUI install plus a running Ollama server with a pulled model; dependency conflicts during install are a known friction point per the README. Multi-agent loops can be slow and the canvas gets messy fast. RAG quality depends on your document chunking, and there is no built-in auth or multi-user isolation, so it is a local/single-user tool.
Wiring
Install the pack into ComfyUI/custom_nodes and restart ComfyUI so the LLM Party nodes appear. Run `ollama serve` and `ollama pull <model>` locally. In the graph, add an Ollama model loader node, connect it to a role/prompt node, then to a tool-call or agent node, and finally to a text output node. For RAG, add the document loader and vector store nodes between the prompt and the model. To bridge into image generation, connect the text output to a CLIP text encode or prompt input node in the existing image workflow. For multi-agent, duplicate the agent node and connect outputs to each other's inputs in a ring or radial pattern.
Try it yourself
Set up comfyui_LLM_party in my ComfyUI custom_nodes folder, start a local Ollama server, and build a minimal two-agent graph: one Ollama model node with a role prompt, a tool-call node, and a text output that feeds a prompt into my existing image workflow. Add a RAG node over a docs/ folder and show me how to run it.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-comfyui-llm-party-and-ollamacurl -s https://api.runchr.com/api/recipes/runchr/stack-comfyui-llm-party-and-ollama/manifestSystem prompt
You are an assistant for building and running local LLM agent workflows as ComfyUI node graphs, backed by a local Ollama server. Work only through the comfyui-llm-party nodes and the Ollama runtime, keep everything local, and prefer small, inspectable graphs over large ones.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-comfyui-llm-party-and-ollama/manifest.