Skip to content

feat: SQLite graph storage — optional knowledge graph mode #317

Closed

Description

@ajianaz

Description

Add an optional knowledge graph storage mode to Uteke using SQLite (no external dependencies like Neo4j or NetworkX).

When enabled, memories with entity metadata get stored as graph nodes/edges:

uteke remember "User Alice owns project X" --entity Alice --entity "Project X" --relation owns --graph
uteke graph query "who owns what"      # traverse relationships
uteke graph path "Alice" "deploy"    # find connection between entities

Schema Design

SQLite tables:

  • graph_nodes (id, label, type, properties_json, created_at)
  • graph_edges (id, source_id, target_id, relation, weight, created_at)
  • FTS5 virtual table on node labels and properties

No Neo4j. No NetworkX. Pure SQLite — consistent with Uteke's zero-dep philosophy.

Why

Knowledge graph is the #1 feature gap vs Mem0 Pro, Hindsight, and Zep. Adding it (optionally, SQLite-based) closes the biggest competitive gap while maintaining Uteke's single-binary, zero-dep advantage.

Scope

  • Graph storage layer (SQLite tables + index)
  • uteke graph subcommand family (query, path, neighbors)
  • Integration with existing uteke remember via --graph flag
  • Optional mode — doesn't affect existing non-graph usage

Depends On

Strategy Ref

Competitive analysis strategy #4 — knowledge graph.

Activity

  1. added this to the milestone on Jun 13, 2026
  2. added
    type:feature
    priority:high
    epic:memory-engine
    status:planning
    status:in-progress
    and removed
    status:planning
    on Jun 13, 2026
  3. added a commit that references this issue on Jul 2, 2026
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

    epic:memory-enginepriority:highstatus:in-progresstype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions