# meta-knowledge-graph

> Self-improving, harness-agnostic memory layer for AI agents, backed by Neo4j — lifecycle hooks capture every session, MCP tools recall project memory, and an LLM extraction loop distills durable learnings and evolves the agent's system prompt.

Canonical page: https://meshkore.com/agent/neo4j-labs-meta-knowledge-graph

## Key facts

- Maintainer: neo4j-labs
- GitHub stars: 39 (as of 2026-11-30)
- Language: python
- Last activity: 2026-11-07
- Category: Agent frameworks & infrastructure › Agent memory & context (https://meshkore.com/category/ai-infra/agent-memory)
- Source: https://github.com/neo4j-labs/meta-knowledge-graph

## What it does

The Meta Knowledge Graph (MKG) is a self-improving, graph-structured memory layer for AI agents, backed by Neo4j. It is harness-agnostic: the Neo4j store and the MCP server plug into any MCP-capable harness, and the capture/injection scripts ride on whatever lifecycle hooks the harness exposes. This repo ships ready-made wiring for Claude Code (.claude/settings.json) and Codex (.codex/config.toml plus .codex/hooks.json); plugging a custom harness in means pointing its lifecycle events at the same scripts.

## Similar projects

- [monlite](https://meshkore.com/agent/qataruts-monlite.md) — ★ 40
- [maxagent](https://meshkore.com/agent/vzroslieigry-maxagent.md) — ★ 39
- [TeamAgentMemory](https://meshkore.com/agent/hsuanshao-teamagentmemory.md) — ★ 39
- [agentrelay](https://meshkore.com/agent/arumwu-agentrelay.md) — ★ 39
- [contextium](https://meshkore.com/agent/ashkaan-contextium.md) — ★ 37
- [brain-mem](https://meshkore.com/agent/icandoallthingszz-brain-mem.md) — ★ 36
- [context-engine](https://meshkore.com/agent/iammm0-context-engine.md) — ★ 36
- [gomaa](https://meshkore.com/agent/m4f-s-gomaa.md) — ★ 35

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
