AI Agents

Recent

PyTorch's playbook for AI coding, as of May 2026

Edward Yang (@ezyang) · May 30, 2026
ai-agentscode-reviewossllm

One of the important topics being discussed among the PyTorch team is how the PyTorch codebase should engage with AI coding agents. Today, many PRs to PyTorch are AI-authored, and there have been obvious growing pains as we’ve figured things out. Based on discussions at the most recent PyTorch compiler offsite (May 2026), I’ve assembled this playbook for AI coding in PyTorch. It is half descriptive, half prescriptive: it is trying to codify practices that are being used among some members of the team, and bring everyone else along. Hopefully, this post is just the beginning of our ongoing conversation about how to engage with AI coding agents. We can think of AI generated code as living in a …

Continue reading →

All AI Agents Logs