This repository has no description

Add --reset-messages flag to clear agent buffer after each notification master

Adds a new CLI option that resets the agent's message buffer after each notification is processed, making each interaction stateless. This helps prevent context window overflow and keeps notification responses independent. Uses the Letta SDK's agents.messages.reset() endpoint with add_default_initial_messages=True to restore the agent to a clean state while preserving core memory blocks and archival/recall memory access. 🤖 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com>


+116 -3
2 changed files