🌊 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:
rUvc122f1b03c09
diff --git a/v3/@claude-flow/memory/src/agentdb-backend.ts b/v3/@claude-flow/memory/src/agentdb-backend.tsindex b56091c4b5..23a12c8213 100644--- a/v3/@claude-flow/memory/src/agentdb-backend.ts+++ b/v3/@claude-flow/memory/src/agentdb-backend.ts@@ -669,14 +669,41 @@ export class AgentDBBackend extends EventEmitter implements IMemoryBackend {* Get entry from AgentDB*/private async getFromAgentDB(id: string): Promise<MemoryEntry | null> {- if (!this.agentdb?.database) return null;+ if (!this.agentdb) return null;- const db = this.agentdb.database;- const row = await db.get('SELECT * FROM memory_entries WHERE id = ?', [id]);+ try {+ // Try native get method first+ if (typeof this.agentdb.get === 'function') {+ const data = await this.agentdb.get(id);+ if (data) return this.dataToEntry(id, data);+ }- if (!row) return null;+ // Fallback to database+ const db = this.agentdb.database;+ if (!db || typeof db.get !== 'function') return null;- return this.rowToEntry(row);+ const row = await db.get('SELECT * FROM memory_entries WHERE id = ?', [id]);+ if (!row) return null;+ return this.rowToEntry(row);+ } catch {+ return null;+ }+ }++ /**+ * Convert agentdb data to MemoryEntry+ */+ private dataToEntry(id: string, data: any): MemoryEntry {+ return createDefaultEntry({+ id,+ key: data.key || id,+ content: data.content || '',+ embedding: data.embedding,+ type: data.type || 'general',+ namespace: data.namespace || this.config.namespace,+ tags: data.tags || [],+ metadata: data.metadata || {},+ });}/**