Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/commands/flow-nexus/neural-network.md

rUv8d13d0a73b56
diff --git a/.claude/checkpoints/1757191012.json b/.claude/checkpoints/1757191012.json
new file mode 100644
index 0000000000..1bbde9ef1e
--- /dev/null
+++ b/.claude/checkpoints/1757191012.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250906-203651", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/workflow.md", "timestamp": "2025-09-06T20:36:52Z", "type": "pre-edit", "original_branch": "alpha101"}
diff --git a/.claude/checkpoints/1757191014.json b/.claude/checkpoints/1757191014.json
new file mode 100644
index 0000000000..f22e59d908
--- /dev/null
+++ b/.claude/checkpoints/1757191014.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250906-203654", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/workflow.md", "timestamp": "2025-09-06T20:36:54Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 590 +++++++++++-------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1757191007.json | 1 + .claude/checkpoints/1757191009.json | 1 + .claude/commands/flow-nexus/workflow.md | 115 ++++++ claude-flow-wiki | 0 7 files changed, 320 insertions(+), 395 deletions(-) "}
diff --git a/.claude/commands/flow-nexus/neural-network.md b/.claude/commands/flow-nexus/neural-network.md
new file mode 100644
index 0000000000..a759576c13
--- /dev/null
+++ b/.claude/commands/flow-nexus/neural-network.md
@@ -0,0 +1,134 @@
+---
+name: flow-nexus-neural
+description: Train and deploy neural networks in distributed sandboxes
+---
+
+# Flow Nexus Neural Networks
+
+Train custom neural networks with distributed computing.
+
+## Train Model
+```javascript
+mcp__flow-nexus__neural_train({
+ config: {
+ architecture: {
+ type: "feedforward", // lstm, gan, autoencoder, transformer
+ layers: [
+ { type: "dense", units: 128, activation: "relu" },
+ { type: "dropout", rate: 0.2 },
+ { type: "dense", units: 10, activation: "softmax" }
+ ]
+ },
+ training: {
+ epochs: 100,
+ batch_size: 32,
+ learning_rate: 0.001,
+ optimizer: "adam"
+ }
+ },
+ tier: "small" // nano, mini, small, medium, large
+})
+```
+
+## Run Inference
+```javascript
+mcp__flow-nexus__neural_predict({
+ model_id: "model_id",
+ input: [[0.5, 0.3, 0.2], [0.1, 0.8, 0.1]],
+ user_id: "your_id"
+})
+```
+
+## Use Templates
+```javascript
+// List templates
+mcp__flow-nexus__neural_list_templates({
+ category: "classification", // regression, nlp, vision, anomaly
+ tier: "free",
+ limit: 20
+})
+
+// Deploy template
+mcp__flow-nexus__neural_deploy_template({
+ template_id: "sentiment-analysis",
+ custom_config: {
+ training: { epochs: 50 }
+ }
+})
+```
+
+## Distributed Training
+```javascript
+// Initialize cluster
+mcp__flow-nexus__neural_cluster_init({
+ name: "training-cluster",
+ architecture: "transformer",
+ topology: "mesh",
+ consensus: "proof-of-learning",
+ wasmOptimization: true
+})
+
+// Deploy nodes
+mcp__flow-nexus__neural_node_deploy({
+ cluster_id: "cluster_id",
+ node_type: "worker", // parameter_server, aggregator
+ model: "large",
+ capabilities: ["training", "inference"]
+})
+
+// Start training
+mcp__flow-nexus__neural_train_distributed({
+ cluster_id: "cluster_id",
+ dataset: "mnist",
+ epochs: 100,
+ federated: true // Enable federated learning
+})
+```
+
+## Model Management
+```javascript
+// List your models
+mcp__flow-nexus__neural_list_models({
+ user_id: "your_id",
+ include_public: true
+})
+
+// Benchmark performance
+mcp__flow-nexus__neural_performance_benchmark({
+ model_id: "model_id",
+ benchmark_type: "comprehensive"
+})
+
+// Publish as template
+mcp__flow-nexus__neural_publish_template({
+ model_id: "model_id",
+ name: "My Custom Model",
+ description: "Highly accurate classifier",
+ category: "classification",
+ price: 0 // Free template
+})
+```
+
+## Common Patterns
+
+### Image Classification
+```javascript
+mcp__flow-nexus__neural_train({
+ config: {
+ architecture: { type: "cnn" },
+ training: { epochs: 50, batch_size: 64 }
+ },
+ tier: "medium"
+})
+```
+
+### Time Series Prediction
+```javascript
+mcp__flow-nexus__neural_train({
+ config: {
+ architecture: { type: "lstm" },
+ training: { epochs: 100, learning_rate: 0.01 }
+ },
+ tier: "small"
+})
+```
\ No newline at end of file