Open Graph Memory Open Source
Persistent Operational Memory System for AI Agents

Temporal Knowledge Graph & Persistent Agent Memory System.

Self-hosted document and codebase extraction, PostgreSQL-authoritative evidence storage, and ogm-agent-bridge 21-tool MCP server with integrated 3-phase agent memory workflow.

System Topology Explorer Interactive Nodes
Click nodes to inspect data routing from S3 Ingestion to PostgreSQL 16 & MCP Agent Bridge.
ogm-agent-bridge stdio log — zsh
LIVE STREAM
// Agent Bridge stdio log initializing...
Multi-Tool Agent Lifecycle Engine

Scenario: Multi-Tool Agent Operational Memory Workflow

Watch step-by-step as an AI Agent utilizes Document Upload, Graph Traversal, Memory Search, Evidence Verification, and Pattern Feedback tools!

1. ogm_upload_document 2. ogm_get_neighbors 3. ogm_memory_create_episode 4. ogm_get_evidence 5. ogm_memory_append_attempt 6. ogm_memory_record_outcome
// Live Multi-Tool Simulation initializing... Press "Play Multi-Tool Workflow" to start.
Relationship Map

Full Ecosystem Network

Direct directional mapping between document/codebase ingestion, OGM Core, MCP Bridge policy runtime, test harness, and AI agents.

CORE ENGINE

OpenGraphMemory (OGM)

FastAPI + PostgreSQL 16 authoritative temporal graph storage & MinIO S3 ingestion.

MCP SERVER

ogm-agent-bridge

PyPI package (v0.1.7) exposing 21 tools over FastMCP stdio for Claude, OpenCode, Hermes.

INTEGRATED POLICY

MCP Bridge Memory Policy

The 3-phase Recall, Reorient, Persist policy is now part of the MCP bridge workflow instead of a separate skill layer.

Core Platform Capabilities

Feature Surface Beyond Agent Memory

OpenGraphMemory also ships production-grade graph APIs, governance controls, analytics, dashboard UI, and operational endpoints.

GRAPH PLATFORM

Structured Graph API

Search entities, inspect neighbors, find paths, load bounded subgraphs, review relations, and inspect source evidence.

CODEBASE EXTRACTION

Repo & Source Intelligence

Upload repository docs and source files to extract modules, services, APIs, dependencies, decisions, and code evidence into the graph.

DASHBOARD UI

Graph Playground

React/Vite dashboard for dataset management, document upload monitoring, force-directed graph exploration, and relation inspection.

COMMUNITY ANALYTICS

Hierarchical Communities

Refresh community analytics, switch detail/thematic/overview levels, and surface density, importance, and graph structure metrics.

GOVERNANCE

Retention & Legal Hold

Legal holds prevent destructive cleanup. Retention preview/apply flows support archive/delete policies for operational memory lifecycle.

PORTABILITY

Audit, Export & Import

Project-scoped audit logs track mutations. Export/import moves agent memory data with sanitized JSON payloads.

OPERATIONS

Health & Metrics

Liveness, readiness, Prometheus metrics, backup/restore scripts, graceful shutdown, Docker Compose, and production Caddy deployment.

Architecture

2 Core Components + Integrated Policy

The skill workflow has been folded into the MCP bridge, so agents get one install path for tools and memory policy.

open-graph-memory

Core Platform

FastAPI engine, PostgreSQL 16 temporal database, Redis workers, S3 file streaming, governance APIs, dashboard, and analytics.

ogm-agent-bridge

MCP Stdio Bridge

FastMCP stdio server bridging AI coding agents via 21 authenticated REST graph & memory tools.

integrated in MCP

Agent Memory Policy

Recall, Reorient, and Persist behavior now ships with the MCP bridge workflow for Claude Code, OpenCode CLI, and Hermes.

FastMCP Tools

21 MCP Tools Command Summary

Categorized list of tools exposed by ogm-agent-bridge over stdio JSON-RPC.

Knowledge Graph Search & Traversal (10 Tools)
ogm_search_entities ogm_get_entity ogm_get_neighbors ogm_find_path ogm_get_subgraph ogm_get_graph ogm_get_evidence ogm_get_relation_evidence ogm_list_datasets ogm_health
Agent Operational Memory & Verifiers (10 Tools)
ogm_memory_search ogm_memory_create_episode ogm_memory_append_attempt ogm_memory_record_outcome ogm_memory_list_episodes ogm_memory_get_episode ogm_memory_feedback_episode ogm_memory_supersede_episode ogm_memory_feedback_pattern ogm_memory_supersede_pattern
Document & Codebase Ingestion (1 Tool)
ogm_upload_document repo docs source files ADRs
Integration Studio

Connect MCP Server to Your Agent Client

Select your agent framework to copy auto-generated MCP server configuration.

~/.mcp.json
// Config loading...