Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

User CLI

pgm is the standard client for human and agent workflows.

Primary command groups and common flags.

Terminal window
export PGM_API_URL=http://127.0.0.1:3100
export PGM_API_KEY=...
  • store (write entity)
  • search (compact JSON, TOON, or full response)
  • recall, list, update, delete
  • expand
  • task add/list/update/complete
  • sync
  • link / unlink / expand
  • backup
  • groom (session-context maintenance)
  • queue (enrichment queues)
  • --json: compact machine-friendly output.
  • --json --full-response: REST-shaped payload.
  • --toon: compact human-readable text for list-like output.
  • Install from npm:
Terminal window
npm install -g @ivotoby/postgram-cli
  • In-development execution:
Terminal window
npx tsx cli/src/pgm.ts <command>