# How Nx Redesigned Its CLI for AI Agents

DevFeed: [How Nx Redesigned Its CLI for AI Agents](<https://devfeed.tech/articles/agentic-experience-is-the-new-developer-experience-21411.md>)

Original publisher: [Read original article](<https://nx.dev/blog/making-nx-agent-ready>)

Author: Max Kless

Published: 2026-03-05T00:00:00Z

Content type: article

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [code productivity](<https://devfeed.tech/topics/code-productivity.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [cli](<https://devfeed.tech/tags/cli.md>), [commands](<https://devfeed.tech/tags/commands.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [dx](<https://devfeed.tech/tags/dx.md>), [nx](<https://devfeed.tech/tags/nx.md>), [productivity](<https://devfeed.tech/tags/productivity.md>)

## AI overview

Nx describes improvements to commands including nx import, nx init, and create-nx-workspace to make its CLI work more effectively with AI agents. The article explains how missing context, interactive output, retry failures, and overly prescriptive output can hinder agent workflows, while improvements to agentic experience can also improve developer experience.

## Source excerpt

How we redesigned Nx CLI commands like nx import, nx init, and create-nx-workspace to work seamlessly with AI agents, and the AX principles behind the changes.