Skip to content
DocumentationHello 👋

Graphical programming framework for AI apps

Barfi is a Flow Based Programming framework in Python that provides a graphical programming interface to build and share workflows for AI and data apps.

Introduction

A workflow in Barfi consists of a bunch of Blocks (tasks) connected together, and the info of how each Block is connected to each other is stored in a schema.

Barfi’s Python framework provides four main components for building these workflows:

  • barfi.flow.Block is the component that stores the executing function of the tasks.
  • barfi.flow.SchemaManager is the component to store and retrieve the schemas of the workflows.
  • barfi.flow.ComputeEngine is the component to execute/run the workflow stored in the schema against the blocks (tasks).
  • barfi.flow.streamlit.st_flow is the graphical interface to build the workflow. It is a streamlit component, which renders the interface in a streamlit app.