Skip to content

feat: adopt MCP Memory Service knowledge graph & consolidation #52

Closed

Description

@ajianaz

Inspiration

MCP Memory Service — sqlite-vec + knowledge graph + autonomous consolidation.

Features to Adopt

1. Knowledge Graph (Entity + Relationships)

  • Auto-extract entities from memories (people, projects, tools, concepts)
  • Store relationships: A depends_on B, A uses B, A replaced_by C
  • uteke graph command — visualize or query entity relationships
  • CLI: uteke graph --entity uteke --depth 2

2. Autonomous Consolidation

  • When similar memories exist, automatically merge or link them
  • Deduplication engine: detect near-duplicate memories (similarity > 0.95)
  • Merge strategy: keep most recent, archive older, or combine facts
  • uteke consolidate --dry-run to preview merges

3. Memory Type Ontology

  • Classify memories by type: fact, procedure, preference, decision, context
  • Different handling per type (e.g. fact has temporal validity, preference doesn't expire)
  • Query by type: uteke recall --type decision --tag architecture

4. Evaluate sqlite-vec Integration

  • MCP Memory uses sqlite-vec for vector operations
  • Assess: can uteke switch to single SQLite file (metadata + vectors + graph)?
  • Trade-off: sqlite-vec maturity vs current approach

Priority

P2 — Intelligence layer. Depends on #48 (config file) for graph settings.

References

Local-First

All features work offline. Knowledge graph stored in SQLite. No external services needed.

Activity

  1. ajianaz commented on May 31, 2026

    @ajianaz
    CollaboratorAuthor

    Closed by PR #85 — knowledge graph consolidation & deduplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions