What it can do
- Find templates, models, and nodes available in your ComfyUI environment.
- Build a workflow from a template and customize its prompts and settings.
- Change part of the current workflow without rebuilding the rest.
- Add, connect, configure, and remove nodes.
- Validate a workflow before running it.
- Inspect images and read video or audio properties.
- Run workflows and return their outputs.
Where you can use it
Comfy Agent is separate from Comfy MCP and Comfy CLI. MCP connects an external AI client to Comfy. The CLI is for terminal and script workflows. Comfy Agent works in the ComfyUI interface.
To make your first image, follow Get started with Comfy Agent.
Choose which workflow to edit
Use the workflow selector in the Agent panel to choose the workflow to edit, then send your message. Switching to another tab while the Agent is responding does not redirect its edits. The Agent cannot create or switch tabs itself. To work elsewhere, open the other workflow, choose it in the Agent panel, and send a new message. The Agent can read another open or saved workflow for comparison without loading it into the current tab. For example:Compare this workflow with my portrait workflow and use the same sampler settings here.
Build and edit workflows
For a new workflow, open a blank workflow tab and choose it in the Agent panel. The Agent searches for a matching template before building from individual nodes. A template includes a connected graph and an output node. For changes to an existing workflow, name the part you want changed and what should stay the same:- “Change the prompt to a watercolor landscape. Keep the model and sampler settings.”
- “Add an upscaling stage after image generation.”
- “Switch this workflow to Flux using models installed here.”
Validate before running
The Agent checks node connections, model names, required values, and output nodes before a run. It separates workflow errors from inputs that only you can provide. If the workflow is valid but still needs an image, video, or other input, attach the file and ask the Agent to continue.Work with media
The Agent can inspect the visible contents and dimensions of a still image. For video, it can read the duration, dimensions, frame rate, and format. For audio, it can read the duration, format, and audio tracks. Use Attach a file in the message box to add an image or file. You can also drag media into the conversation.
Media editing requires the media tools to be available in your installation. In Cloud, edited files are saved to your asset library. The Agent returns a preview or file link in the conversation.
Run permissions
Choose a run permission next to the message box:- Ask requests approval before each workflow run.
- Auto runs workflows without asking for each run.
What the Agent can use
The Agent uses your message, selected workflow, selected nodes, attachments, and workflow errors. It can also read another workflow when you ask it to compare or reuse settings. For Cloud and local data flow, chat history, and privacy controls, see Comfy Agent data and privacy.Stop or cancel
Select Stop in the message box to stop the Agent’s current response. Workflow execution has separate controls in the run and queue area; use those to manage a workflow that has already been submitted.Next steps
Make your first image
Build, run, and revise an image workflow.
Agent skills
Create and use reusable Agent instructions.
Access
Join the waitlist
Request access to Comfy Agent.