You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/multi_agent/graphworkflow_examples/README.md

25 lines
1.2 KiB

# Graph Workflow Examples
This directory contains examples demonstrating graph-based workflow patterns for multi-agent systems.
## Examples
- [advanced_graph_workflow.py](advanced_graph_workflow.py) - Advanced graph-based workflows
- [graph_workflow_basic.py](graph_workflow_basic.py) - Basic graph workflow
- [graph_workflow_example.py](graph_workflow_example.py) - Complete graph workflow example
- [graph_workflow_validation.py](graph_workflow_validation.py) - Workflow validation
- [test_enhanced_json_export.py](test_enhanced_json_export.py) - JSON export testing
- [test_graph_workflow_caching.py](test_graph_workflow_caching.py) - Caching tests
- [test_graphviz_visualization.py](test_graphviz_visualization.py) - Visualization tests
- [test_parallel_processing_example.py](test_parallel_processing_example.py) - Parallel processing tests
## Subdirectories
- [graph/](graph/) - Core graph utilities
- [example_images/](example_images/) - Visualization images
## Overview
Graph workflows enable complex, non-linear agent interactions where agents are nodes and their relationships form edges. This allows for sophisticated workflows with conditional paths, parallel branches, and dynamic routing based on intermediate results.