What is Arium?
Arium is Flo AI’s powerful workflow orchestration engine for creating complex multi-agent workflows. It allows you to chain agents together, implement conditional routing, and build sophisticated AI systems.Basic Workflow Creation
Simple Agent Chain
Create a linear workflow with multiple agents:Conditional Routing
Route to different agents based on conditions:YAML-Based Workflows
Define entire workflows in YAML for easy management:Advanced Routing
LLM-Powered Routers
Use LLMs for intelligent routing decisions:ReflectionRouter
For A→B→A→C feedback patterns:PlanExecuteRouter
For Cursor-style plan-and-execute workflows:Workflow Patterns
Sequential Processing
Parallel Processing
Fan-out/Fan-in
Memory Management
Shared Memory
Custom Memory
Event Handling
Workflow Events
Error Handling
Retry Logic
Error Recovery
Performance Optimization
Parallel Execution
Caching
Best Practices
Workflow Design
- Keep it simple: Start with linear workflows before adding complexity
- Use meaningful names: Name agents and workflows descriptively
- Handle errors: Always implement error handling and recovery
- Test thoroughly: Test workflows with various inputs
Performance Tips
- Use appropriate models: Choose models based on task complexity
- Implement caching: Cache expensive operations
- Optimize routing: Use efficient routing logic
- Monitor performance: Use telemetry to track workflow performance

