Skip to main content
This guide explains how to create, test, and deploy compound flows that implement complex, multi-stage processing pipelines. Compound flows provide sophisticated capabilities for implementing business logic, custom processing stages, and integration with existing elemental flows. 🔄💡

Development Lifecycle

Creating a compound flow follows a systematic process:
1

Configuration: Define your compound flow using YAML

2

Testing: Validate the entire processing pipeline

3

Deployment: Make your flow available

4

Execution: Run your multi-stage flow in production

5

Updates: Iterate and improve

Let’s explore each step in detail.
Use OpenAI (gpt-4o) or Anthropic (claude-3.5-sonnet) models when building complex workflows to ensure optimal performance. Checkout Available Models

Step 1: YAML Configuration


Step 2: Testing

Test your compound flow to ensure all stages work correctly:
Python

Step 3: Deployment

Deploy your compound flow to make it available:
Python

Step 4: Execution

After deployment, execute your compound flow:
Python

Step 5: Updates

When you need to modify your compound flow:
Python
By following these steps, you can create, test, deploy, and manage your own custom compound flows on the Mira Flows platform. 🌟🔧