pega-dx-cli
v1.0.0
Published
CLI for Pega Infinity DX API V2 (Constellation)
Readme

Pega DX CLI
Developer-first command-line interface for the Pega Infinity™ DX API v2 (Constellation). Built for both humans at the terminal and LLM coding agents. v1.0.0 covers Pega DX API v25.1.2.
📚 Documentation: https://pknoetze.github.io/pega-dx-cli/ 📖 Pega DX API reference: https://docs.pega.com/bundle/dx-api/page/platform/dx-api/dx-api-version-2-con.html
Experimental
The Pega DX CLI is an experimental project exploring the use of a CLI to interact with the Pega Infinity™ DX API endpoints. This is not an official Pegasystems product and is not generally available. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Do not use this CLI in a production environment. We welcome feedback and contributions to help shape the future of this repository.
Install
npm install -g pega-dx-cli # Node 22+Pre-built binaries (macOS, Linux, Windows) and from-source builds: see Install.
Quick start
export PEGA_BASE_URL=https://your-instance.pega.com
export PEGA_CLIENT_ID=...
export PEGA_CLIENT_SECRET=...
pega auth login
pega cases get MYAPP-CASE-1Full walkthrough: Quick Start.
Agent skill (for LLM coding agents)
pega-dx-cli ships with an Anthropic-format agent skill that teaches Claude Code,
Cursor, Continue, Windsurf, and other agents how to use the CLI to work with
Pega DX:
pega skill install # Claude Code (default)
pega skill install --target cursor # or: continue, windsurf, claude-project, agents-md, dir
pega skill list # show all targets and resolved pathsDetails: Agent Skill guide.
What's covered
90+ commands across 17 topics (cases, assignments, case-types, attachments, data views, AI agents, social, …).
- Full coverage matrix: API Coverage.
- Per-topic command reference: Commands.
Contributing
Bugs and feature requests: Issues. PRs welcome — validate locally with:
npm ci && npm run build && NODE_OPTIONS=--experimental-vm-modules npm testLicense
Licensed under the Apache License, Version 2.0. See LICENSE for details.
