name: ai-pi-nv-deepseek description: Adversarial review via pi using DeepSeek V3.2 (deepseek-ai/deepseek-v3.2) via nvidia-nim version: 1.0.0 enforcement: strict triggers: - /ai-pi-deepseek-v32 - /pi-deepseek - adversarial review deepseek workflow_steps: - Parse target - Invoke pi with deepseek-v3.2 via nvidia-nim - Parse JSON output - Report findings allowed_tools: - Bash - Read
/ai-pi-deepseek-v32 — Adversarial Review via Pi + DeepSeek V3.2
Quick Start
pi --model nvidia-nim/deepseek-ai/deepseek-v3.2 \
-p @P:/path/to/file.py \
"Read the file at @{path} carefully. Return JSON with score (0-1), summary (1 sentence), and issues. Begin your response with the exact first line of the file, quoted. If you did not read the file, set score to 0.0."
Model Info
| Attribute | Value |
|---|---|
| Model | deepseek-v3.2 |
| Provider | nvidia-nim |
| Context | 131.1K |
| Max Output | 16.4K |
| Thinking | yes |
| Strength | Reasoning, code review |
API Key Setup
pi requires NVIDIA_NIM_API_KEY at startup. Export from auth.json:
NV_KEY=$(python -c "import json; d=json.load(open('$USERPROFILE/.pi/agent/auth.json')); print(d.get('nvidia',{}).get('key',''))")
export NVIDIA_NIM_API_KEY="$NV_KEY"
pi --model nvidia-nim/deepseek-ai/deepseek-v3.2 -p @P:/path/to/file.py "Read the file at @{path} carefully. Return JSON with score (0-1), summary (1 sentence), and issues. Begin your response with the exact first line of the file, quoted. If you did not read the file, set score to 0.0."
Verification
pi --model nvidia-nim/deepseek-ai/deepseek-v3.2 -p @P:/path/to/file.py "Say hello"
If you get 429 status code — rate limit hit. Wait 30s and retry.