Files
ruflo/v2/examples/02-workflows/specialized/machine-learning-workflow.json
T
rUvandClaude Opus 4.5 1b6a1971f7 feat(v3): add comprehensive v3 implementation plans and swarm architecture
- Reorganize v3/ into implementation/ subfolders:
  - planning/, architecture/, migration/, integration/
  - security/, adrs/, research/, swarm-plans/

- Add 15-agent concurrent swarm implementation plans:
  - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases
  - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities
  - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology
  - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x)
  - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback
  - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies

- Update .claude/settings.json with proper hooks format
- Add bash aliases for claude --dangerously-skip-permissions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 15:40:51 +00:00

135 lines
3.6 KiB
JSON

{
"name": "Machine Learning Pipeline",
"description": "End-to-end ML workflow from data preparation to model deployment",
"agents": [
{
"id": "data-engineer",
"name": "Data Engineer",
"type": "analyzer",
"capabilities": ["data-cleaning", "feature-engineering", "etl"],
"tools": ["pandas", "numpy", "sklearn"]
},
{
"id": "ml-researcher",
"name": "ML Researcher",
"type": "researcher",
"capabilities": ["model-selection", "hyperparameter-tuning", "experimentation"],
"tools": ["sklearn", "tensorflow", "pytorch"]
},
{
"id": "ml-engineer",
"name": "ML Engineer",
"type": "developer",
"capabilities": ["model-training", "optimization", "pipeline-creation"],
"tools": ["mlflow", "kubeflow", "tensorflow"]
},
{
"id": "evaluator",
"name": "Model Evaluator",
"type": "tester",
"capabilities": ["model-evaluation", "metrics-analysis", "validation"],
"tools": ["sklearn", "matplotlib", "seaborn"]
},
{
"id": "deployer",
"name": "ML Ops Engineer",
"type": "devops",
"capabilities": ["model-deployment", "monitoring", "scaling"],
"tools": ["docker", "kubernetes", "prometheus"]
}
],
"tasks": [
{
"id": "data-preparation",
"name": "Prepare and Clean Data",
"agentId": "data-engineer",
"type": "data-processing",
"input": {
"dataset": "customer_churn.csv",
"operations": ["missing-values", "outliers", "normalization", "encoding"]
},
"output": {
"artifacts": ["cleaned_data.csv", "data_report.html"]
}
},
{
"id": "feature-engineering",
"name": "Engineer Features",
"agentId": "data-engineer",
"type": "data-processing",
"dependencies": ["data-preparation"],
"input": {
"techniques": ["polynomial", "interaction", "aggregation", "time-based"]
}
},
{
"id": "model-research",
"name": "Research Best Models",
"agentId": "ml-researcher",
"type": "research",
"dependencies": ["feature-engineering"],
"parallel": true,
"input": {
"algorithms": ["random-forest", "xgboost", "neural-network", "svm"],
"crossValidation": 5
}
},
{
"id": "model-training",
"name": "Train Final Model",
"agentId": "ml-engineer",
"type": "training",
"dependencies": ["model-research"],
"input": {
"selectedModel": "xgboost",
"hyperparameters": "auto-tune",
"distributed": true
}
},
{
"id": "model-evaluation",
"name": "Evaluate Model Performance",
"agentId": "evaluator",
"type": "testing",
"dependencies": ["model-training"],
"input": {
"metrics": ["accuracy", "precision", "recall", "f1", "auc-roc"],
"visualizations": ["confusion-matrix", "roc-curve", "feature-importance"]
}
},
{
"id": "model-deployment",
"name": "Deploy Model to Production",
"agentId": "deployer",
"type": "deployment",
"dependencies": ["model-evaluation"],
"input": {
"platform": "kubernetes",
"serving": "tensorflow-serving",
"monitoring": ["latency", "throughput", "drift"]
}
}
],
"execution": {
"mode": "pipeline",
"experiments": {
"tracking": true,
"comparison": true,
"versioning": true
},
"artifacts": {
"storage": "s3",
"retention": "30d"
}
},
"quality": {
"modelThresholds": {
"accuracy": 0.85,
"f1Score": 0.8
},
"dataQuality": {
"completeness": 0.95,
"validity": 0.98
}
}
}