Personal Agent Wiki¶
A markdown-based, LLM-maintained companion to Anytype. Implements the LLM Wiki pattern: a persistent, compounding artifact that the agent reads, writes, and lints over time.
Relationship to Anytype: The canonical agent-owned graph for structured PKM + MCP lives in the Agent · LLM wiki Space inside your Vault (see ../anytype-integration/scaffolding/job-hunt-spaces-and-types.md). This repo wiki is a parallel layer—v1 strategy: short summaries plus anytype:<id> pointers; expand only if you outgrow that.
Three layers¶
| Layer | What lives there | Who writes |
|---|---|---|
raw/ |
Source documents — articles, papers, transcripts, exports. Immutable. | The user (drops in). |
wiki/ |
Generated/maintained pages — entities, concepts, summaries, timelines. | The LLM. |
AGENTS.md |
The schema/conventions the LLM follows. | Human + LLM together. |
Workflows¶
| Operation | Skill | Effect |
|---|---|---|
| Ingest | agent-wiki-ingest |
Read a source from raw/, summarize, update entity/topic pages, append log.md, update index.md. |
| Query | pkm-summarize (extended) |
Read the wiki + AnyType, synthesize, optionally file the answer back into wiki/. |
| Lint | agent-wiki-lint |
Find contradictions, orphans, stale claims, missing pages, unfilled cross-references. |
Files¶
AGENTS.md— schema and conventions for the LLM maintainer.index.md— content catalog (every page listed with link + 1-line summary). Gitignored: real instance data.log.md— append-only operations log (ingests, queries, lints). Gitignored: real instance data.raw/— source documents (immutable). Gitignored contents; directory structure tracked.wiki/— LLM-maintained pages. Gitignored contents (real names, sources, notes); the category directories (concepts/,entities/,events/,projects/,sources/,timelines/,topics/) are tracked as an empty template via.gitkeep.
Privacy¶
- Anything
private_sensitiveis mirrored into AnyType only, not into this markdown wiki. - The wiki's content default classification is
internalunless every source islow_sensitive. - Cloud models may read/write the wiki only when policy allows for the resulting classification.