Introducing Daggr: Chain apps programmatically, inspect visually
Blog post from HuggingFace
Daggr is an innovative open-source Python library designed to streamline the development of AI workflows by connecting Gradio apps, machine learning models, and custom functions. It simplifies the process of building complex AI pipelines by automatically generating a visual canvas that allows users to inspect intermediate outputs, rerun individual steps, and manage states without the need to execute entire workflows. With seamless integration with Gradio Spaces, Daggr enables the use of public or private Spaces as nodes in workflows and supports state persistence for efficient experimentation. The library offers three types of nodes—GradioNode, FnNode, and InferenceNode—each supporting different functionalities such as API calls, custom functions, and model inference. Despite being in beta, Daggr aims to facilitate rapid AI development with minimal setup, offering opportunities for developers to share workflows and provide feedback for future enhancements.