Skip to content

FlowGram is an extensible workflow development framework with built-in canvas, form, variable, and materials that helps developers build AI workflow platforms faster and simpler.

License

Notifications You must be signed in to change notification settings

bytedance/flowgram.ai

Repository files navigation

Image

License @flowgram.ai/editor Ask DeepWiki juejin

FlowGram|Workflow development framework

English | 中文 | Español | Русский | Português | Deutsch | 日本語

FlowGram is a composable, visual, easy-to-integrate, and extensible workflow development framework & toolkit. Our goal is to help developers build AI workflow platforms faster and simpler. FlowGram comes with a suite of built-in tools for workflow development: flow canvas, node configuration form, variable scope chain, and ready-to-use materials (LLM, Condition, Code Editor etc). It’s not a ready-made workflow platform; it’s the framework and toolkit to build yours.

Learn more at FlowGram.AI 🌐

🎬 Demo

flowgram-loop-weather.mp4.mp4

Open in CodeSandbox 🌐 or StackBlitz 🌐

In this demo, we iterate through a list of cities, fetch real-time weather via HTTP, parse temperatures with a Code node, generate outfit suggestions with an LLM, gate by a Condition, aggregate results across the loop, and finally use an Advisor LLM to pick the most comfortable city before sending the result to the End node.

🚀 Quick Start

  1. Create a new FlowGram project:
npx @flowgram.ai/create-app@latest

We recommend choosing the Free Layout Demo ⭐️ template.

  1. Start the project:
cd demo-free-layout
npm install
npm start
  1. Open http://localhost:3000 in your browser.

✨ Features

Feature Description Demo
Free Layout Canvas Free layout canvas where nodes can be placed anywhere and connected using free-form lines. Free Layout Demo
Fixed Layout Canvas Fixed layout canvas where nodes can be dragged to specified positions, with support for compound nodes like branches and loops. Fixed Layout Demo
Form The form engine manages the CRUD operations of node data and provides rendering, validation, side effects, linkage, and error-capturing capabilities, simplifying the development of node configurations. Form
Variable The variable engine supports scope constraints, variable structure inspection, and type inference, making it easy to manage data flow within the workflow. Variable

📖 Documentation

You can find the FlowGram documentation on the website.

The documentation is divided into several sections:

🙌 Contributors

FlowGram.AI Contributors

🌍 Adoption

  • Coze Studio is an all-in-one AI agent development tool. Providing the latest large models and tools, various development modes and frameworks, Coze Studio offers the most convenient AI agent development environment, from development to deployment.
  • NNDeploy is a workflow-based multi-platform ai deployment tool.
  • Certimate is an open-source SSL certificate management tool that helps you automatically apply for and deploy SSL certificates with a visual workflow. It is one of the ACME client options listed in the official documentation of Let's Encrypt.

📬 Contact us