Skip to content

Commit 50fdd06

Browse files
authored
Merge pull request #10 from redis-developer/refactor-working-memory
Refactor memory types, working memory (breaking changes)
2 parents 7f97e9c + 7cc8f8a commit 50fdd06

30 files changed

+5778
-535
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# Icon must end with two \r
1111
Icon
1212

13-
1413
# Thumbnails
1514
._*
1615

@@ -164,6 +163,7 @@ venv/
164163
ENV/
165164
env.bak/
166165
venv.bak/
166+
.venv/
167167

168168
# Spyder project settings
169169
.spyderproject

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,12 @@ The following endpoints are available:
114114
- `between`: Between two values
115115

116116
## MCP Server Interface
117-
Agent Memory Server offers an MCP (Model Context Protocol) server interface powered by FastMCP, providing tool-based long-term memory management:
117+
Agent Memory Server offers an MCP (Model Context Protocol) server interface powered by FastMCP, providing tool-based memory management for LLMs and agents:
118118

119-
- **create_long_term_memories**: Store long-term memories.
120-
- **search_memory**: Perform semantic search across long-term memories.
121-
- **memory_prompt**: Generate prompts enriched with session context and long-term memories.
119+
- **set_working_memory**: Set working memory for a session (like PUT /sessions/{id}/memory API). Stores structured memory records and JSON data in working memory with automatic promotion to long-term storage.
120+
- **create_long_term_memories**: Create long-term memories directly, bypassing working memory. Useful for bulk memory creation.
121+
- **search_long_term_memory**: Perform semantic search across long-term memories with advanced filtering options.
122+
- **memory_prompt**: Generate prompts enriched with session context and long-term memories. Essential for retrieving relevant context before answering questions.
122123

123124
## Command Line Interface
124125

0 commit comments

Comments
 (0)