🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUv61efd455256d
diff --git a/v3/@claude-flow/cli/src/ruvector/q-learning-router.ts b/v3/@claude-flow/cli/src/ruvector/q-learning-router.tsindex ba979dcb54..049472af7c 100644--- a/v3/@claude-flow/cli/src/ruvector/q-learning-router.ts+++ b/v3/@claude-flow/cli/src/ruvector/q-learning-router.ts@@ -599,9 +599,13 @@ export class QLearningRouter {}/**- * Get statistics+ * Get statistics including cache and replay buffer metrics*/getStats(): Record<string, number> {+ const cacheHitRate = this.cacheHits + this.cacheMisses > 0+ ? this.cacheHits / (this.cacheHits + this.cacheMisses)+ : 0;+return {updateCount: this.updateCount,qTableSize: this.qTable.size,@@ -609,6 +613,16 @@ export class QLearningRouter {avgTDError: this.avgTDError,stepCount: this.stepCount,useNative: this.useNative ? 1 : 0,+ // Cache metrics+ cacheSize: this.routeCache.size,+ cacheHits: this.cacheHits,+ cacheMisses: this.cacheMisses,+ cacheHitRate,+ // Replay buffer metrics+ replayBufferSize: this.replayBuffer.length,+ totalExperiences: this.totalExperiences,+ // Feature hash cache+ featureHashCacheSize: this.featureHashCache.size,};}