Skip to content

Knowledge Management

A privacy-first personal knowledge system. AnyType is the system of record (encrypted, open source, local-first). A markdown agent-wiki sits alongside as a structured knowledge artifact that LLMs can read, write, and lint.

Architecture

One Vault; three Spaces (Channels): Agent · LLM wiki (agent full MCP read/write), Job hunt (two Collections: company/role + reusable prep; MCP writes approval-gated), Sensitive · Human only (no MCP / no agent; operational policy). The markdown agent-wiki/ stays a parallel surface—start with summaries + anytype:<id> links.

flowchart TB
    subgraph vault [One Anytype Vault]
        AgentS[Space · Agent LLM wiki]
        JobS[Space · Job hunt]
        SensS[Space · Sensitive — human only no MCP]
    end
    Inbox[Inbox / capture] --> Classify[Classifier]
    Classify --> AgentS
    Classify --> JobS
    AgentS <-- LocalAPI --> MCP[Anytype MCP]
    JobS <-- read / approved write --> MCP
    MCP --> CursorAgent[Cursor Agent]
    AgentS --> MarkdownWiki[agent-wiki markdown]
    MarkdownWiki --> Index[index.md]
    MarkdownWiki --> Log[log.md]
    MarkdownWiki --> CursorAgent
    JobS --> HandoffQueue[Handoff]
    AgentS --> HandoffQueue

Hybrid inference boundary

Data class Allowed model surfaces
private_sensitive local model only (no cloud egress)
internal local preferred; cloud allowed for non-sensitive transforms with redaction
low_sensitive cloud allowed; logs of cloud usage retained

This is enforced by governance/runtime-policy.yaml and surfaced via SPB-10.

Components

  • anytype-integration/ — schemas, integration patterns, runbooks, security controls.
  • agent-wiki/ — the Personal Agent Wiki (markdown-based, LLM-maintained).

Companion skills

  • pkm-capture — single-step inbox entry with auto-classification.
  • pkm-link — link entities and concepts across notes.
  • pkm-summarize — summarize a topic from multiple sources.
  • agent-wiki-ingest — process a new source into the wiki, updating index.md and log.md.
  • agent-wiki-lint — wiki health check (orphans, contradictions, stale claims).

Success gate

  • 5 real ingests via the Personal Agent Wiki workflow.
  • 3 cross-document queries answered, with reusable filed outputs.
  • AnyType integration validated under SPB-09 (no plaintext secret leakage), SPB-10 (runtime boundary), and SPB-11 (egress).