Executor
The Executor agent runs the code the Engineer wrote — treat it with respect
- LLM
- Agent
The Executor is where NodeGPT's promise - "automated task solving with code generation, execution & debugging" - actually happens. The Engineer writes the Python, and the Executor runs it, catches the errors, and feeds them back into the loop. It's the pack's flagship workflow made real: Task_Solving_with_Code_Generation wouldn't solve anything if the generated code just sat there looking pretty.
In AutoGen terms this is the tool-calling agent - the one that actually touches the machine. And that's exactly why it deserves a moment of your attention before you wire one up. In ComfyUI's world, custom nodes already run arbitrary Python with your user account (the ecosystem's own security writing is on the wall about this, from the LLMVISION malware incident to the general "no sandboxing" problem). The Executor stacks an LLM on top of that: a model writes code and this node runs it. The author was scrupulous about the human-in-the-loop framing - the demo is a chat where you approve steps - and that's the right instinct.
Inputs and output
- LLM - required, from any provider. The Executor's own smarts are thin; most of what it does is hand the code off.
- Seed / Temp - default 0. For an execution agent you want consistency.
- request_timeout - 120s default; long-running code will trip this, so expect to raise it.
Output: Agent, to be placed in a GroupChat alongside the Engineer (and ideally a Critic).
Where it goes sideways
Two things you'll actually hit. First, the pack was unfinished and openly so - "not everything is functioning correctly yet" - and community reports described agents echoing input and chats that wouldn't terminate, so a long agent loop meant killing the whole queue. Second, and more seriously: running AI-generated code is the part that can actually hurt you. If you reconstruct this idea with a maintained framework, keep the sandboxing story straight and never let an unconstrained agent run anything destructive. In 2026 the Executor is a historical lesson, not an install target: xXAdonesXx/NodeGPT returns 404 and the author's account is gone, so the README's clone path below is dead and ComfyUI Manager can't help.
cd ComfyUI/custom_nodes
git clone https://github.com/xXAdonesXx/NodeGPT
Restart to auto-install requirements. The lesson that survives: separating "write" from "run" - and keeping a human between them - was the pack's best design call, and it's one worth stealing.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| LLM | LLM | — | |
| Seedopt | INT | 42 | — |
| Tempopt | INT | 0 | — |
| request_timeoutopt | INT | 120 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Agent | Agent | — |