feat: markdown memory system — Hope learns from conversations

- agent/memory_mcp.py: MCP server with memory_recall, memory_save, memory_list
  tools backed by .md files in /memory (simple keyword matching for v1)
- memory/ dir bind-mounted into container, persists across rebuilds,
  easily backed up via git
- System prompt instructs Hope to recall on past references and save
  personal info/preferences naturally without announcing it
- Dockerfile: copy memory_mcp.py; compose: ./memory:/memory volume
This commit is contained in:
Shane
2026-08-22 16:33:00 -04:00
parent 49d8577a4c
commit de1a5d8400
6 changed files with 222 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ COPY --from=build /app/agent/.venv /opt/voice-agent/.venv
COPY agent/agent.py /opt/voice-agent/agent.py
COPY agent/web_mcp.py /opt/voice-agent/web_mcp.py
COPY agent/weather_mcp.py /opt/voice-agent/weather_mcp.py
COPY agent/memory_mcp.py /opt/voice-agent/memory_mcp.py
# Copy web frontend + token endpoint
COPY web/index.html /var/www/voice/