/neural-train
Train neural patterns with SONA (Self-Optimizing Neural Architecture) for adaptive learning and pattern recognition.
> /plugin marketplace add proffesor-for-testing/agentic-qe > /plugin install agentic-qe-fleet@agentic-qe
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/neural-train
Context preview
What this command does when you run it.
Train neural patterns with SONA (Self-Optimizing Neural Architecture) for adaptive learning and pattern recognition.
Command definition
neural-train.mdneural-train
Train neural patterns with SONA (Self-Optimizing Neural Architecture) for adaptive learning and pattern recognition.
Usage
npx claude-flow neural train [options]
Options
- `-p, --pattern <type>` - Pattern type: coordination, optimization, prediction (default: coordination)
- `-e, --epochs <n>` - Number of training epochs (default: 50)
- `-d, --data <file>` - Training data file (JSON)
- `-m, --model <id>` - Model ID to train
- `-l, --learning-rate <rate>` - Learning rate (default: 0.001)
- `-b, --batch-size <n>` - Batch size (default: 32)
Pattern Persistence
Trained patterns are **automatically persisted** to disk:
- **Location**: `.claude-flow/neural/patterns.json`
- **Stats**: `.claude-flow/neural/stats.json`
Patterns survive process restarts and are loaded automatically on next session.
Examples
# Train coordination patterns (50 epochs)
npx claude-flow neural train -p coordination -e 50
# Train with custom learning rate
npx claude-flow neural train -p optimization -l 0.005
# Train from file
npx claude-flow neural train -d ./training-data.json
# Quick training (10 epochs)
npx claude-flow neural train -e 10
Output
Training produces:
- **Patterns Recorded**: Number of patterns stored in ReasoningBank
- **Trajectories**: Complete learning sequences recorded
- **SONA Adaptation**: Target is <0.05ms per operation
- **Persistence Path**: Where patterns are saved
List Trained Patterns
# List all persisted patterns
npx claude-flow neural patterns --action list
# Search patterns by query
npx claude-flow neural patterns --action list -q "error handling"
# Analyze patterns
npx claude-flow neural patterns --action analyze -q "coordination"
Performance Targets
| Metric | Target | |--------|--------| | SONA Adaptation | <0.05ms (achieved: ~2μs) | | Pattern Search | O(log n) with HNSW | | Memory Efficient | Circular buffers |
Related Commands
- `neural patterns` - List and search patterns
- `neural status` - Check neural system status
- `neural predict` - Make predictions using trained models
Read more
neural-train
Train neural patterns with SONA (Self-Optimizing Neural Architecture) for adaptive learning and pattern recognition.
Usage
npx claude-flow neural train [options]
Options
- `-p, --pattern <type>` - Pattern type: coordination, optimization, prediction (default: coordination)
- `-e, --epochs <n>` - Number of training epochs (default: 50)
- `-d, --data <file>` - Training data file (JSON)
- `-m, --model <id>` - Model ID to train
- `-l, --learning-rate <rate>` - Learning rate (default: 0.001)
- `-b, --batch-size <n>` - Batch size (default: 32)
Pattern Persistence
Trained patterns are **automatically persisted** to disk:
- **Location**: `.claude-flow/neural/patterns.json`
- **Stats**: `.claude-flow/neural/stats.json`
Patterns survive process restarts and are loaded automatically on next session.
Examples
# Train coordination patterns (50 epochs) npx claude-flow neural train -p coordination -e 50 # Train with custom learning rate npx claude-flow neural train -p optimization -l 0.005 # Train from file npx claude-flow neural train -d ./training-data.json # Quick training (10 epochs) npx claude-flow neural train -e 10
Output
Training produces:
- **Patterns Recorded**: Number of patterns stored in ReasoningBank
- **Trajectories**: Complete learning sequences recorded
- **SONA Adaptation**: Target is <0.05ms per operation
- **Persistence Path**: Where patterns are saved
List Trained Patterns
# List all persisted patterns npx claude-flow neural patterns --action list # Search patterns by query npx claude-flow neural patterns --action list -q "error handling" # Analyze patterns npx claude-flow neural patterns --action analyze -q "coordination"
Performance Targets
| Metric | Target | |--------|--------| | SONA Adaptation | <0.05ms (achieved: ~2μs) | | Pattern Search | O(log n) with HNSW | | Memory Efficient | Circular buffers |
Related Commands
- `neural patterns` - List and search patterns
- `neural status` - Check neural system status
- `neural predict` - Make predictions using trained models
AI-powered quality engineering agents that generate tests, find coverage gaps, detect flaky tests, and learn your codebase patterns — across 11 coding agent platforms.
Repo: proffesor-for-testing/agentic-qe
Other commands on agentic-qe.
- /agent-capabilities
Capability matrix for all agent types
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 87 available agent types in Claude Flow V3
Open command - /health
Show agent health and metrics
Open command - /list
List all active agents
Open command

