@artale/pi-knowledge

Local knowledge graph. User-owned entity/relationship store with search and export. Zero cloud, JSON-backed.

Package details

extension

Install @artale/pi-knowledge from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@artale/pi-knowledge
Package
@artale/pi-knowledge
Version
1.0.0
Published
Mar 8, 2026
Downloads
22/mo · 3/wk
Author
artale
License
MIT
Types
extension
Size
17 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "commands": [
    "kg"
  ],
  "tools": [
    "kg_add",
    "kg_query",
    "kg_export"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@artale/pi-knowledge

Local knowledge graph for pi. User-owned entity/relationship store. Zero cloud, JSON-backed.

Install

npm install -g @artale/pi-knowledge

Features

  • Entities with type, name, properties, tags
  • Relationships between entities
  • Fuzzy search across names, types, properties
  • Export as JSON or CSV
  • Local only — all data in ~/.pi/knowledge/

Tools

  • kg_add — Add entity or relationship
  • kg_query — Search and traverse the graph
  • kg_export — Export as JSON or CSV

Commands

  • /kg — Knowledge graph operations