Add Memory Gateway agent plugin

This commit is contained in:
2026-05-06 16:10:04 +08:00
parent e65731a273
commit c44af407d4
48 changed files with 3111 additions and 0 deletions

View File

@ -0,0 +1,55 @@
name: memory-gateway-agent
version: 0.1.0
description: Generic AI Agent plugin adapter for the existing Memory Gateway v1 HTTP API.
type: agent-plugin
provides_tools:
- memory_search
- memory_append_episode
- memory_commit_session
- memory_upsert
- memory_feedback
provides_hooks:
- pre_llm_call
- post_llm_call
- session_end
- after_task_complete
requires_env: []
entrypoint: register
transport:
type: http
target: ${MEMORY_GATEWAY_URL:-http://127.0.0.1:1934}
privacy:
stores_full_raw_conversation: false
writes_long_term_directly_by_default: false
auto_commit_session_default: false
configuration:
MEMORY_GATEWAY_URL:
default: http://127.0.0.1:1934
MEMORY_GATEWAY_API_KEY:
secret: true
required: false
MEMORY_GATEWAY_DEFAULT_USER_ID:
required: false
MEMORY_GATEWAY_DEFAULT_AGENT_ID:
required: false
MEMORY_GATEWAY_DEFAULT_WORKSPACE_ID:
required: false
MEMORY_GATEWAY_AUTO_SEARCH:
default: "true"
MEMORY_GATEWAY_AUTO_APPEND_EPISODE:
default: "true"
MEMORY_GATEWAY_AUTO_COMMIT_SESSION:
default: "false"
MEMORY_GATEWAY_REVIEW_MODE:
default: "true"
tools:
- memory_search
- memory_append_episode
- memory_commit_session
- memory_upsert
- memory_feedback
hooks:
- pre_llm_call
- post_llm_call
- session_end
- after_task_complete