Comfy Nodekit – build/serialize ComfyUI workflows in Python
Hello HN! I made Comfy Nodekit, a small library to make it easier to build and serialize ComfyUI workflows directly in Python. If you’ve ever tried to hand-craft large ComfyUI graphs or maintain JSON workflows by hand, you probably know how messy it gets once you reach a few dozen nodes. We needed a better way to generate and modify graphs programmatically, so we built this. Comfy Nodekit lets you create graphs with typed node factories, then export them back to the exact JSON format ComfyUI expects. It also introspects your running ComfyUI server to generate Python bindings for your custom…
In plain words
Comfy Nodekit is a Python library for building and exporting ComfyUI workflows programmatically. Instead of hand-crafting large JSON graphs, developers use typed node factories to create workflows in Python, then serialize them back to ComfyUI's expected format. It automatically generates Python bindings by introspecting a running ComfyUI server, including custom nodes, making it easier to manage and version complex workflows with hundreds of nodes.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hello HN! I made Comfy Nodekit, a small library to make it easier to build and serialize ComfyUI workflows directly in Python. If you’ve ever tried to hand-craft large ComfyUI graphs or maintain JSON workflows by hand, you probably know how messy it gets once you reach a few dozen nodes. We needed a better way to generate and modify graphs programmatically, so we built this. Comfy Nodekit lets you create graphs with typed node factories, then export them back to the exact JSON format ComfyUI expects. It also introspects your running ComfyUI server to generate Python bindings for your custom nodes automatically, so you don’t lose compatibility when your setup changes. We’re using this internally at Katalist to generate complex workflows with hundreds of nodes on the fly, things that would be impossible to manage and version. Highlights * Works with custom nodes (via /object_info) * Type-safe graph composition + JSON export * MIT license * No runtime overhead - just Python + JSON Why not just use ComfyScript or raw JSON? Because we wanted a Python-first, typed model that stays in sync with our ComfyUI server and is focused purely on composition, not on adding another runtime layer. Happy to answer questions what kinds of workflows we're building for our image generation task.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, October 2025
the whole month →

- SA
I went down the rabbit hole on a side project and ended up building this: Strange Attractors(https://blog.shashanktomar.com/posts/strange-attractors). It’s built with three.js. Working on it reminded me of the little "maths for fun" exercises I used to do while learning programming in early days. Just trying things out, getting fascinated and geeky, and being surprised by the results. I spent way too much time on this, but it was extreme fun. My favorite part: someone pointed me to the Simone Attractor on Threads. It is a 2D attractor and I asked GPT to extrapolate it to…
AI · Oct 2025 · blog.shashanktomar.com

- ASAutism Simulator▲779
Hey all, I built this. It’s not trying to capture every autistic experience (that’d be impossible). It’s based on my own lived experience as well as that of friends on the spectrum. I'm trying to give people a feel for what masking, decision fatigue, and burnout can look like day-to-day. That’s hard to explain in words, but easier to show through choices and stats. I'm not trying to "define autism". I’ve gotten good feedback here about resilience, meds, and difficulty tuning. I’ll keep tweaking it. If even a few people walk away thinking, "ah, maybe that’s why my coworker struggles in those…
Life & fun · Oct 2025 · autism-simulator.vercel.app
