Skip to content
Testing
Command

/neural-train

Train neural patterns with SONA (Self-Optimizing Neural Architecture) for adaptive learning and pattern recognition.

From plugin
agentic-qe
436149 skills169 agents149 commands
Install
> /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.md

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
Read more
Ships withagentic-qe

AI-powered quality engineering agents that generate tests, find coverage gaps, detect flaky tests, and learn your codebase patterns — across 11 coding agent platforms.

Get the whole plugin