Gr

Graph-Based Editor for LLM Workflows

Hacker News

Graph-Based Editor for LLM Workflows

Hey HN, We’re excited to share PySpur, an open-source tool that provides a graph-based interface for building, debugging, and evaluating LLM workflows. Why we built this: Before this, we built several LLM-powered applications that collectively served thousands of users. The biggest challenge we faced was ensuring reliability: making sure the workflows were robust enough to handle edge cases and deliver consistent results. In practice, achieving this reliability meant repeatedly: 1. Breaking down complex goals into simpler steps: Composing prompts, tool calls, parsing steps, and branching logic. 2. Debugging failures: Identifying which part of the workflow broke and why. 3. Measuring performance: Assessing changes against real metrics to confirm actual improvement. We tried some existing observability tools or agent frameworks and they fell short on at least one of these three dimensions. We wanted something that allowed us to iterate quickly and stay focused on improvement rather than wrestling with multiple disconnected tools or code scripts. We eventually arrived at three principles upon which we built PySpur : 1. Graph-based interface: We can lay out an LLM workflow as a node graph. A node can be an LLM call, a function call, a parsing step, or any logic component. The visual structure provides an instant overview, making complex workflows more intuitive. 2. Integrated debugging: When something fails, we can pinpoint the problematic node, tweak it, and re-run it on some test cases right in the UI. 3. Evaluate at the node level: We can assess how node changes affect performance downstream. We hope it's useful for other LLM developers out there, enjoy!

Share card

Actual performance

8points
5comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agent, user, visual · Missing: mac, agents, macos
89%89% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
74%74% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: excited, exist, lua · Missing: https docs, just released, open source
67%67% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: intuitive, interface, users · Missing: plus, platform, reviews
43%43% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: users · Missing: mobile apps, ios, personal
39%39% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
13%13% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Gr
Graph-Based Dungeon Generator81%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Graph-Based Dungeon Generator

Hacker News2
Eg
Egsis: Exploratory Graph-Based Semi-Supervised Image Segmentation36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Egsis: Exploratory Graph-Based Semi-Supervised Image Segmentation

Hacker News2
El
EliasDB a graph based database in Go66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

EliasDB a graph based database in Go

Hacker News6
Gr
GraphQL+-, a Variant of GraphQL for Graph DBs76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GraphQL+-, a Variant of GraphQL for Graph DBs

Hacker News7
A
A graph of the 'related entries' on Stanford Encyclopedia of Philosophy40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A graph of the 'related entries' on Stanford Encyclopedia of Philosophy

Hacker News1
Co
Covid-19, Graph the Curve46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Covid-19, Graph the Curve

Hacker News2
Rh
Rhythmic Graph55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rhythmic Graph

Hacker News1
El
Election Lie Graph32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Election Lie Graph

Hacker News2
We
Weighted # of Lies from Each Candidate (Graph)51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Weighted # of Lies from Each Candidate (Graph)

Hacker News3
Mo
MongoDB + GraphViz = mongo-graph57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MongoDB + GraphViz = mongo-graph

Hacker News14