Everything You Need to Build, Ship, and Scale

AI agents that build features and publish content, a CLI that goes from zero to production in minutes, and a REST API and SDK to power any frontend, all from one platform.

No credit card required · Free forever

AI Agents

AI Agents That Work for You

AI agents that operate autonomously inside your CMS. Generate text, images, and video. Build features in GitHub, automate browser tasks, and communicate on Slack, WhatsApp, and Telegram.

Slack
content-team
Cosmic Agent Lisa (CMO)
Cosmic Agent Lisa (CMO)9:00 AM

Good morning! Here’s your weekly content report:

+34% traffic on “Getting Started” guide
Top performer: “API Best Practices” (2.1k views)
Recommendation: Write a follow-up on authentication patterns

Sarah
Sarah9:02 AM

Great insight. Go ahead and write that authentication post and publish it.

Cosmic Agent Lisa (CMO)
Cosmic Agent Lisa (CMO)9:05 AM

Published “Authentication Patterns for Modern Apps” with 4 sections, code examples, and SEO metadata. View in dashboard

Maciek Palmowski

“I’m constantly testing CMSs, and many headless CMSs, while great for developers, aren’t that great for users. Cosmic has hit the perfect balance.”

Maciek Palmowski DX at Kinsta

Terminal
$cosmic login
✓ Logged in as you@example.com
$cosmic build -p "A modern recipe blog with search"
✓ Generated Next.js app → github.com/you/recipe-blog
$cosmic deploy start --watch
✓ Deployed: https://recipe-blog.cosmic.site
$npm install -g @cosmicjs/cli
Owen Liversidge

“Cosmic allowed us to easily integrate a secure and fast back-end API into our React app. Cosmic fit our needs with its simple web-based dashboard so that members of our marketing team can create, edit, and delete new content on the fly.”

Owen Liversidge Lead Developer, Tripwire Interactive

Cosmic CLI

Zero to Production from Your Terminal

The AI-powered CLI that manages content, builds apps, creates agents, and deploys to production. One tool for everything.

AI Chat & Content

Create and manage content with natural language. Generate text, images, and video directly from the terminal.

Build Apps Instantly

Describe your app and the CLI generates a full-stack Next.js project with your CMS content wired in.

Deploy in Seconds

Ship to Vercel with one command. Manage repos, branches, PRs, domains, and DNS.

Automate Everything

Manage agents, workflows, webhooks, and billing from your terminal. Schedule and trigger automations.

Read CLI Docs
REST API & SDK

A REST API Built for Speed

RESTful API with sub-100ms response times. TypeScript SDK with intuitive methods for content, media, and AI generation: text, images, and video, all from one SDK.

  • TypeScript SDK with createBucketClient
  • MongoDB-style queries ($lt, $gt, $in, $regex)
  • Semantic search: find content by meaning, not keywords
  • Built-in AI: generate text, images, and video via SDK
  • 20+ metafield types including repeaters and relationships
  • Next.js, React, Astro, Remix, Nuxt, Svelte, and more
Explore API Docs
app/page.tsx
TypeScript
import { createBucketClient } from '@cosmicjs/sdk' const cosmic = createBucketClient({ bucketSlug: 'BUCKET_SLUG', readKey: 'BUCKET_READ_KEY', }) // Fetch content const { objects } = await cosmic.objects .find({ type: 'posts' }) .props('title,slug,metadata') // Generate AI images and video const image = await cosmic.ai.generateImage({ prompt: 'A hero banner for a tech blog', }) const video = await cosmic.ai.generateVideo({ prompt: 'Product demo animation', })
Chris Nicholas

“Lovely interface! I like how easy it is to find and create a REST API URL in the Developer Tools tab.”

Chris Nicholas DX at Liveblocks

E-commerce Site Launch

3 agents · ~20 min estimated

Running

Content step

Completed

Generated product catalog with 50 items, descriptions, and SEO metadata

Code step

Completed

Built Next.js storefront with product pages, cart, and checkout flow

Browser step

Running

Testing checkout flow and recording demo video

Workflows

Chain Agents Into Powerful Automations

Chain agents together, combining content, code, and browser capabilities to automate complex operations. Build once, run forever. Schedule or trigger via webhooks.

  • Chain content, code, and browser steps in sequence
  • Manual, scheduled (cron), or event-driven triggers
  • Real-time monitoring with step-by-step updates
  • Token usage and cost tracking
  • Approval gates for human review
Explore Workflows
99%

Time Saved

vs manual processes

24/7

Automation

Always running

99.9%

Cost Reduction

$150K to $95

Dashboard

Your AI-Powered Command Center

Manage content, configure agents, and collaborate with your team from one powerful dashboard. Everything your team creates flows through here.

Cosmic Dashboard
ObjectsMediaAgentsCodeSettings
Blog Posts
585
TitleStatus
Exploring the Earth: Adventures and Wonders from a ...
Published
Exploring the Wonders of Planet Earth
Published
Exploring the World's Natural Wonders: A Nature Lov...
Published
The Importance of Biodiversity on Planet Earth
Published
Earth: The Ultimate Playground
Published

Content Modeling

Flexible content modeling with 20+ field types including repeaters, relationships, and nested objects.

Media Management

imgix CDN with image optimization and transformations. AI image and video generation built in.

AI Generation

Generate text, images, and video with AI. Summaries, SEO content, translations, and alt text built in.

AI image generation
AI video generation
Scheduled publishing
Bulk editing
Auto-translate with AI
Chat with media assets
Smart views and filters
AI activity logs
Katie Prowd

“Cosmic frees up more time for our developers and makes our workflow more flexible.”

Katie Prowd COO at Cipher Sports Technology Group

Built for Teams

Everything your team needs to collaborate securely and efficiently.

Granular roles & permissions
2FA & secure collaboration
Activity logs
Revision history
Automatic backups
Usage & analytics
Comments
Unlimited extensions

Built for Scale, Secured by Default

Enterprise-grade infrastructure that grows with your team.

99.95%

Enterprise Uptime SLA

150+

Countries Served

50M+

API Requests / Month

TLS

Encrypted in Transit

Enterprise Security

2FA, role-based access control, per-Bucket API keys, and versioned content history.

Global CDN

Edge caching and image optimization with worldwide delivery.

Blazing Fast API

RESTful API with sub-100ms response times.

Auto-scaling Infrastructure

Handles traffic spikes without manual intervention.

Open Source SDKs

JavaScript, Agent Skills, MCP, and CLI tools with full TypeScript support.

Data Portability

Full import/export. Your data is never locked in.

Simple, Transparent Pricing

Start free, scale as you grow. Agents and workflows on every plan, allowances that meter rather than block, and clear per-unit rates published for every resource.

Free

$0/mo

  • 300k AI tokens
  • 10k objects

Builder

$99/mo

  • 500k AI tokens
  • 50k objects
Most Popular

Team

$299/mo

  • 1M AI tokens
  • 100k objects

Business

$499/mo

  • 3M AI tokens
  • 250k objects

Enterprise

Custom

  • Custom AI tokens
  • Custom limits

Token packs available: 2M ($25) · 10M ($110) · 50M ($475)

cosmic logo
cosmic logo

Start building today

No credit card required • Free forever