@hmg_ai/pi-agent

HMG memory adapter for the pi coding agent

Packages

Package details

extensionskillprompt

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

$ pi install npm:@hmg_ai/pi-agent
Package
@hmg_ai/pi-agent
Version
0.3.0
Published
May 20, 2026
Downloads
not available
Author
seekeemonk
License
MIT OR Apache-2.0
Types
extension, skill, prompt
Size
18.4 KB
Dependencies
2 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ],
  "skills": [
    "./skills"
  ],
  "prompts": [
    "./prompts"
  ]
}

Security note

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

README

@hmg_ai/pi-agent

Pi Package that exposes HMG memory tools to pi as native custom tools.

Install

pi install npm:@hmg_ai/pi-agent@0.3.0

HMG's installer and hmg init -g use the same package route when pi is detected.

Configuration

The extension reads local HMG binaries and storage from the environment, with safe defaults:

  • HMG_CLI defaults to hmg
  • HMG_SERVER defaults to hmg-server
  • HMG_PI_DATA_DIR defaults to the platform HMG pi data directory
  • HMG_PROVIDER_BACKEND defaults to local for spawned MCP calls

Uninstall

pi remove npm:@hmg_ai/pi-agent