Cosmic

Cosmic

AI-first app development, deployment, and content management

5.0
1 review

456 followers

Cosmic is an AI-first app development, deployment, and content management platform. Build and deploy anything you can imagine using natural language, in minutes.
This is the 20th launch from Cosmic. View more

Cosmic CLI

Launching today
AI-powered CLI that builds, deploys, and manages content.
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 gallery image
Cosmic CLI gallery image
Cosmic CLI gallery image
Cosmic CLI gallery image
Free
Launch Team
Unblocked AI Code Review
Unblocked AI Code Review
High-signal comments based on your team's context
Promoted

What do you think? …

Tony Spiro

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