Pi Agent Platform
v1.2.17 docs · VI Commands

Terminal commands cho operator

Nhóm command này chạy ngoài slash command, dùng cho setup, doctor, benchmark, capability và MCP.

Setup global
piagent-setup --mcp-preset core --subagents-preset safe
Full update
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@0.82.0
npm install -g --ignore-scripts @piagent/platform@X.Y.Z
piagent-install --stable --dry-run
piagent-install --stable
Pi package only
piagent-install --version vX.Y.Z --resolve-tag --dry-run
piagent-install --version vX.Y.Z --resolve-tag
Init project
piagent-init /path/to/project
Doctor
piagent-doctor /path/to/project
Smoke benchmark
piagent-benchmark --dry-run
piagent-benchmark
Production benchmark
piagent-benchmark --production --dry-run
piagent-benchmark --production --surfaces piagent,codex-cli \
  --model openai-codex/gpt-5.6-sol --thinking xhigh
Compare codex-cli
piagent-benchmark --surfaces piagent,codex-cli \
  --model openai-codex/gpt-5.6-sol --thinking xhigh
Trusted run
piagent-auto --read-only -p "Scout payment mapping. Do not edit source."
piagent-auto --full-access -p "Run the trusted local benchmark suite."
Capabilities
piagent-capabilities catalog --check
piagent-capabilities doctor --profile .pi/piagent-profile.json
Verification
npm run verify
npm test
npm run typecheck