ComfyAI
The Intelligent AI Assistant for ComfyUI — chat, plan, edit workflows, and automate tasks with local or cloud LLMs.
<p align="center"> <!-- Core repo stats --> <a href="https://github.com/OGbilboswagins/ComfyAI/stargazers"> <img src="https://img.shields.io/github/stars/OGbilboswagins/ComfyAI?style=for-the-badge&logo=github&color=yellow" alt="GitHub Stars"> </a> <a href="https://github.com/OGbilboswagins/ComfyAI/issues"> <img src="https://img.shields.io/github/issues/OGbilboswagins/ComfyAI?style=for-the-badge&logo=github" alt="GitHub Issues"> </a> <a href="https://github.com/OGbilboswagins/ComfyAI"> <img src="https://img.shields.io/github/last-commit/OGbilboswagins/ComfyAI?style=for-the-badge&logo=git" alt="Last Commit"> </a> <a href="https://github.com/OGbilboswagins/ComfyAI/releases"> <img src="https://img.shields.io/github/v/release/OGbilboswagins/ComfyAI?style=for-the-badge" alt="Latest release"/> </a> <!-- Size / license --> <a href="https://github.com/OGbilboswagins/ComfyAI"> <img src="https://img.shields.io/github/repo-size/OGbilboswagins/ComfyAI?style=for-the-badge&logo=github" alt="Repo Size"> </a> <a href="https://github.com/OGbilboswagins/ComfyAI/blob/main/LICENSE"> <img src="https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge" alt="License: MIT"> </a> <!-- Funding --> <a href="https://github.com/sponsors/OGbilboswagins"> <img src="https://img.shields.io/badge/Sponsor-❤-ff69b4?style=for-the-badge&logo=githubsponsors" alt="GitHub Sponsors"> </a> <a href="https://paypal.me/ogbilboswaggins"> <img src="https://img.shields.io/badge/Donate-PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white" alt="Donate via PayPal"> </a> <!-- ComfyUI Manager / Registry Badge --> <a href="#"> <img src="https://img.shields.io/badge/ComfyUI%20Manager-Available-0f766e?style=for-the-badge" alt="Available via ComfyUI Manager"> </a> </p>
🛈 What Is ComfyAI?
ComfyAI is a fully embedded AI assistant panel for ComfyUI, inspired by tools like Continue.dev but purpose-built for AI image generation and node-based workflows.
It lets you:
- 🗨️ Chat with LLMs directly inside ComfyUI
- ⚡ Plan and debug workflows in natural language
- 🎛 Switch between local and cloud models via providers
- ⚙️ Configure everything through a fullscreen settings panel
- 🛠 (Roadmap) Use AI-powered modes like Chat / Plan / Edit to control how the assistant behaves
All without leaving the ComfyUI interface.
⭐ Key Features
🗯️ Integrated Chat Panel
- Side-panel button in the ComfyUI sidebar
- Sliding chat panel that matches ComfyUI’s dark theme
- ChatGPT-style bubbles with markdown & code blocks
- Animated 3-dot typing indicator
- Auto-scroll that doesn’t fight with you
- Local history persistence
🛠️ Fullscreen Settings Panel
- Opens from the chat footer via a settings icon
- Covers the chat UI with a dedicated settings layout
- Left-hand sidebar with icons for:
- General
- Appearance
- Chat Behavior
- Providers & Models
- Advanced
- All settings persisted under the ComfyUI
user/default/ComfyUI-ComfyAIdirectory - Backed by
/api/comfyai/settingsin the Python backend
🧩 Provider & Model Management
- Backend provider manager detects configured providers
- Designed for:
- Ollama (local models)
- OpenAI-compatible APIs
- Google Gemini
- More providers as the project evolves
- UI model dropdown groups models by provider
- Settings panel supports:
- Default provider
- Default model per mode (Chat / Plan / Edit) — roadmap
📦 Installation
1. Via ComfyUI Manager (Recommended)
- Open ComfyUI Manager inside ComfyUI.
- Search for "ComfyAI".
- Click Install or Update.
- Restart ComfyUI.
ComfyAI is published to the official ComfyUI Registry, so Manager can detect and manage it automatically.
2. Manual Install (Git)
From your ComfyUI root directory:
cd custom_nodes
git clone https://github.com/OGbilboswagins/ComfyAI.git ComfyUI-ComfyAI
Then restart ComfyUI.
3. ZIP Download
Download the latest release ZIP from:
👉 https://github.com/OGbilboswagins/ComfyAI/releases
Extract into ComfyUI/custom_nodes/ComfyAI and restart.
⚙️ Configuration
ComfyAI stores settings in:
COMFYUI_ROOT/user/default/ComfyUI-ComfyAI/settings.json
You can:
- Edit them via the Settings UI.
- Read/write via the HTTP API:
GET /api/comfyai/settingsPOST /api/comfyai/settings
- Manually edit the JSON while ComfyUI is stopped.
See docs/settings.md for the detailed schema.
⭐ Basic Usage
- Start ComfyUI
- Click the ComfyAI button in the left sidebar (above the Queue tab)
- The chat panel will slide in from the left
- Use the input at the bottom to chat with the selected model
- Click the ⚙️ settings icon in the footer to open the fullscreen settings panel
- Configure your theme, auto-scroll, streaming, default provider and (eventually) per-mode defaults
🗺 Roadmap
See ROADMAP.md for a living roadmap. Highlights:
- [x] Floating chat panel with streaming
- [x] Backend provider + settings APIs
- [x] Fullscreen settings UI with tabs
- [ ] Mode selector (Chat / Plan / Edit)
- [ ] Per-mode model defaults and behavior knobs
- [ ] MCP tools integration
- [ ] Workflow rewrite and automation helpers
- [ ] Deeper integration with ComfyUI’s queue and workflow graph
🖌️ Contributing
Contributions of all kinds are welcome:
- Bug fixes
- New features (web search, tools, workflow automation)
- UI/UX improvements
- Docs and examples
- Provider integrations
Please see:
And feel free to start a conversation in:
- Discussions → https://github.com/OGbilboswagins/ComfyAI/discussions
❤️ Support & Sponsorship
If ComfyAI makes your workflow better, consider supporting its development:
- Star the repo on GitHub
- GitHub Sponsors: https://github.com/sponsors/OGbilboswagins
- PayPal Tips: https://paypal.me/ogbilboswaggins
Even small recurring sponsorships help justify time spent building new features, testing changes with ComfyUI updates, and keeping docs up to date.
🛡 Security & Privacy
- ComfyAI does not send data anywhere you haven’t configured.
- Local providers like Ollama keep data on your machine.
- Cloud providers (OpenAI, Gemini, etc.) depend on their privacy policies.
- API keys are stored in your local configuration and never hard-coded in the repo.
If you discover a security issue, please follow the process described in SECURITY.md.
🗒️ License
ComfyAI is released under the MIT License. See LICENSE for full details.
<!-- SEO Keywords for search engines: ComfyAI, Comfy UI AI Assistant, ComfyUI chat panel, ComfyUI plugin, AI copilot for ComfyUI, Ollama ComfyUI, OpenAI ComfyUI integration, Gemini ComfyUI, MCP ComfyUI, ComfyUI LLM, AI workflow assistant, ComfyUI custom node, ComfyUI Manager plugin, Continue.dev alternative -->