What is a personal knowledge graph?

Updated · By the Cozy team

A personal knowledge graph is a set of notes about the people, projects, ideas and sources in your life, connected by named relationships such as "depends on", "reports to" or "decided in". Plain backlinks only say two notes are related. A knowledge graph says how, which lets you and your AI agents traverse, query and check it.

A backlink is an untyped edge: page A links to page B. Note apps such as Obsidian, Roam, Logseq and Notion show these, and their graph views draw them as lines. A typed link names the relationship. Typed links turn a pile of connected notes into a graph you can ask questions of, such as "what depends on the API project?" or "which decisions came from the kickoff?".

BacklinksTyped links
ExampleBilling links to APIBilling depends_on API
AnswersWhat is related?How is it related?
QueryList incoming linksTraverse by relation, type or tag
Common inMost note appsTana supertags, Obsidian plugins, Cozy

Personal knowledge graph vs second brain vs personal wiki

You can have all three at once. A wiki whose pages declare a type and link to each other with named relations is a knowledge graph.

How to write one in plain Markdown

You do not need a graph database. Cozy derives the graph from conventions in ordinary Markdown every time a page is saved:

---
type: person
description: Leads the billing rewrite.
aliases: [Ann]
tags: [finance]
---
# Ann Lee

- owns:: [[wiki/projects/billing.md]]
[[Ann Lee]] | reports to | [[Bob]]
Joined in March. [[sources/files/org-chart.md]]

Why agents are good at maintaining it

People rarely keep typed links up to date by hand. AI agents can: when a new meeting transcript arrives, an agent can update the people and project pages it mentions, add relations, cite the transcript and flag anything that conflicts. In Cozy, agents read the graph with cozy_graph and cozy_context, and cozy_health tells them what to fix next: broken links, duplicates, orphans, stale pages and unsourced claims.

Get started

Sign in at cozy.cloud, connect an agent through the MCP server, and ask it to organize your first sources into typed pages. The hosted LLM wiki guide explains the full workflow.

Frequently asked questions

What is an example of a personal knowledge graph?

A set of notes where a person page says they own a project, the project page says it depends on another project, and a decision page says it was decided in a specific meeting, with each claim citing its source. Those named relationships make it a graph.

Do I need a graph database for a personal knowledge graph?

No. Typed links can live in plain Markdown as frontmatter and relation lines. Cozy parses them on every save and keeps the files portable.

Does Obsidian support typed links?

Not natively. Obsidian links are untyped, and typed relationships rely on frontmatter properties or community plugins such as Breadcrumbs or Wikilink Types.

Give your agents a memory worth keeping

Cozy gives every account a private wiki that Claude, Codex, ChatGPT and other MCP clients can read and maintain.

Start your wiki