www/apps/book/app/learn/introduction/build-with-llms-ai/cloud-cli/page.mdx
import { CodeTab, CodeTabs, } from "docs-ui"
export const metadata = {
title: Agentic Deployment with Cloud CLI,
}
In this guide, you'll learn how the Cloud CLI supports deployment and debugging through AI agents.
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.
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:
To get started with the Cloud CLI with AI agents, copy the following prompt to your agent to get started:
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:
<CodeTabs group="agent-skills"> <CodeTab label="Claude Code" value="claude-code">claude # start claude code
/plugin marketplace add medusajs/medusa-agent-skills
/plugin install medusa-cloud@medusa
npx skills add medusajs/medusa-agent-skills
# choose the following skill:
# - using-medusa-cloud
See the Agentic Deployment with Cloud CLI guide for more details.