graphlife Docs graphlife.app

Documentation

GraphLife documentation

GraphLife is a graph knowledge base: people, organisations, documents, events and the relationships between them, held in one database file per graph, with permissions on every read and write. It runs as a single server process that you can host on your own infrastructure.

There are two ways to work with a GraphLife server, and they share one implementation and one permission model:

  • MCP, for AI assistants. An MCP-capable assistant connects to POST /v1/live/mcp and receives the tools its credential allows.
  • HTTP, for your own systems. The same operations are available at POST /v1/live with a JSON body of the form {"tool": "...", "args": {...}}, or at POST /v1/live/{tool} with the arguments as the body, and questions can be asked at POST /v1/ask. GET /v1/live/tools lists the tools a credential may call. An API key (Authorization: Bearer glk_...) or an OAuth access token is enough for all of them.

Where to start#

You want to Read
Make a first read and write, by MCP or by HTTP MCP tools: Quickstart
Create accounts, organisations, members and API keys Accounts and access
Read, write, search and ask over HTTP Graph data
Keep a copy of a graph in step: list it page by page, follow its changes by polling or webhook; key expiry and rotation, service accounts, OpenAPI, the Python and TypeScript clients Integration API
See every MCP tool and its HTTP equivalent MCP tools

Conventions#

  • Examples use https://graphlife.example.com as the server address and placeholder credentials such as glk_....
  • Features that are off until an environment variable is set are labelled with the name of that variable.