User CLI
pgm is the standard client for human and agent workflows.
What this page covers
Section titled “What this page covers”Primary command groups and common flags.
Reference
Section titled “Reference”export PGM_API_URL=http://127.0.0.1:3100export PGM_API_KEY=...Common commands
Section titled “Common commands”store(write entity)search(compact JSON, TOON, or full response)recall,list,update,deleteexpandtask add/list/update/completesynclink/unlink/expandbackupgroom(session-context maintenance)queue(enrichment queues)
Output options
Section titled “Output options”--json: compact machine-friendly output.--json --full-response: REST-shaped payload.--toon: compact human-readable text for list-like output.
- Install from npm:
npm install -g @ivotoby/postgram-cli- In-development execution:
npx tsx cli/src/pgm.ts <command>