Files
ruflo/docs/integrations/agentic-flow
rUvandClaude c37eff6ba4 docs: Add agentic-flow v1.7.0 release documentation
Added comprehensive release documentation for agentic-flow v1.7.0,
which includes AgentDB integration and major performance improvements.

New documentation:
- RELEASE-v1.7.0.md: Complete release notes with benchmarks
  - AgentDB v1.3.9 integration (29 MCP tools)
  - 116x-141x performance improvements
  - 56% memory reduction (800MB → 350MB)
  - 400KB bundle size reduction
  - 100% backwards compatibility

- MIGRATION_v1.7.0.md: Detailed migration guide
  - Zero breaking changes (just npm update)
  - Optional enhancements (HybridReasoningBank, AdvancedMemorySystem)
  - Performance tuning recommendations
  - Troubleshooting guide

- README.md: Integration overview and quick start
  - Documentation index for all agentic-flow docs
  - Best practices for claude-flow users
  - Performance benchmarks
  - Support and resources

Impact on claude-flow:
- Automatic benefits via "agentic-flow": "*" dependency
- No code changes required in claude-flow
- Users get all improvements with npm update

Related:
- Upstream: https://github.com/ruvnet/agentic-flow/issues/34
- Tracking: https://github.com/ruvnet/claude-flow/issues/829

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 15:39:35 +00:00
..

Agentic-Flow Integration

Integration Status: ✅ Active Package Version: v1.7.0 (Latest) Integration Type: npm dependency Backwards Compatibility: 100% guaranteed


📚 Documentation

Release Information

Integration Guides

Technical Reports


🚀 Quick Start

Installation

# Install agentic-flow (automatically included in claude-flow)
npm install agentic-flow@^1.7.0

# Or update existing installation
npm update agentic-flow

Basic Usage

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 });

🎯 What's New in v1.7.0

Major Features

  1. AgentDB Integration

    • 29 MCP tools for Claude Desktop
    • 116x-141x faster performance
    • 56% memory reduction
    • 400KB bundle size reduction
  2. Hybrid ReasoningBank

    • 10x faster WASM-accelerated search
    • Smart backend selection
    • Query caching (90%+ hit rate)
  3. Advanced Memory System

    • Auto-consolidation (patterns → skills)
    • Episodic replay (learn from failures)
    • Causal "what-if" analysis
    • Skill composition
  4. Shared Memory Pool

    • Single SQLite connection
    • Shared embedding model
    • LRU caching
    • 56% memory savings

See RELEASE-v1.7.0.md for complete details.


📊 Performance Benefits

Metric Before After Improvement
Bundle Size 5.2MB 4.8MB -7.7%
Memory (4 agents) 800MB 350MB -56%
Vector Search 580ms 5ms 116x
Batch Insert 14.1s 100ms 141x
Cold Start 3.5s 1.2s -65%

Claude-Flow Integration

Upstream Resources


💡 Best Practices

For Claude-Flow Users

  1. Automatic Benefits: Claude-flow uses "agentic-flow": "*" dependency

    • Always gets latest agentic-flow version
    • No manual updates needed
    • All performance improvements automatic
  2. Recommended Approach: Let claude-flow manage integration

    • Don't pin agentic-flow version
    • Trust semver for backwards compatibility
    • Update claude-flow to get agentic-flow updates
  3. 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';
    

🧪 Testing

Run Integration Tests

# 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

📈 Roadmap

Upcoming Features (agentic-flow)

  • Phase 2 (Week 2): Code cleanup and tree-shaking
  • Phase 3 (Week 3): Hybrid backend with fallback
  • Phase 4 (Week 4): Final optimization and documentation

See agentic-flow#34 for details.

Claude-Flow Impact

All improvements automatically benefit claude-flow users:

  • No code changes required
  • Seamless updates via npm
  • 100% backwards compatibility guaranteed

🆘 Support

Issues and Questions

Documentation


✅ Migration Checklist

For users upgrading from v1.6.x to v1.7.0:

  • Read RELEASE-v1.7.0.md
  • Review MIGRATION_v1.7.0.md
  • Update package: npm update agentic-flow
  • Run tests: npm test
  • Verify performance: npm run bench:*
  • Update documentation if using new APIs

Note: For claude-flow users, run npm update in the claude-flow directory.


📞 Contact


Last Updated: 2025-01-24 This documentation is part of the claude-flow project.