Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

Lightweight, low-maintenance personal knowledge base for AI agents — plain Markdown with frontmatter, zero lock-in.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Personal Knowledge

A lightweight, low-maintenance personal knowledge base for AI agents built on Basic Memory over the Model Context Protocol (MCP) — plain Markdown with frontmatter, zero lock-in.

Why This Exists

Built-in agent memories and uncurated Markdown folders tend to decay into stale, contradictory notes over time:

  • One-off observations pile up alongside established rules, making agents repeat outdated claims as facts.
  • Work and personal contexts leak when a single flat memory store mixes client-specific details with general engineering insights.
  • Metadata drifts without schema enforcement, breaking search filters and knowledge-graph traversal.

personal-knowledge solves this while staying intentionally simple:

  • Low-maintenance: Configure it once—AI agents capture, distill, and tidy insights as you work.
  • Lightweight: Minimal moving parts (Basic Memory MCP + Python standard-library hooks, no heavy platform).
  • Zero lock-in: Plain Markdown with frontmatter in clean folders—drop this project anytime and keep all your notes as-is.
  • Context-isolated: Separates work/client details from reusable personal engineering knowledge while enforcing a closed vocabulary.

Knowledge Lifecycle

flowchart LR
    Capture["1. Capture (log)<br/>knowledge-capture"] --> Distill["2. Distill (entity / concept / practice / decision)<br/>knowledge-distill"]
    Distill --> Promote["3. Promote (instructions / skills / hooks)<br/>status: candidate → adopted"]
    Promote --> Tidy["4. Tidy (audit & reflection)<br/>knowledge-tidy"]
    Tidy -. "refreshes & verifies" .-> Distill

    Nudge["capture_nudge.py<br/>(Stop hook)"] -. "prompts after N turns" .-> Capture
    Guard["frontmatter_guard.py<br/>(Pre/PostToolUse hook)"] -. "enforces vocabulary.json" .-> Capture
    Guard -. "enforces vocabulary.json" .-> Distill
Loading

See docs/concepts.md for how each stage works and how work/personal scopes stay separated.

Quick Start

The fastest way to try personal-knowledge locally (requires Python 3.11+, uv, and Claude Code):

  1. Start the Basic Memory MCP server (default port 48000 avoids colliding with dev servers on 8000):

    uvx --prerelease=allow basic-memory mcp --transport streamable-http --host 127.0.0.1 --port 48000
  2. Install the plugin in Claude Code directly from GitHub:

    claude plugin marketplace add fuji44/personal-knowledge
    claude plugin install personal-knowledge@personal-knowledge --config basic_memory_mcp_url=http://localhost:48000/mcp

Then launch claude and ask: "List available Basic Memory projects."

Next Steps

  • Setup Guide — Full step-by-step installation, alternative server runtimes, client setup, customization, and backups.
  • Local Host + Cloudflare — Secure remote access for multiple devices or web clients.
  • Concepts & References — Knowledge lifecycle and work/personal scope separation.

License

About

Lightweight, low-maintenance personal knowledge base for AI agents — plain Markdown with frontmatter, zero lock-in.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages