Next.js 16.2 ships several features aimed at AI-assisted development workflows. create-next-app now includes an AGENTS.md file with bundled, version-matched documentation so AI agents always have accurate context without external fetches. Browser errors are forwarded to the terminal by default, making client-side debugging accessible to terminal-based agents. A dev server lock file records the running process PID, port, and URL, giving agents actionable information when a duplicate server start is attempted. An experimental CLI tool, next-browser, lets AI agents inspect running Next.js apps via shell commands — accessing React component trees, PPR shell analysis, network requests, console logs, and screenshots — without needing browser access.
Table of contents
Agent-ready create-next-appBrowser Log ForwardingDev Server Lock FileExperimental Agent DevToolsFeedback and Community2 Comments
Sort: