Product Thumbnail

Cosmic CLI

AI-powered CLI that builds, deploys, and manages content.

API
Developer Tools
Artificial Intelligence

Hunted byTony SpiroTony Spiro

The Cosmic CLI is an AI-powered command-line interface that brings the full Cosmic platform to your terminal. It is a complete development environment with an interactive shell, AI chat modes, and shortcut commands that collapse complex workflows into single commands. Describe an app and the CLI generates it, deploys it to Vercel, and manages it. Create content with natural language, update existing codebases with AI, and orchestrate agents and workflows - all without leaving the command line.

Top comment

Hey Product Hunt! Tony here, CEO of Cosmic.

Between Claude Code, autonomous agents, and AI-native dev tools, the CLI has become the center of how software gets built. I wanted Cosmic to be there. So we built the Cosmic CLI - the fastest path from idea to production, entirely from the terminal. Describe what you want, and the CLI builds it, deploys it, and manages it.

You can go from zero to a deployed app in one line:

cosmic login && cosmic projects create && cosmic build -p "A recipe blog" && cosmic deploy start --watch

That single chain creates your project, generates a content model with AI, builds a full Next.js application with your content wired in, pushes it to GitHub, and deploys it to Vercel. Done.

Four ways to build with AI:


🛠 `cosmic build` - Describe an app and the CLI generates a complete Next.js project, creates a GitHub repo, and wires in your Cosmic content.

📄 `cosmic content` - Create and manage content conversationally. "Create 5 blog posts about space travel with images" - and it does, matching your existing content model.

🔄 `cosmic update` - Point it at an existing repo, give it instructions ("Add dark mode and a favorites feature"), and it creates a branch with the changes and opens a PR.

💬 `cosmic chat` - Query your content in natural language. Read-only by default, or switch to content/build/repo modes for full control.

Key Features:

🔄 AI Agents & Workflows - Build content agents, code agents, and browser automation agents (computer use). Schedule them on autopilot and chain them into multi-step workflows.

💻 Interactive Shell - Run `cosmic shell` and drop the prefix. Navigate your projects like a filesystem with `cd`, `ls`, and `pwd`. Use `!` for system commands. It's like having a purpose-built terminal for your CMS.

🧠 Multi-Model AI - Choose from Claude 4.5 (Opus, Sonnet, Haiku), GPT-5, GPT-5.2, GPT-5-mini, GPT-4o, or Gemini 3 Pro.

Full Lifecycle - Content, media, types, repos, branches, PRs, deployments, domains, DNS, billing, team, webhooks - it's all there from the command line.

Why we built this:

Development is moving to the terminal. Agents write code, ship PRs, and manage infrastructure autonomously. We wanted content management to keep up - so we made Cosmic fully operable from the command line, for both humans and agents.

It's free to get started:

npm install -g @cosmicjs/cli

Docs: https://www.cosmicjs.com/docs/cli

Blog: https://www.cosmicjs.com/blog/introducing-cosmic-cli

What would you build with the Cosmic CLI? Drop a comment below! 👇

- Tony

Comment highlights

No comment highlights available yet. Please check back later!

About Cosmic CLI on Product Hunt

AI-powered CLI that builds, deploys, and manages content.

Cosmic CLI launched on Product Hunt on February 10th, 2026 and earned 112 upvotes and 1 comments, placing #11 on the daily leaderboard. The Cosmic CLI is an AI-powered command-line interface that brings the full Cosmic platform to your terminal. It is a complete development environment with an interactive shell, AI chat modes, and shortcut commands that collapse complex workflows into single commands. Describe an app and the CLI generates it, deploys it to Vercel, and manages it. Create content with natural language, update existing codebases with AI, and orchestrate agents and workflows - all without leaving the command line.

Cosmic CLI was featured in API (98k followers), Developer Tools (511k followers) and Artificial Intelligence (466.2k followers) on Product Hunt. Together, these topics include over 161.8k products, making this a competitive space to launch in.

Who hunted Cosmic CLI?

Cosmic CLI was hunted by Tony Spiro. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Reviews

Cosmic CLI has received 1 review on Product Hunt with an average rating of 5.00/5. Read all reviews on Product Hunt.

Want to see how Cosmic CLI stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.