Open-source knowledge infrastructure

Self-hosted knowledge for humans and agents.

Store notes, documents, tasks, people, projects, decisions, and working context in one inspectable place. Let agents retrieve the right context through MCP, REST, CLI, and a searchable UI.

Postgram search interface showing ranked knowledge results

A private corpus your tools can actually use

Postgram is not just extracted memory. It preserves source objects, relationships, search results, and operational control.

Typed working knowledge

Store memories, documents, people, projects, tasks, interactions, and decisions as inspectable source objects.

Agent-native access

Expose the same knowledge through MCP, REST, and the pgm CLI so tools can search and update shared context.

Search plus graph

Blend BM25, vector retrieval, and graph expansion to find the right context without hiding the source.

Search, graph, and inspect

Use the UI for search and graph exploration, while agents use the same backend through authenticated interfaces.

  • MCP
  • REST
  • CLI
  • Web UI
Postgram knowledge graph view Postgram embedding projection view

Run it yourself

1

Install

Clone the repo, install dependencies, and configure the environment.

2

Start

Run Postgres, Postgram, and the UI with Docker or local Node.js.

3

Connect

Add an API key to your CLI or MCP client and start retrieving context.

Open the quick start

Want Postgram without operating it yourself? Managed private instances are being explored. Read the note.