Skip to content

feat(memory): add agentmemory REST API client for dual-memory system#517

Open
traderlife8 wants to merge 1 commit into
lsdefine:mainfrom
traderlife8:feat/agentmemory-client
Open

feat(memory): add agentmemory REST API client for dual-memory system#517
traderlife8 wants to merge 1 commit into
lsdefine:mainfrom
traderlife8:feat/agentmemory-client

Conversation

@traderlife8
Copy link
Copy Markdown
Contributor

Summary

Add memory/agentmemory_client.py to support agentmemory REST API as a dual-memory layer.

Motivation

GA's local memory files cannot be directly used by other agents. Adding agentmemory support provides:

  • Cross-agent memory sharing: Any agent with agentmemory can read/write shared memories
  • Dual-memory redundancy: agentmemory + local files = more robust
  • Standard API: REST-based, language-agnostic, easy to integrate

Changes

  • Add memory/agentmemory_client.py with:

emember() / search() / get_memories() / delete() / observe()

Notes

  • agentmemory service must run separately (pip install agentmemory)
  • Works alongside existing local memory (dual-memory pattern)
  • REST API enables memory sharing across any agent framework

- Add memory/agentmemory_client.py REST wrapper for agentmemory
- Support remember/search/get_memories/delete/observe/health/sessions
- Compatible with https://github.com/rohitg00/agentmemory
- Enable cross-agent memory sharing and dual-memory redundancy
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.

1 participant