ruvnet/ruflo · error
[ReasoningBank] AgentDB not available, using in-memory mode
Error message
[ReasoningBank] AgentDB not available, using in-memory mode
What it means
Log warning in initialize: AgentDB (with HNSW persistence) is unavailable, so the ReasoningBank runs in pure in-memory mode — patterns are not persisted and searches are in-memory scans.
Source
Thrown at v3/@claude-flow/hooks/src/reasoningbank/index.ts:276
console.warn('[ReasoningBank] Real embeddings unavailable, using hash-based fallback');
}
}
await this.loadPatterns();
console.log(`[ReasoningBank] Initialized with AgentDB + HNSW (M=${this.config.hnswM}, efConstruction=${this.config.hnswEfConstruction})`);
} else {
throw new Error('Dependencies not available');
}
this.initialized = true;
this.emit('initialized', {
shortTermCount: this.shortTermPatterns.size,
longTermCount: this.longTermPatterns.size,
useRealBackend: this.useRealBackend,
});
} catch (error) {
// Fallback to in-memory only mode
console.warn('[ReasoningBank] AgentDB not available, using in-memory mode');
this.useRealBackend = false;
this.initialized = true;
}
}
/**
* Load optional dependencies
*/
private async loadDependencies(): Promise<void> {
// Try to load optional peer dependencies at runtime
const dynamicImport = async (moduleName: string): Promise<any> => {
try {
return await import(/* webpackIgnore: true */ moduleName);
} catch {
return null;
}
};
View on GitHub (pinned to fa13ee4ad6)
Solutions
- Install/enable AgentDB for persistent pattern storage; in-memory mode loses patterns on restart.
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at v3/@claude-flow/hooks/src/reasoningbank/index.ts:276 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/85c5702b670eb727.
Report an issue: GitHub.