Agentic Deployment with Cloud CLI

In this guide, you'll learn how the Cloud CLI supports deployment and debugging through AI agents.

What is the Cloud CLI?#

The Cloud CLI is a command-line interface tool that allows you to manage resources in your applications deployed on Cloud. You can view logs, manage deployments, and perform various operations to ensure your application runs smoothly.


Using the Cloud CLI with AI Agents#

The Cloud CLI is designed to optimize your agentic development. By combining the Cloud CLI with AI agents, you can automate deployment processes and debug issues more efficiently. AI agents can analyze logs, identify potential issues, and even suggest fixes, making it easier for you to maintain your application.

The Cloud CLI optimizes your agentic development workflow by:

  • Providing a scriptable interface to manage your Cloud resources.
  • Allowing AI agents to interact with your Cloud environment for tasks like fetching logs, managing deployments, and more.
  • Enabling automation of routine tasks in CI/CD pipelines.
  • Integrating with AI agents to enhance debugging and deployment processes.

Get Started with the Cloud CLI#

To get started with the Cloud CLI with AI agents, copy the following prompt to your agent to get started:

Prompt
Fetch https://docs.medusajs.com/cloud/cli/agents and set up the Medusa Cloud CLI.

You can also install the instructions in that document as a skill in your agent:

See the Agentic Deployment with Cloud CLI guide for more details.

Was this chapter helpful?
Ask Bloom
For assistance in your development, use Claude Code Plugins or Medusa MCP server in Cursor, VSCode, etc...FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break