# ComfyUI

> Canonical: https://skillalmanac.com/glossary/comfyui | Last verified: 2026-11-24 | Index status: not offered to search engines

ComfyUI is an open-source, node-based application for generative AI. You connect nodes into a graph to run image, video, audio and 3D models locally or in the cloud. It runs models and is not itself a model.

Also called: Comfy UI.

## In plain language

ComfyUI is a free program for making AI images and other media by wiring together building blocks. Each block does one job, such as loading a model, writing a prompt or saving a picture, and you draw lines between them to make a recipe you can save and reuse. Think of a patch bay in a music studio: powerful once you learn it, but it asks more of you than a single text box. Check each model's licence before commercial use.

## Technical definition

ComfyUI is a node-graph interface and inference engine: each node wraps an operation such as loading a checkpoint, encoding a prompt or sampling, and links carry data between them. As of 2026-11-24, its documentation describes image, video, audio and 3D generation, and says it can run locally, on a server or in the cloud. The README on GitHub lists a GPL-3.0 licence, workflows saved and loaded as JSON, custom nodes installed through ComfyUI-Manager, a local API, and Windows, Linux and macOS support. Wikipedia describes it as using diffusion models such as Stable Diffusion as its base, with each tool as a node, and reports that a ComfyUI extension was compromised in 2024.

## How it shows up when you use agents

ComfyUI is a way to run [diffusion models](/glossary/diffusion-model) and other generative models, such as [Stable Diffusion](/glossary/stable-diffusion), from a graph of nodes. It is the image and media counterpart of running a [self-hosted LLM](/glossary/self-hosted-llm): the software and models live on your machine or server. It is not an [AI assistant](/glossary/ai-assistant) that you chat with, and it is not a coding agent.

You meet it in agent work when a project needs generated assets. A saved workflow is a JSON file, and the README describes a local API, so a script or a coding agent such as [Claude Code](/tools/claude-code) can in principle be asked to build tooling around one. The [What is Claude Code](/learn/what-is-claude-code) guide covers that tool, and [AI coding assistant vs coding agent](/learn/ai-coding-assistant-vs-coding-agent) explains what an agent does.

What breaks when this is misunderstood: people install custom nodes without checking them, or use a model whose licence does not allow their purpose. Wikipedia reports that a ComfyUI extension was compromised in 2024, so treat third-party nodes as code you run. A next step is to read the licence of each model and the source of each custom node before use, and see [open-weights models](/glossary/open-weights-model) for how licences differ.

ComfyUI is a project of its maintainers on GitHub, who own the name; Skill Almanac is independent and not affiliated with them.

## Common confusions

- **Interface versus model.** ComfyUI is the interface and engine. The models it loads, such as Stable Diffusion, are separate downloads with their own licences.
- **Open source versus free of cost.** The README lists a GPL-3.0 licence for ComfyUI itself. It can also call paid API nodes, and an offline flag turns those off.
- **Workflow versus agent.** A ComfyUI workflow is a graph you design. It runs the steps you wired, not steps a model chooses.
- **Myth: a graph needs coding.** The README points to learning to build workflows; this entry makes no claim about code.

## Worked examples in this catalogue

### [image-prompt-direction](https://skillalmanac.com/skills/skill-almanac/image-prompt-direction)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Writes image prompts like an art director and lints them for gaps, contradictions and rights problems.

Why it exercises the concept: A ComfyUI graph contains a text prompt node. This skill is an adjacent way to write a clearer prompt for any image tool, and it does not connect to ComfyUI.

### [local-model-sizing](https://skillalmanac.com/skills/skill-almanac/local-model-sizing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Works out whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes memory per quantization.

Why it exercises the concept: It covers language models, not image models, so it does not size ComfyUI workloads. It shows the same question a local runner faces: whether a model fits your hardware.

### [Self-Hosting an AI Agent: What You Take On](https://skillalmanac.com/learn/self-hosted-ai-agent-considerations)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills, with a checklist and decision points.

Why it exercises the concept: ComfyUI is software you can run yourself. An adjacent read: the guide covers AI agents on your machine, not image tools.

### [AI Coding Assistant vs Coding Agent: What Each Can Change](https://skillalmanac.com/learn/ai-coding-assistant-vs-coding-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A comparison of autocomplete, chat and agents: autocomplete suggests, chat answers, and an agent edits files and runs commands, with advice on setting approval before an agent acts.

Why it exercises the concept: ComfyUI runs workflows you design and is not an agent that chooses its own steps. The guide helps draw that line.

## Related terms

- [Diffusion model](https://skillalmanac.com/glossary/diffusion-model.md)
- [Stable Diffusion](https://skillalmanac.com/glossary/stable-diffusion.md)
- [Text-to-image](https://skillalmanac.com/glossary/text-to-image.md)
- [Self-hosted LLM](https://skillalmanac.com/glossary/self-hosted-llm.md)
- [Open-weights model](https://skillalmanac.com/glossary/open-weights-model.md)
- [ControlNet](https://skillalmanac.com/glossary/controlnet.md)

## Sources

- [ComfyUI documentation](https://docs.comfy.org/), Comfy Org (accessed 2026-11-24)
- [ComfyUI (README)](https://github.com/comfyanonymous/ComfyUI), GitHub (accessed 2026-11-24)
- [ComfyUI](https://en.wikipedia.org/wiki/ComfyUI), Wikipedia (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
