feat: add Honcho conversational memory integration example#1055
Open
alogotron wants to merge 1 commit intoagent0ai:developmentfrom
Open
feat: add Honcho conversational memory integration example#1055alogotron wants to merge 1 commit intoagent0ai:developmentfrom
alogotron wants to merge 1 commit intoagent0ai:developmentfrom
Conversation
Add a complete integration with Honcho (honcho.dev) as an example user extension demonstrating persistent conversational memory. Extension files: - honcho_helper.py: Core client management, caching, message sync - agent_init/_20_honcho_init.py: Lazy session initialization - hist_add_before/_20_honcho_sync.py: Real-time message sync - system_prompt/_30_honcho_context.py: User context injection - README_HONCHO.md: Setup and usage documentation Features: - Automatic message sync to Honcho on every history entry - Persistent user context injected into system prompt - Lazy init (no restart needed after adding API key) - TTL-based context caching - Graceful degradation when unconfigured Requires: honcho-ai>=2.0 (pip install honcho-ai) Closes agent0ai#1054
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a complete Honcho conversational memory integration as an example user extension, demonstrating persistent user context across Agent Zero sessions.
Closes #1054
What is Honcho?
Honcho is a conversational memory platform by Plastic Labs that provides persistent user context across sessions — enabling agents to remember user preferences, past interactions, and build ongoing relationships.
Changes
All files are added under
agents/_example/extensions/as a reference implementation:honcho_helper.pyagent_init/_20_honcho_init.pyagent_inithist_add_before/_20_honcho_sync.pyhist_add_beforesystem_prompt/_30_honcho_context.pysystem_promptREADME_HONCHO.mdKey Features
hist_add_beforehookHONCHO_API_KEYin A0 SecretsData Flow
Requirements
honcho-ai>=2.0(pip install honcho-ai)Relation to #998 (Unified Plugin System)
This integration is designed to work with the current extension system and is ready to be adapted to the plugin architecture proposed in #998 once it lands.
Testing
agent_init,hist_add_before,system_prompt)