Blog
Philip Fulcher
July 29, 2024

Introducing Explain with AI

Introducing Explain with AI

It's Friday, and you absolutely, positively have to deploy to production. But you can't get CI to pass your PR. What do you do? It's an inevitable part of your life as a developer, and you've built a collection of tools to deal with it: Google, MDN, Discord, ChatGPT. We've got one more tool for your toolbox: "Explain with AI" for Nx Cloud.

Your ticket to fast error debugging

"Explain with AI" is a new feature for all Nx Cloud Pro users that is going to help you troubleshoot those pesky failing tasks. Whenever you get an error message on CI, look for the "Explain with AI" button on the upper right-hand corner:

Nx Cloud error log window

Once you hit that button, we collect the terminal output and other Nx task information and sprinkle some AI on top of it to give you a suggested fix. That should help you quickly get to the bottom of the issue and get back to work quickly.

Explain with AI explaining how to resolve the CI error

No more switching back and forth between a dozen tabs with different solutions. No more providing the right context for your masterfully written chat prompt. Get your suggested fix and get back to work.

How can I start using this today?

Nx Cloud organization settings section for enabling AI features

Here's how you get started:

  • Step 1: Go to your Nx Cloud organization settings
  • Step 2: Enable AI features
  • Step 3: Accept the Nx Cloud AI terms and conditions.
  • Step 4: You're all set ✨

Note that you'll need to be an organization admin for your Nx Cloud workspace to enable AI features.

I want to try this, but I'm on the Hobby plan 🤔

If you're currently on the Hobby plan, you can start a free Pro plan trial for 14 days to try it out on your own workspace. No, we don't ask for credit cards to start a trial, so feel free to experiment!

More to come!

This is just the first of a series of AI-powered features that we're going to be rolling out to your workspaces. We've got some cool features in the works already, which we're going to announce publicly during the Monorepo World conference in October! So stay tuned!

Learn more