Skip to content

Cognee backend adapter #31

Description

@JartanFTW

Problem

memcp has two backends (mem0, in-memory) but hasn't validated the Protocol against a fundamentally different architecture. Cognee is dataset-oriented with a knowledge graph pipeline — a strong test of backend agnosticism.

Proposed Solution / Alternatives

Implement CogneeBackend(MemoryBackend) mapping Cognee's remember/recall/forget/update endpoints to the memcp Protocol. Includes tenant-to-dataset mapping and any shims needed for Cognee-specific behavior (inseparable from adapter work).

Key mapping decisions: user_id/scope → dataset/tenant model, content storage via remember endpoint, search via recall with appropriate SearchType routing.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions