Hugging Facemerve, yuvraj sharma, Abubakar Abid, hysts, Pedro CuencaAnnouncement
Introducing Daggr: Chain apps programmatically, inspect visually
Summary
Building AI applications that connect multiple models and APIs often results in fragile scripts or requires complex production orchestration tools. To address rapid experimentation needs, Daggr introduces an open-source Python library created by the Gradio team for chaining AI workflows programmatically. Developers define workflows in Python code using components like GradioNode, FnNode, and InferenceNode, which automatically generate an interactive visual canvas served on port 7860. The interface allows users to inspect intermediate outputs, modify inputs, rerun individual pipeline steps without complete re-execution, and maintain persistent state across workspaces called sheets. Currently in beta, Daggr supports local execution with automatic fallback to remote APIs and integrates directly with Hugging Face Spaces.
Context
Developers building AI pipelines across multiple models often struggle with debugging fragile scripts, re-running entire workflows to trace failed steps, or managing heavyweight production orchestration platforms not suited for rapid experimentation.
Approach / What changed
Daggr provides a code-first Python library that constructs workflow graphs using GradioNode, FnNode, and InferenceNode, automatically rendering a visual canvas where users can inspect outputs, rerun specific steps, and persist workflow state.
Takeaways
Daggr supports three node types: GradioNode for Gradio Space endpoints or local clones, FnNode for custom Python functions, and InferenceNode for Hugging Face Inference Providers.
Setting run_locally=True on GradioNode automatically clones a Space into an isolated virtual environment and falls back to remote APIs if local execution fails.
The automatically generated visual canvas persists state, inputs, and cached results locally, allowing individual workflow steps to be rerun without executing the entire pipeline.
Source and freshness
- Source
- huggingface.co
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.