File-backed content management

Content that stays in your repository.

prime Content Management System gives your Markdown a focused editor and an agent that drafts edits for you. Nothing it writes lands until someone reads the diff and applies it. For Astro, Next.js, SvelteKit and any Vite site.

bunx @getprimecms/cli init

Poststhe-case-for-plain-files

All changes saved

Three steps, and your files never move.

  1. Point it at your content

    Run primecms init. It reads the Markdown you already have, infers the fields, installs prime, and connects your framework. The typed config is one file you can adjust.

    bunx @getprimecms/cli init
  2. Write in a focused editor

    Writers get a reading-width editor, real form fields and drafts that survive a closed tab. Every save is a normal file on disk.

    content/posts/hello.md
  3. Review what the agent proposes

    Ask for an edit or an audit and the agent drafts a changeset. You see a readable before and after for every file, then apply all of it or just the parts you want.

    1 proposal waiting

An agent that asks before it edits.

It searches, reads and checks your content, then proposes. A proposal can touch many files; you see every change as a readable diff and apply all of it, or only the parts you want.

Knows where you are
“This post” means the one you have open. Select a paragraph and it sees that too.
Cannot save
Its only write tool creates a proposal. You hold the apply button.
Never overwrites you
If you edit a file after it read it, the proposal is marked out of date and blocked.
Any model
Bring a key for Anthropic, OpenAI, Google or a local model. Built on the AI SDK and assistant-ui.
A proposal from the agent with three changes across three posts, one of them unticked, and a one-line diff fixing an old link.

One admin. Whatever you build with.

prime is a single web-standard request handler. Each adapter is a few lines that mount it, so the editor, the agent and your content behave the same everywhere. bunx @getprimecms/cli init adds them for you.

astro.config.mjs
import prime from "@getprimecms/astro";
import { defineConfig } from "astro/config";

export default defineConfig({
  integrations: [prime()],
});

Works in astro dev out of the box. Add any server adapter to deploy the admin; static builds stay static.

Start from a site that already works.

A free primer for every framework: posts, pages and settings, with a small design of its own to keep or replace. Start one with bunx @getprimecms/cli new.

  • Astro primer

    A quiet serif journal, with the dates in the margin.

    bunx @getprimecms/cli new astro
  • SvelteKit primer

    A large headline over a grid of numbered posts.

    bunx @getprimecms/cli new sveltekit
  • Vite primer

    A single-column profile: a card for you, then your posts.

    bunx @getprimecms/cli new vite
  • Hugo primer

    A plain-text log in monospace, dates first.

    bunx @getprimecms/cli new hugo
  • Jekyll primer

    A classic blog, with dates kept in the file names.

    bunx @getprimecms/cli new jekyll
  • Eleventy primer

    A zine: an issue-numbered masthead and Didot headlines.

    bunx @getprimecms/cli new eleventy

A CMS that treats Markdown like source code.

Your formatting survives
Comments, key order and quoting in frontmatter are edited in place, not rewritten.
Unknown fields are kept
Frontmatter prime does not model passes through untouched, so other tools keep working.
No lost edits
Saves check the file version. If someone changed it meanwhile, prime stops instead of overwriting.
MDX is safe
Components, imports and expressions show as blocks and are saved exactly as written. A body that does not parse is refused.
Works without a disk
On Vercel, Netlify or Cloudflare, GitHub storage turns every save into a commit.
Checks in CI
primecms check validates every entry against your schema and fails the build when one is broken.

A guide to how prime works.

Install prime in an existing project, describe your collections, connect a model, and deploy the admin behind real authentication.

Try any plan free for 14 days.

Pay monthly, or yearly and get two months free. Each site covers its subdomains and staging.

Billing period

Solo

For your own site or a single client.

$12USD a month

Billed monthly.

Monthly price $12$10USD a month

Billed $120 yearly.Save $24 a year

1 production site

  • The editor, live preview and reviews
  • The agent, with your own model key
  • Every update while you subscribe
Start free trial

or buy now: Solo, $12 a monthSolo, $120 a year

Agency

For agencies shipping client sites every month.

$249USD a month

Billed monthly.

Monthly price $249$207USD a month

Billed $2,484 yearly.Save $504 a year

Unlimited production sites

  • Everything in Studio
  • One admin for every client site
  • Priority email support and help setting up your first sites

Hosted agent includedNo API key needed. Starts with your first payment.

Start free trial

or buy now: Agency, $249 a monthAgency, $2,484 a year

No card needed for the trial. Your content stays as files in your repository.Prices in USD, before tax. Cancel any time; your published site keeps working. Trials use your own model key, and the hosted agent starts with your first payment. How licensing works.

The questions we hear most.

Have a question? Get in touch.

Your next edit could be a reviewed one.

Install prime in an existing project in about two minutes, and try any plan free for 14 days.