Skip to main content
Glama

Kenweave

The scoped people graph for AI agents. Private by default, one fact once, different rights per bot.

Kenweave is a headless, highly secure relationship graph and data vault designed specifically for AI agents. By communicating over the Model Context Protocol (MCP), Kenweave provides your agents with a unified, deduplicated memory of people, places, and households—all strictly fenced by per-agent API scopes.

General agent memory systems treat people as generic text chunks, forcing duplicate data and hallucinated relationships. Kenweave solves this by dynamically calculating derived kinship and time-bound overlaps, ensuring your bots only know exactly what they are authorized to know.

🛡️ Core Capabilities

  • Strict Per-Agent Scopes: Permissions are mapped to the bot via API keys, not the human user. Safely run a travel bot, a family bot, and a work bot from the exact same database, each with entirely different field-level read/write access.

  • The "Leak Rule": Absolute privacy by default. Derived relationship paths, contextual hints, or database queries will never expose a hidden person or entity to an unauthorized bot key.

  • One Fact Once: Data is never duplicated. The graph inherently understands reverse relationships (if A is a parent to B, B is a child to A) and calculates derived family ties recursively to maintain absolute truth across all connected agents.

  • Audiences for Items: Specific notes or access codes can be tagged with targeted audiences (e.g., pickup), ensuring only authorized agents at the exact right time can retrieve them.

  • Local-First Architecture: Operates completely stateless over MCP, capable of running air-gapped on private servers with zero cloud dependency.

Related MCP server: Engraphy

🏗️ Architecture & Tech Stack

Kenweave is built for maximum reliability and agent compatibility, avoiding heavy abstractions that confuse AI coding assistants.

  • API & Backend: Python / Flask

  • Database: PostgreSQL (with robust recursive CTEs for relationship mapping)

  • Data Validation: Pydantic & Raw SQL (No heavy ORMs)

  • Admin Interface: Server-side rendered HTML tailored with Tailwind CSS

  • Integration: Model Context Protocol (MCP) native

🚀 Getting Started

(Placeholder for installation instructions once the scaffolding is complete)

# Clone the repository
git clone [https://github.com/kenweave/kenweave.git](https://github.com/kenweave/kenweave.git)
cd kenweave

# Setup the virtual environment
python -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Start the MCP server and Flask admin panel
python app.py

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables local tools to interact with a private-first knowledge graph, with full CRUD access to authorized data while remote AI providers only see approved plaintext through policy-scoped MCP surfaces.
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to maintain a self-hosted typed knowledge graph on Postgres and pgvector over MCP, with deduplicating writes, hybrid retrieval, and database-enforced isolation.
      1
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to work with an embedded graph database over MCP by exposing tools for entity storage, declarative rule creation, similarity search, association explanations, role-filtered queries, and historical edge inspection. It supports building and querying self-maintaining graphs locally with explainable derived relationships.
      5
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to read and write a bitemporal context graph per end-customer through five MCP tools, so they can query current or historical facts, explore relations, and record learned information with provenance.
      5
      15
      Apache 2.0