Show HN: Cosmic CLI – Build, deploy, and manage apps from your terminal with AI(github.com)
github.com
Show HN: Cosmic CLI – Build, deploy, and manage apps from your terminal with AI
https://github.com/cosmicjs/cli
0 comments
—
https://github.com/cosmicjs/cli
—
Here's what the full workflow looks like:
That's the part I think is interesting: it's not just one step, it's the full loop. Create content, build the app, ship it, iterate on it, merge and redeploy. Each step is a single command.
A few of the more technically interesting pieces:
AI agents. You can create three types: content agents (CMS operations), repository agents (code changes on branches), and computer use agents (browser automation via Puppeteer with AI vision). Chain them into multi-step workflows with scheduling.
Interactive shell. "cosmic shell" drops into a REPL where you navigate workspaces and projects like a filesystem: cd, ls, pwd. System commands with ! prefix. No cosmic prefix needed.
Multi-model. Supports Claude Opus/Sonnet/Haiku, GPT-5/5.2/5-mini/4o, and Gemini 3 Pro. Set a default or specify per-command.
It also handles the day-to-day stuff you'd normally do in a dashboard: billing, team roles, webhooks, domain/DNS config, environment variables.
Built with TypeScript and Commander.js. MIT licensed.
Install: npm install -g @cosmicjs/cli
GitHub: https://github.com/cosmicjs/cli
Docs: https://www.cosmicjs.com/docs/cli
Happy to answer questions.