Skip to content

v2.3.7 - Summarization and Memory Initialization

Choose a tag to compare

@hainayanda hainayanda released this 06 Aug 14:56
· 24 commits to main since this release

πŸš€ New Features

Summarization Capabilities

  • SummarizerInternalTool: New tool wrapper that adds AI-powered summarization to existing internal tools
  • Uses composition pattern to enhance tools without modifying original implementations
  • Configurable summarizer model (supports OpenAI models like gpt-4o-mini)
  • Smart summarization for memory recall, search, and short-term memory tools

Memory Initialization

  • Auto-populate short-term memory: Automatically loads important recent memories on startup
  • Intelligent capacity management: Token-aware memory selection with configurable limits
  • Importance-based sorting: Prioritizes high-importance memories while maintaining recency
  • Graceful error handling: Non-blocking initialization with proper fallbacks

Enhanced Factory

  • Creates both original and summarized versions of memory tools when OpenAI API key is available
  • Improved logging and debugging information
  • Better integration with CubicAgentKit 2.3.4 memory features

πŸ”§ Technical Improvements

  • Added memory-related type exports (MemoryRepository, MemorySearchOptions, AgentMemory)
  • Enhanced error handling and logging throughout the codebase
  • Follows SOLID principles with composition over inheritance
  • Maintains backward compatibility with existing configurations

πŸ“¦ Dependencies

  • Compatible with CubicAgentKit 2.3.4
  • Supports OpenAI API v4.63.0+
  • Node.js 18.0.0+ required

πŸ’Ύ Memory Features

When memory is enabled, the agent now provides:

  • 11 core memory tools (remember, recall, search, forget, etc.)
  • 3 additional summarized versions for enhanced readability
  • Automatic short-term memory population based on importance
  • Token-aware memory management

Perfect for production deployments requiring intelligent memory management and summarization capabilities.

Full Changelog: v2.3.6...v2.3.7