Contentrain is a content governance ecosystem for teams and AI agents. Content lives as JSON and Markdown in your own Git repository, defined by models and checked by validation, so every change, whether a person or an agent made it, is a reviewable diff.
npx contentrain init sets up a .contentrain/ workspace; npx contentrain serve opens a local review UI. No account or cloud needed.contentrain generate writes a typed client for any JavaScript framework, and @contentrain/query/astro provides an Astro content layer loader.The developer packages are MIT-licensed: github.com/Contentrain/ai.
npx contentrain init
npx contentrain serve
Documentation: ai.contentrain.io
Find more headless content management systems.