Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

# AbstractLLM v1.0.0 - Major Release 馃殌

Choose a tag to compare

@lpalbou lpalbou released this 14 Sep 12:12
· 52 commits to main since this release

AbstractLLM v1.0.0 - Major Release 馃殌

Overview

This is a major release that transforms AbstractLLM from a basic LLM interface into a comprehensive agentic framework with memory, reasoning, and enhanced tool capabilities.

馃幆 Key Highlights

Hierarchical Memory System (Alpha)

  • Three-tier memory architecture: Working, Episodic, and Semantic memory
  • Cross-session persistence with knowledge consolidation
  • Automatic fact extraction and knowledge graph integration

ReAct Reasoning Cycles (Alpha)

  • Complete reasoning cycles with scratchpad traces
  • Context-aware retrieval for enhanced responses
  • Bidirectional linking between memory components

Enhanced Tool System

  • Pydantic validation and retry logic
  • Universal compatibility across all providers
  • Architecture-aware tool handling

Structured Response System

  • JSON/YAML formatting with validation
  • Works across all 5 providers (OpenAI, Anthropic, Ollama, HuggingFace, MLX)
  • Retry strategies with error recovery

馃敡 Technical Improvements

Provider Enhancements

  • OpenAI: Manual improvements for better tool support
  • Universal Tool Handler: Adapts to model capabilities
  • Enhanced Architecture Detection: Better model optimization
  • Cross-Provider Compatibility: Memory and reasoning work everywhere

Agent Development

  • ALMA-Simple Agent: Complete example with memory and tools
  • Enhanced Session Management: Persistent conversations
  • Tool Integration: Native and prompted modes

馃摎 New Components

New Files Added

  • abstractllm/memory.py - Hierarchical memory system (1860+ lines)
  • abstractllm/retry_strategies.py - Advanced retry strategies
  • abstractllm/scratchpad_manager.py - ReAct reasoning management
  • abstractllm/structured_response.py - Universal structured responses
  • abstractllm/tools/enhanced_core.py - Enhanced tool definitions
  • Plus many more utilities and enhancements

馃毃 Breaking Changes

While the core API remains backward compatible, this release includes:

  • Internal architecture restructuring for better maintainability
  • New alpha features for memory and reasoning
  • Enhanced tool system (additive, not breaking)
  • Updated provider implementations

馃摉 Migration Guide

For Existing Users

# Existing code continues to work
llm = create_llm("openai", model="gpt-4o-mini")
response = llm.generate("Hello world")

New Memory Features (Alpha)

# Enable memory and reasoning
session = create_session(
    "anthropic",
    enable_memory=True,              # Hierarchical memory
    memory_config={
        'working_memory_size': 10,
        'consolidation_threshold': 5
    }
)

# Use memory context and reasoning
response = session.generate(
    "Analyze the project",
    use_memory_context=True,         # Alpha feature
    create_react_cycle=True          # Alpha feature
)

鈿狅笍 Important Notes

  • Memory and agency features are in alpha testing
  • OpenAI support achieved through manual provider improvements
  • Core features are stable and production-ready
  • Alpha features are experimental but functional

馃敆 Links

馃檹 Acknowledgments

This release represents a significant evolution in AbstractLLM's capabilities, bringing advanced agentic features while maintaining the simplicity and reliability that users expect. This work would not have been possible without the various Open Source communities, libraries and supports.


Full changelog: See CHANGELOG.md for detailed technical changes and migration information.