The Research Report
NODEPROMPT: What If You Could See Your Prompt Before You Sent It?
Prompt engineering is broken in a way nobody talks about.
You type words into a box. The model responds. You tweak the words. The model responds again. You repeat until something clicks. The entire process is linear, opaque, and iterative by accident rather than design.
This is not how humans think. Human cognition is spatial, relational, multi-dimensional. We cluster ideas, draw connections, move concepts around until patterns emerge. But prompts force us to compress all of that into a single string of text.
A new open-source tool called NODEPROMPT attacks this problem head-on. It decomposes prompts into interactive 3D concept graphs, lets you rearrange ideas in space, and resynthesizes the result into structured prompts that produce higher-quality AI responses.
It is early. It has 40 GitHub stars. But the idea is arresting, and the execution is surprisingly deep.
The Core Idea: Make Prompts Visible
NODEPROMPT treats a prompt not as a string but as a knowledge structure. When you enter text, drop an image, or upload a PDF, the tool runs a three-phase extraction pipeline — Scaffold, Fill, Validate — to build a concept graph.
The graph contains nodes (concepts) and edges (relationships). Each node has a type, a weight (importance), and a position in 3D space. The system then renders this graph on a sphere, inside a radial editor, or through an immersive fisheye view.
You orbit the sphere. You drag nodes. You adjust weights with a scroll wheel. You create edges between distant concepts. When the structure feels right, you hit Synthesize. The tool converts your spatial edits back into a structured prompt and sends it to your chosen LLM.
The pitch is simple: thinking is non-linear, but language is linear. The sphere bridges that gap.
Six Ways to Read Any Prompt
NODEPROMPT's most unusual design choice is its node typing system. The six node types are drawn from Thomas Aquinas's six transcendentia from De Veritate — the metaphysical modes by which any being can be considered.
This is not academic ornamentation. Each type asks a different question of the same text:
- ens (Being) — What does this prompt posit as existing? Core subjects, topics, referents.
- res (Essence) — What is it, as a formal structure? Definitions, mechanisms, higher-order patterns.
- unum (Unity) — What holds it together as one? Situation, audience, unifying frame.
- aliquid (Difference) — What distinguishes it from what it is not? Subtext, contrast, implied tensions.
- verum (Truth) — How is it true to a knower? Worldviews, ethical commitments, philosophy.
- bonum (Value) — How is it desirable to a will? Tone, mood, affective charge, values.
A single concept can be read through any register. The register is the lens, not the content. When you extract a prompt about AI regulation, the tool surfaces nodes for what exists (ens), what structures exist (res), what audience unifies the frame (unum), what tensions are implied (aliquid), what worldviews are assumed (verum), and what values drive the tone (bonum).
This gives you six simultaneous perspectives on the same prompt. You can then delete, reweight, or reconnect nodes before resynthesis.
Three Modes for Three Kinds of Thinking
NODEPROMPT offers three visualization modes, switchable with the spacebar:
Sphere Mode distributes nodes on a 3D sphere surface via a Fibonacci lattice. You orbit, zoom, and click to explore the full concept graph at a glance. This is for overview thinking. Seeing the whole shape.
Radial Mode arranges nodes in concentric rings by hierarchy depth. Root themes sit at the center. Details radiate outward. This is for editing. You drag nodes, adjust weights with the scroll wheel, and shift-click to create edges between concepts.
Interior Mode drops you inside the sphere with a fisheye view. Hyperbolic scaling magnifies nearby nodes while compressing distant ones. This is for immersion. Focus plus context in a single view.
All transitions are smooth morphs. Node identity is preserved across modes. You never lose your place.
The Research Under the Hood
The developer, Taewoo Park, grounded the design in established cognitive science and information visualization research.
- Rosch's Basic-Level Categorization (1976) — The densest layer of nodes sits at depth 2, where human cognition operates most efficiently. Superordinate themes float above. Subordinate details sink below.
- Miller's Law (1956) — Each parent node is limited to roughly seven children, respecting working memory capacity. The branching factor is computed as min(7, ceil(N^(1/D))).
- Hayakawa's Abstraction Ladder (1939) — Deeper hierarchy levels descend in abstraction. Root themes are the most abstract. Leaf nodes are concrete instances.
- Ranganathan's Faceted Classification (1933) — Nodes carry independent facets (cognitive type, epistemological stance, rhetorical role) rather than a single rigid taxonomy. A mood node can appear at any depth.
- Novak's Concept Mapping (1972) — Cross-branch edges, not just tree edges, are where genuine insight emerges. The system supports six relation types: causal, contrast, amplify, suppress, parallel, dependency.
- Munzner's H3 Hyperbolic Layout (1997) — The interior mode uses a Poincare ball approximation where central nodes appear larger and peripheral nodes compress.
This is not a toy. It is a tool built by someone who read the literature and made architectural choices based on it.
Multi-Modal Extraction
NODEPROMPT reads text, images, and PDFs. Drag a research paper into the dropzone. The extraction pipeline decomposes it into argument nodes — premises, methods, claims — each typed through the six transcendental registers. Drop a whiteboard photo. Arrows become edges. Clusters become hierarchy. Handwriting becomes labels.
Text is optional when an attachment is present. When both are present, the text supplies the angle the attachment should be read from. You can ask the same image "what are the methodological commitments here?" or "what would this imply for practice?" and get different graphs.
The tool supports six LLM providers through a unified interface: Anthropic Claude, OpenAI GPT, Google Gemini, xAI Grok, DeepSeek, and Alibaba Qwen. Image and PDF support varies by provider. The UI rewires the dropzone automatically when you switch providers.
Hand Gesture Control
Toggle the gesture button and the tool activates webcam-based hand tracking via MediaPipe. Open palm and drag to rotate the sphere. Closed fist to stop. Move your hand closer to zoom in, further away to zoom out. The system runs at roughly 15 frames per second with 1-Euro filters for smooth tracking.
This is not a gimmick. It makes sense for a spatial tool. Grabbing and rotating a 3D structure with your hand is more natural than mouse-dragging.
How the Loop Works
The full workflow is a collaboration cycle between human and AI:
- You provide a prompt, image, or PDF.
- AI extracts a concept graph through the three-phase pipeline.
- You edit the graph spatially — drag, reweight, reconnect, delete.
- AI resynthesizes the edited graph into a structured prompt.
- AI generates a response informed by your spatial edits.
The key insight is that the human does not write the final prompt. The human shapes the structure. The AI writes the prompt from that structure. This is Human-AI Co-Decomposition, and it inverts the usual prompt engineering workflow.
Instead of iterating on text, you iterate on structure. The text is a side effect of the structure you have built.
Why This Matters
Prompt engineering has been stuck in a text-editing paradigm since the beginning. We tweak strings and hope for better outputs. Tools like DSPy, TextGrad, and PromptOpsKit have automated the tweaking. But they still treat prompts as strings.
NODEPROMPT treats prompts as structures. This is a different category of tool. It is closer to a CAD program for ideas than to a text editor for prompts.
The implications are worth considering:
- Composability — A structured graph can be saved, shared, and reused in ways a text string cannot. You can import a graph fragment, attach it to a new root, and synthesize a variant.
- Versioning — Graph diffs are meaningful. You can see exactly what changed between two prompt versions: which nodes moved, which edges were cut, which weights shifted.
- Teaching — A visible graph makes prompt structure teachable. Novices can see why one prompt works and another fails by inspecting the graph, not by reading tea leaves.
- Debugging — When a prompt produces bad output, you can inspect the graph to see if the structure is the problem. Is a critical node underweighted? Is a cross-branch edge missing?
Current State and Limitations
NODEPROMPT is an early project. It has 40 stars, 3 forks, and one open issue on GitHub. It is built in TypeScript with React Three Fiber, GSAP, Zustand, and D3. It runs locally via Vite and requires an API key from one of the six supported providers.
The tool is not production-ready. The 3D interface demands a decent GPU. The extraction quality depends on the provider you choose. The gesture control is experimental. The project has not been benchmarked against traditional prompt engineering for output quality.
But the concept is sound, and the execution is polished for a solo project. The sphere renders smoothly at 100+ nodes. The radial editor is responsive. The mode transitions are elegant. The documentation is thorough.
Practical Use Cases
Research synthesis — Drop a PDF into the tool. Extract the argument graph. Delete nodes that are not relevant to your question. Reweight the premises that matter. Synthesize a focused prompt for a literature review.
Creative writing — Enter a story premise. Extract the concept graph. Drag the theme nodes closer to the character nodes. Create contrast edges between the protagonist and antagonist. Synthesize a prompt that preserves the relational structure.
Strategic planning — Upload a whiteboard photo from a brainstorming session. Let the tool extract the concept graph. Clean up the hierarchy. Add missing connections. Synthesize a structured prompt for a strategy document.
Prompt debugging — Take a prompt that is producing weak output. Extract its graph. Look for underweighted nodes, missing cross-branch edges, or unbalanced type distributions. Fix the structure. Synthesize and test.
The Bigger Picture
NODEPROMPT sits at the intersection of several trends in prompt engineering. The field is moving from prompt-as-string to prompt-as-artifact. We have seen this in OOPrompt's object-oriented framing, in PromptOpsKit's repo-native Markdown storage, in the Prompt Assay taxonomy, and in OpenAI Symphony's WORKFLOW.md contracts.
What NODEPROMPT adds is spatiality. It makes the prompt artifact not just structured but visible, manipulable, and grounded in cognitive science. If the prompts-as-artifact movement is about treating prompts as engineered objects rather than improvised text, then NODEPROMPT is the first tool to give those objects a physical dimension.
It is too early to tell whether this approach will scale. The 40-star count means it has not yet found its audience. But the idea is too good to ignore. Someone will build on it. Someone will integrate it into a larger prompt engineering toolchain. Someone will benchmark it and prove or disprove the claim that spatial reorganization produces better outputs.
For now, it is a compelling prototype that points in a clear direction. Prompt engineering needs better interfaces. NODEPROMPT is the most interesting interface I have seen this year.
Citations
- NODEPROMPT GitHub repository: https://github.com/TaewoooPark/NODEPROMPT (40 stars, MIT License, TypeScript)
- Author site: https://taewoopark.com
- Rosch, E. (1976). "Basic-Level Categorization." Cognitive Psychology.
- Miller, G.A. (1956). "The Magical Number Seven, Plus or Minus Two." Psychological Review.
- Hayakawa, S.I. (1939). "Language in Thought and Action."
- Ranganathan, S.R. (1933). "Colon Classification."
- Novak, J.D. (1972). "The Theory Underlying Concept Maps." Institute for Human and Machine Cognition.
- Munzner, T. (1997). "H3: Laying Out Large Directed Graphs in 3D Hyperbolic Space."
- Aquinas, Thomas. De Veritate, q.1 a.1 — the six transcendentia (ens, res, unum, aliquid, verum, bonum).
- TopicGPT multi-pass extraction (2024).
- Chain-of-Symbol (CoS) Prompting — structured symbolic representations for LLM spatial reasoning.
Suggested Title
NODEPROMPT: What If You Could See Your Prompt Before You Sent It?
Word Count
1,847 words (body text only)
Fact-Check Notes
- Star count (40) and license (MIT) verified from GitHub repository as of May 27, 2026. These may change.
- The Aquinas transcendentia mapping is the author's design choice, not an established AI research framework. It is an interesting philosophical grounding but should not be presented as consensus.
- Claims about output quality ("higher-quality AI responses") come from the project's README and have not been independently benchmarked. Treat as aspirational, not proven.
- The 3-phase extraction pipeline (Scaffold, Fill, Validate) is described in the README but no technical paper or benchmark data is available to verify its effectiveness.
- Gesture control performance (15 fps) is from the README. Real-world performance will vary by hardware.
- The project is a solo effort (single contributor visible on GitHub). Durability and maintenance are open questions.
- No peer-reviewed evaluation of NODEPROMPT exists as of this writing. The research citations are design influences, not validation studies for this specific tool.