🌊 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 edit:
rUv231b1c20f5c8
diff --git a/v3/integration/sona-adapter.ts b/v3/integration/sona-adapter.tsindex b668f6a072..479d4ffbba 100644--- a/v3/integration/sona-adapter.ts+++ b/v3/integration/sona-adapter.ts@@ -335,6 +335,10 @@ export class SONAAdapter extends EventEmitter {/*** Store a learned pattern+ *+ * ADR-001: When agentic-flow is available, delegates to its optimized+ * pattern storage which uses AgentDB with HNSW indexing for+ * 150x-12,500x faster similarity search.*/async storePattern(params: {pattern: string;@@ -345,6 +349,37 @@ export class SONAAdapter extends EventEmitter {}): Promise<string> {this.ensureInitialized();+ // ADR-001: Delegate to agentic-flow when available+ if (this.isDelegationEnabled() && this.agenticFlowSona) {+ try {+ const patternId = await this.agenticFlowSona.storePattern({+ pattern: params.pattern,+ solution: params.solution,+ category: params.category,+ confidence: Math.max(0, Math.min(1, params.confidence)),+ metadata: params.metadata,+ });++ this.stats.totalPatterns++;+ this.emit('pattern-stored', {+ patternId,+ delegated: true,+ target: 'agentic-flow',+ });++ return patternId;+ } catch (error) {+ // Log delegation failure and fall back to local implementation+ this.emit('delegation-failed', {+ method: 'storePattern',+ error: (error as Error).message,+ fallback: 'local',+ });+ // Continue with local implementation below+ }+ }++ // Local implementation (fallback or when agentic-flow not available)const patternId = this.generateId('pat');const storedPattern: SONAPattern = {id: patternId,