AI Agent Workflows
Use GPU CLI with coding agents and repo-local automation workflows
AI Agent Workflows
GPU CLI works well with coding agents that share your local workspace. The practical workflow today is:
- install and authenticate GPU CLI locally
- let the agent inspect your repo and generate or edit
gpu.jsonc - use
gpu agent-docswhen the agent needs machine-oriented command and workflow reference - run
gpu run,gpu llm run,gpu use, orgpu serverlessfrom the same repo
Start with gpu agent-docs
gpu agent-docs prints agent-focused reference material to stdout.
gpu agent-docs
gpu agent-docs | head -50Use it when your agent needs a compact source of truth for:
- command names and examples
- workflow shape
- JSON output behavior
- common troubleshooting hints
Good Agent Tasks
Agents are a good fit for:
- generating
gpu.jsoncfrom a project description - choosing GPU types and output patterns
- setting up
gpu llmand template workflows - debugging sync, auth, and startup issues
- adding provider or model-hub auth instructions to project docs
Common Workflows
Generate a project config
Create a gpu.jsonc for fine-tuning on an RTX 4090, sync checkpoints/, and keep the pod warm for 20 minutes.Set up a routed LLM pod
Configure this repo for gpu llm run with vLLM and a HuggingFace model.Turn a project into a reusable template
Create a gpu.jsonc template with startup, ports, and hooks so I can run it with gpu use.Built-In GPU CLI Paths to Know
gpu run— general remote command executiongpu llm run— routed Ollama or vLLM workflowgpu use ollama/gpu use vllm— official LLM templatesgpu comfyui ...— curated ComfyUI workflowsgpu serverless ...— RunPod Serverless deployment
Official Templates Mentioned Often by Agents
hello-gpuollamavllminvokeaicrewaiimage-to-3dqwenchatterbox
Requirements
- GPU CLI installed and authenticated
- a coding agent that can read and edit the same local workspace you use
- provider credentials configured with
gpu auth login