This directory contains example scripts demonstrating SoloFlow's capabilities.
cd SoloFlow
python examples/01_basic_workflow.py01_basic_workflow.py- Basic workflow creation and execution02_scheduler_and_memory.py- Scheduler and memory integration03_error_handling.py- Error handling and recovery
04_mcp_tools.py- MCP tools integration05_trace_system.py- Trace system for observability06_ebbinghaus_memory.py- Ebbinghaus forgetting curve memory07_discipline_routing.py- Discipline-aware task routing08_skill_evolution.py- Skill auto-evolution
Each example is self-contained and can be run independently:
# Basic workflow
python examples/01_basic_workflow.py
# MCP tools
python examples/04_mcp_tools.py
# Trace system
python examples/05_trace_system.pyUse the examples as templates for your own workflows. Key patterns:
- Initialize store and services
- Define workflow steps and edges
- Execute and monitor
- Handle results