Skip to content

Conversation

@DataBassGit
Copy link
Owner

v0.6.0 Changelog

Major Release: Focus on Cognitive Architectures (Cogs)

Highlights

  • Cogs: Cognitive Architectures Implemented

    • Introduced a modular Cog system, enabling agents to operate within flexible, composable cognitive architectures.
    • Cogs now support agent-defined response formats and parsing by format, allowing for richer and more adaptable agent interactions.
    • Transition handling and execution flow within Cogs have been overhauled for clarity, maintainability, and extensibility.
    • Enhanced Cog agent output parsing and improved memory retrieval mechanisms.
    • Added chat history memory for Cogs, enabling agents to access and utilize conversational context.
    • Improved chat history retrieval and formatting for more coherent agent responses.
    • Restructured example cogs and prompts for easier onboarding and extensibility.
  • Memory System Overhaul

    • Integrated advanced memory management into Cogs, including specialized memory classes and a new MemoryManager for improved clarity and maintainability.
    • Updated scratchpad and memory architecture for extensibility and future enhancements.
  • Agent and Persona Enhancements

    • Refactored agent and Cog architecture for improved modularity.
    • Enhanced agent output parsing and execution tracking with the introduction of TrailRecorder and ThoughtTrailEntry.
    • Added an Agent Registry and introduced a configuration management system for easier agent and API model configuration.
  • Infrastructure and Documentation

    • Updated and expanded documentation for Cogs, memory, and configuration management.
    • Improved logging verbosity and standardized naming conventions across the codebase.
    • Deprecated legacy Tools and Actions in favor of the new Cog architecture.

Notable Breaking Changes

  • Deprecation of Tools and Actions: The previous Tools and Actions system has been deprecated; all new development should use the Cog architecture.

This release marks a significant step forward in agent modularity, memory integration, and cognitive architecture flexibility, laying the groundwork for more advanced, context-aware AI systems.

anselale and others added 30 commits February 13, 2025 21:44
Added:
- Basic Cog implementation
- A few basic unittest for the cogs implementation
- A  new `cogs` folder in the `.agentforge` folder for Cog YAML files
- Started Documentation for Cogs - def not final.
- Added the ability to references nested placeholders in prompt templates, this was crucial to keeping the Cog implementation clean and simple.
- Reworked most of the implementation for Cogs, we now have a very basic POC.
- Added validation methods to separate loading and validation from the actual Cog execution, simplifying implementation.
- Reworked the tests for Cogs, they are currently passing, more unit test and real test case pending.
Renamed a few methods and variables for consistence and abstracted a new internal execute flow method to make the code easier to read and follow.
Finished the basic Cog Implementation and made a basic cog guide, more documentation changes pending.
Cogs can now automatically parse agent responses based on a defined format.

Currently supported formats are:
- xml
- json
- yaml
- ini
- csv
- markdown
Some work on memory done.
The base memory class is ready for integration with the Cog class.
A very basic and crude integration of memory into cogs, it needs work and polish but every major component is in place
Apparently gitkraken didn't catch the changes to index fast enough?
anselale and others added 29 commits May 30, 2025 21:40
Moves logger initialization to the TrailRecorder class itself,
simplifying its instantiation and removing the need to pass a
logger instance during initialization. This change promotes
encapsulation and reduces dependencies.
Enhances code clarity and maintainability by refining log levels and message formats.

- Streamlines memory management with explicit query/update triggers, improving agent-memory interactions.
- Corrects logging calls to use appropriate levels (debug, info, warning, error, critical) for better clarity and filtering.
- Implements more informative debugging and error messaging, aiding in issue identification and resolution.
Forcing naming convention on all files and folders
- Introduced a @Property 'settings' on Config for elegant, dot-notation access to all framework settings as a dataclass.
- Refactored logger, storage, actions, and persona memory to use config.settings instead of raw dicts.
- Updated prompt processor to handle both dict and dataclass for persona settings, fixing test suite breakage.
- All tests pass.

Because who needs .get('foo', 'bar') when you can have dot notation and a little peace of mind?
Cleanup for readability and maintainability
Quick update to Update Assistant
Refactored MemoryManager for clarity and maintainability
Refactored TransitionResolver for clarify and maintainability
Adds chat history functionality to Cogs, allowing them to retain and utilize conversation history.

Introduces ChatHistoryMemory class for managing chat interactions.

Configures Cog to load and record chat history, enabling context-aware agent responses.

Refactors prompt configurations for improved agent interaction with chat history.
Enhances chat history memory by sorting records chronologically and formatting the output for better readability.
Sorts history entries by timestamp, falling back to ID if timestamp is unavailable.
Streamlines data presentation in the scratchpad.
Removes the episodic memory, journal, and memory tools modules.
These modules are not ready for release and will be reintegrated in future versions.
Updates and consolidates example cogs configurations for clarity and better memory management.

Refactors prompts for improved user interaction and agent performance.
Updated Test Suite to new functionality.
Adds JSON preprocessing to handle LLM output variations, improving parsing success.

Allows for dot-notated 'end' values in cog transitions, enabling the retrieval of nested fields from agent outputs.

Updates config parsing to properly evaluate 'end' conditions in transitions.
Documentation updated to match AF v0.6.0
@DataBassGit DataBassGit merged commit d3871a2 into main Jun 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants