Skip to content

feat(memory): add memory-graphiti extension with dual-backend support - #5

Closed
supmo668 wants to merge 1 commit into
testfrom
feat/graphiti
Closed

supmo668 wants to merge 1 commit into
testfrom
feat/graphiti

Conversation

@supmo668

Copy link
Copy Markdown

Summary

  • Problem: OpenClaw lacks a graph-based knowledge memory plugin that can extract entities, relationships, and temporal facts from conversations.
  • Why it matters: Graph memory enables agents to build persistent, structured knowledge — capturing not just facts but how they relate and when they change.
  • What changed: New memory-graphiti extension with dual-backend support (Zep Cloud + self-hosted Graphiti REST API), auto-capture/recall hooks, search tools, and CLI.
  • What did NOT change: No changes to core memory interfaces, existing plugins, or other code.

Change Type

  • Feature

Scope

  • Memory / storage
  • Integrations

Linked Issue/PR

User-visible / Behavior Changes

  • New memory-graphiti plugin for the memory slot
  • Dual backends: apiKey (Zep Cloud) or serverUrl (self-hosted)
  • Auto-capture/recall, graphiti_search/graphiti_episodes tools, openclaw graphiti status CLI
  • Group ID strategies: channel-sender, session, static

Security Impact (required)

  • New permissions/capabilities? Yes — memory plugin with network access
  • Secrets/tokens handling changed? Yes — apiKey marked sensitive: true, ${ENV_VAR} resolution
  • New/changed network calls? Yes — Zep Cloud API or self-hosted Graphiti REST
  • Command/tool execution surface changed? Yes — two new agent tools
  • Data access scope changed? No

Evidence

  • 49 unit tests + 6 integration tests passing

Compatibility / Migration

  • Backward compatible? Yes — new extension only
  • Config/env changes? Yes — GETZEP_API_KEY or GRAPHITI_SERVER_URL
  • Migration needed? No

Failure Recovery

  • Disable: remove from plugin slot config
  • Self-contained in extensions/memory-graphiti/

Graph-based knowledge memory plugin using Graphiti for temporally-aware
knowledge graphs. Supports two backends:

- Zep Cloud (managed) via @getzep/zep-cloud SDK
- Self-hosted Graphiti via REST API

Features: auto-capture (agent_end), auto-recall (before_agent_start),
graphiti_search/graphiti_episodes tools, CLI status command, and
configurable group ID strategies (channel-sender, session, static).

Includes 49 unit tests and 6 integration tests against Zep Cloud.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@github-actions

Copy link
Copy Markdown

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

supmo668 added a commit that referenced this pull request Jun 21, 2026
…33f1

refactor(syntropy): merge client.ts + kg-client.ts into shared callMcpTool (oc-hygiene #5)
@supmo668

supmo668 commented Oct 2, 2026

Copy link
Copy Markdown
Author

Superseded: closing. Same branch as #4 (feat/graphiti), targeting test; memory-graphiti shipped on main via #9 (655cdc5) and was extended since. See #4 for the measured diff.

@supmo668 supmo668 closed this Oct 2, 2026
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