← Catalog

@wwjd/pi-graphify

Graphify knowledge graph integration for Pi coding agent

Extension

Install

Install with PiG

pig install npm:@wwjd/pi-graphify

Install with Pi

pi install npm:@wwjd/pi-graphify
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./extensions"
  ]
}

README

Written by the package's publisher, shown as published in version 0.4.3 (README.md). PiG does not review it.

pi-graphify

A Pi extension that brings Graphify knowledge graph capabilities into your agent sessions.

Install

pi install @wwjd/pi-graphify

What it does

pi-graphify detects the Graphify CLI and a project's graphify-out/graph.json graph, then exposes Graphify operations as Pi tools and slash commands. It routes requests through a backend abstraction so the agent can use Graphify without worrying about whether it's talking to the CLI or (in the future) an MCP server.

When a graph is present, the extension also injects a lightweight hint into the system prompt so the agent knows it can ask structural codebase questions via the graph.

Requirements

  • Graphify must be installed and on your PATH.
  • The project must have a generated graph at graphify-out/graph.json.

Current commands

CommandDescription
/graphifyOpen the unified Graphify command menu.
/graphify-buildBuild or incrementally update the Graphify knowledge graph.
/graphify-queryAsk a natural-language question against the graph.
/graphify-pathFind the shortest path between two graph nodes.
/graphify-explainExplain a node and its connections in the graph.
/graphify-affectedShow the blast radius of changes to one or more files.
/graphify-statusCheck whether a graph exists and whether the Graphify CLI is compatible.
/graphify-versionReport the installed Graphify version and compatibility status.

Current tools

ToolDescription
graphify_statusCheck graph presence, path, and Graphify CLI compatibility.
graphify_buildBuild or incrementally update the Graphify knowledge graph.
graphify_queryAsk a natural-language question against the graph.
graphify_pathFind the shortest path between two graph nodes.
graphify_explainExplain a node and its connections in the graph.
graphify_affectedShow the blast radius of changes to one or more files.
graphify_versionReport the installed Graphify version and compatibility status.

What's coming

Later phases will add background file watching, MCP backend support, ecosystem integrations, and release readiness work. See plan/PLAN.md for the full roadmap.

How it works

  1. On session start, the extension detects the installed Graphify version and looks for graphify-out/graph.json.
  2. If a graph is found, a hint is added to the agent context.
  3. Tools and commands route through a coordinator that selects the best available backend.

Status

This extension is in early development. The public API, tools, and commands will evolve as the extension matures toward a stable 1.0 release.

Documentation

License

MIT