Build Compound Flows
Learn how to build your own compound flow using Mira Flows SDK
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:
Configuration: Define your compound flow using YAML
Testing: Validate the entire processing pipeline
Deployment: Make your flow available
Execution: Run your multi-stage flow in production
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:
Step 3: Deployment
Deploy your compound flow to make it available:
Step 4: Execution
After deployment, execute your compound flow:
Step 5: Updates
When you need to modify your compound flow:
By following these steps, you can create, test, deploy, and manage your own custom compound flows on the Mira Flows platform. ππ§