v2/docs/integrations/agentic-flow/README.md
Integration Status: ✅ Active & Released Latest Version: v1.7.4 (Export Issues RESOLVED!) npm Package: https://www.npmjs.com/package/agentic-flow/v/1.7.4 Integration Type: npm dependency Backwards Compatibility: 100% guaranteed
🎉 v1.7.4 Update: Export configuration issue from v1.7.1 is now FIXED! All advanced features (HybridReasoningBank, AdvancedMemorySystem) are now accessible via standard imports. See v1.7.4 Verification Report for details.
# Install agentic-flow (automatically included in claude-flow)
npm install agentic-flow@^1.7.0
# Or update existing installation
npm update agentic-flow
import { ReasoningBankEngine } from 'agentic-flow/reasoningbank';
import { ReflexionMemory } from 'agentic-flow/agentdb';
// Initialize ReasoningBank
const rb = new ReasoningBankEngine();
// Store patterns
await rb.storePattern({
sessionId: 'session-1',
task: 'implement authentication',
success: true,
reward: 0.95
});
// Retrieve patterns
const patterns = await rb.retrievePatterns('authentication', { k: 5 });
WASM-Accelerated HybridReasoningBank ✅
Advanced Memory System ✅
Complete AgentDB Integration ✅
Infrastructure ✅
See RELEASE-v1.7.1.md for complete details and API examples.
| Metric | v1.6.x | v1.7.0 | v1.7.1 | Improvement |
|---|---|---|---|---|
| Bundle Size | 5.2MB | 4.8MB | 4.8MB | ✅ -7.7% |
| Memory (4 agents) | 800MB | 350MB | 350MB | ✅ -56% |
| Cold Start | 3.5s | 1.2s | 1.2s | ✅ -65% |
| Vector Search | 580ms | 580ms | 5ms | ✅ 116x faster |
| Query Caching | None | None | 60s TTL | ✅ 90%+ hit rate |
| Causal Ranking | None | Basic | CausalRecall | ✅ Enhanced |
Automatic Benefits: Claude-flow uses "agentic-flow": "*" dependency
Recommended Approach: Let claude-flow manage integration
Advanced Usage: Optional direct usage
// Use advanced features directly
import { HybridReasoningBank } from 'agentic-flow/reasoningbank';
import { AdvancedMemorySystem } from 'agentic-flow/reasoningbank';
import { SharedMemoryPool } from 'agentic-flow/memory';
# Claude-flow integration tests
npm run test:integration
# Agentic-flow backwards compatibility
npx vitest tests/backwards-compatibility.test.ts
# Performance benchmarks
npm run bench:memory -- --agents 4
npm run bench:search -- --vectors 100000
See agentic-flow#34 for details.
All improvements automatically benefit claude-flow users:
v1.7.0)For users upgrading from v1.6.x to v1.7.0:
npm update agentic-flownpm testnpm run bench:*Note: For claude-flow users, run npm update in the claude-flow directory.
Last Updated: 2025-01-24 This documentation is part of the claude-flow project.