Skip to main content

Comfy web UI Core

License: Apache 2.0

This project is the core framework of the comfy-webui project.

We have removed all specific application-layer feature modules, retaining only the most essential components: the dynamic workflow engine, UI/API/MCP generator, and backend management system.

Its goal is to provide developers with a clean, lightweight starting point for rapidly building custom, complex-workflow-oriented Gradio WebUI applications on top of the powerful ComfyUI platform. It is an ideal choice for rapid prototyping.


Core Features

While it doesn't include any specific generation features, comfy-webui-core provides a powerful set of underlying mechanisms:

  • Recipe-Driven Dynamic Workflows Define ComfyUI node blueprints using simple and intuitive YAML recipe files. The system dynamically and programmatically assembles these into a final, executable, and complex workflow JSON based on user input from the frontend.

  • Pluggable Chain Injectors The core framework includes chain injectors for common dynamic functionalities like LoRA, ControlNet, IP-Adapter, and Regional Conditioning. You can easily add these dynamic, stackable capabilities to your new workflows without manually handling complex node connection logic.

  • API & MCP Ready (Workflow as a Service) The framework is not just for building graphical interfaces; its architecture natively supports Gradio's API and MCP mechanisms. Developers can create an _mcp.py file within a module to encapsulate complex, recipe-driven workflows into simple, high-level API and MCP functions that can be called externally, allowing for easy integration with LLMs and AI Agents.

  • Multi-Backend Management It features a built-in intelligent system for managing connections to multiple backends. You can configure and connect to several different ComfyUI instances (e.g., on different devices or with different dependency environments) and allow various UI modules to schedule tasks to their designated backends.

  • Asynchronous Job Engine All generation tasks are executed asynchronously in the background. Tasks continue to run on the server even if the browser is closed or the network connection is lost.

  • Layered Configuration System Through a directory structure of yaml/ (base configuration) and custom/yaml/ (user-defined overrides), you can easily separate and merge global and personal settings. This makes project upgrades and customizations simple and conflict-free.

  • Modular UI Builder The core UI builder can automatically discover the modules you create (_ui.py) and generate the corresponding Gradio tabs and interface layouts based on the layout configuration file (ui_layout.yaml).

Target Audience

  • Developers who want to build highly customized web interfaces for ComfyUI.
  • Researchers or tech enthusiasts who need to quickly validate specific complex workflows and provide them with a simple UI.
  • Developers looking to encapsulate complex ComfyUI workflows into standard MCP tools for easy integration with LLMs and AI Agents.
  • Teams seeking a standardized foundational framework for developing in-house AI generation tools.

Learn About the Full Version

To see a full-featured implementation, more comprehensive module examples, and advanced usage, please refer to the main project: comfy-webui.


📄 License

  • Framework Code: This project's code is licensed under the Apache License, Version 2.0. See the LICENSE and NOTICE files for details.
  • Notice on Usage: When modifying or redistributing this core framework, please comply with Section 4 of the Apache 2.0 License by retaining copyright notices and prominently stating any file changes.

Metadata

Release files for comfy-webui-core 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comfy-webui-core 0.1.3
File Size Uploaded Provenance Actions
comfy_webui_core-0.1.3.tar.gz 39.0 kB Without provenance Details for comfy_webui_core-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for comfy-webui-core 0.1.3
File Interpreter ABI Platform Actions
comfy_webui_core-0.1.3-py3-none-any.whl Python 3 none any Details for comfy_webui_core-0.1.3-py3-none-any.whl

Total release size: 84.0 kB

Release files / comfy_webui_core-0.1.3.tar.gz

Download URL comfy_webui_core-0.1.3.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
33c2a8982f1b877fbb6c2e97959dc7e2117461db1d4da485eb34284c9632126b
BLAKE2b-256 checksum
How to use checksums
b184de3541954ae5f95d46e703c60087fe2707ccb2e24bb45168dcaa318f2b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / comfy_webui_core-0.1.3-py3-none-any.whl

Download URL comfy_webui_core-0.1.3-py3-none-any.whl
Size 44.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5645300228a111495177951db823cf86f00f856591a4b277256bdd4f55860e4
BLAKE2b-256 checksum
How to use checksums
4583b136c314af2acb412a5b6bc016f88d2816b2ef05f1aa43651f60e8901655
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for comfy-webui-core 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page