惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
C
Cyber Attacks, Cyber Crime and Cyber Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Project Zero
Project Zero
T
The Exploit Database - CXSecurity.com
G
GRAHAM CLULEY
T
Threatpost
A
Arctic Wolf
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Scott Helme
Scott Helme
Simon Willison's Weblog
Simon Willison's Weblog
P
Proofpoint News Feed
C
Cisco Blogs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
Kaspersky official blog
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threat Research - Cisco Blogs
The Hacker News
The Hacker News
T
Tor Project blog
NISL@THU
NISL@THU
The GitHub Blog
The GitHub Blog
Security Latest
Security Latest
aimingoo的专栏
aimingoo的专栏
C
CERT Recently Published Vulnerability Notes
Recorded Future
Recorded Future
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
N
News | PayPal Newsroom
P
Privacy & Cybersecurity Law Blog
MyScale Blog
MyScale Blog
G
Google Developers Blog
V
V2EX
V
Visual Studio Blog
P
Privacy International News Feed
Google Online Security Blog
Google Online Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
L
LINUX DO - 热门话题
MongoDB | Blog
MongoDB | Blog
腾讯CDC
J
Java Code Geeks
The Last Watchdog
The Last Watchdog
L
Lohrmann on Cybersecurity
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
Webroot Blog
Webroot Blog
S
Secure Thoughts

Sanity.io

A Board Game agent built using Sanity Context and Vercel's AI SDK | Sanity Build a prototype with Claude Code that your whole team can edit | Sanity What’s New - May 2026 | Sanity I built a London pub guide with v0 and the Sanity MCP in six hours. Here's what I learned. | Sanity Build a conference concierge with Agent Context and Anthropic | Sanity Build a content-aware Telegram agent with Vercel AI SDK and Chat SDK | Sanity How I used Agent API to generate photos for my family’s recipes | Sanity What’s New April - 2026 | Sanity Better context, better matches: An AI love story (for dogs) | Sanity How to write for an agent | Sanity Content Agent, meet Slack: AI content operations in your workflow | Sanity Structure powers intelligence | Sanity Your agent needs better content. Here's how to give it. | Sanity How to serve content to agents (a field guide) | Sanity Sanity TypeGen GA: Automatic TypeScript types for content and GROQ | Sanity Sanity is now available on the Vercel Marketplace | Sanity The logo soup problem (and how to solve it) | Sanity Content Releases: From scattered updates to coordinated publishing | Sanity What's New - February 2026 | Sanity How we solved the agent memory problem | Sanity v0 Builder Challenge: The winners | Sanity Introducing: Sanity Agent Skills | Sanity Content Agent: Days of work in one conversation | Sanity Our Sanity Values | Sanity Open Source Pledge 2025: Stepping up when it matters | Sanity v0 builder challenge: $3000 in prizes | Sanity Why AI Breaks Without Structured Content Operations | Sanity What’s New January - 2026 | Sanity BFCM 2025: What teams built when infrastructure stopped being the problem | Sanity How AI shaped holiday shopping and what it means for content in 2026 | Sanity Sanity Studio v5: Embracing React 19 | Sanity You’ll need a CMS eventually. Let your agent set it up. | Sanity “You should never build a CMS” | Sanity AI Content Operations: A 30-Day Implementation Guide | Sanity What’s New December - 2025 | Sanity Scheduled Drafts: Stop manually publishing content at midnight | Sanity What’s New November - 2025 | Sanity Everything *[NYC] 2025 recap: A day of AI, Content Operations, and Culture | Sanity Clankers and content operations | Sanity Content Agent: AI that understands your structured content is here | Sanity Why design-driven content modeling creates technical debt, not velocity | Sanity What's New October - 2025 | Sanity From studio to inbox: How Kevin Green eliminated email campaign friction | Sanity The content editor's guide to content operations [E-commerce edition] | Sanity styled-components maintenance mode: A 40% faster fork | Sanity From zero code to a live website in 7 hours (thanks, Cursor!) | Sanity First attempt will be 95% garbage: A staff engineer's 6-week journey with Claude Code | Sanity Internationalization is more than translating words | Sanity What's New - September 2025 | Sanity We just deleted our 35k-member community Slack | Sanity What's New - August 2025 | Sanity The engineer's guide to content operations [E-commerce edition] | Sanity SEO for AI: Evolving from Web Pages to the Content Lake | Sanity What's New - July 2025 | Sanity Sanity Studio v4: A major version bump for a minor reason | Sanity What's New - June 2025 | Sanity Dashboard and Insights: Your New Content HQ | Sanity Canvas: AI-accelerated, context-aware, freeform authoring | Sanity Agent Actions: AI building blocks for structured content | Sanity Functions: Life beyond pressing publish | Sanity A new era for content applications with Sanity App SDK | Sanity The end of CMS era and our $85M Series C. | Sanity What's New – May 2025 | Sanity Introducing the Sanity Model Context Protocol (MCP) server | Sanity What's New – April 2025 | Sanity Pushing all the envelopes with ambitious content | Sanity Self-hosting is only free if your time is worth nothing | Sanity Content that lasts: Scaling beyond your frontend | Sanity The Live Content API is now Generally Available | Sanity The future beyond AI chat bots | Sanity Learning the new skill of working with AI | Sanity What's New - March 2025 | Sanity Give it in plain text: Making your content AI-Ready | Sanity No More 'DO NOT PUBLISH': Introducing Content Releases | Sanity React in 2025, what's next? | Sanity The final boss of front-end: block editors | Sanity Introducing Sanity for Startups | Sanity A block content editor that loves you back | Sanity A Black Friday Snooze Fest: Massive Traffic, No Drama | Sanity How to make a recipe site that scales well | Sanity The Sanity Winter Release 2024 | Sanity AVIF Arrives, Sanity’s Promise Fulfilled | Sanity Sanity joins the Open Source Pledge | Sanity Your content is now Live by default | Sanity Begin Team to Join Sanity | Sanity Sanity Digest - September '24 Edition | Sanity Sanity partners with Google. Now live on the Google Cloud Marketplace. | Sanity Sanity Digest - August ‘24 Edition | Sanity Now playing: the latest Mux Video Input plugin for Sanity | Sanity Community Digest - June ‘24 Edition | Sanity Community Digest - May ‘24 Edition | Sanity Guide to Sanity's newest product announcements | Sanity AI and Content Creation: A Leader's Guide | Sanity Of course, you should be able to type your content quickly! | Sanity New to AI Assist: translation, reference suggestions, image generation | Sanity Speak the language of your editors: Sanity Studio UI localization | Sanity Introducing the new Sanity Growth plan to serve collaborative teams | Sanity Presentation: Work faster than ever with structured content | Sanity Goodbye Feedback Frenzy, Hello Sanity Studio Comments! | Sanity Easing into the App Router with the Sanity Toolkit for Next.js | Sanity
Headless CMS Explained
Knut Melvær · 2020-08-19 · via Sanity.io

This guide explains headless CMSes and how Sanity works as one. But Sanity is also built for something headless wasn't designed for. Learn what that means →

Learn about headless content management systems: what they are, how they work, and how they differ from traditional CMSes like WordPress. We explore the uses of headless content, and how to apply it to websites, apps, and more.

What is a Headless CMS?

A headless CMS is a content management system that separates where content is stored (the “body”) from where it is presented (the “head“). It separates information and presentation. This enables content reuse and remixing across web, mobile, and digital media platforms as needed. You could even reuse your content in print.

Format-agnostic content provides a transformative experience for everyone involved - authors, developers, and users alike.

Authors benefit from a fully customizable editor built with structured data models. Developers receive a streamlined API for efficient querying and filtering. And, in the end, users enjoy content delivered exactly how and where they want it.

Sanity is the Content Operating System for teams that need more than a CMS. Model your content to match how your business actually operates. Automate workflows with AI so your team focuses on what matters. Deliver structured content to any channel, from websites to AI agents, through a single source of truth.

Watch demo

What do a recording studio and a headless CMS have in common

Making sense of the advantages of a headless CMS can be a bit tough at first, so let’s try something different.

Imagine you wanted to record a song.

A song is composed of many pieces of information - lyrics, melodies, instruments, voice tracks, and more. You could just make a simple one-track recording of a song in your basement. Information and presentation are mixed together.

You can replay the song but you can’t remix it.

What is much better, and what a professional recording studio does, is create a tailored recording experience for each musician. Each part is recorded as individual tracks. Then a sound engineer works with a team to remix and level all the tracks, creating the perfect song.

You can replay the song and remix the song.

A headless CMS offers the same advantages as a professional recording studio. Content creators get a more organized and thoughtful editing experience. Developers, marketers, and designers can remix and iterate on concepts as much as they need. And finally, users get delivered the perfect mix of information, right where they need it.

You can reuse and remix your content!

The rise of headless CMSes

Like most technological innovations, headless CMSes grew out of a set of needs that could no longer be met by a traditional monolithic CMS. This shift was kick-started by the advent of smartphones in the late 2000s and has only accelerated as digital media platforms become more and more diverse.

You now have screens on your wrist, in your car, on your tractor, on your fridge, and in your glasses—not to mention the classic triumvirate of TVs, computers, and phones.

How we consume content has fundamentally changed over the last decade, and so how we store that content has also had to evolve and improve. Enter next-gen headless CMS platforms, like Sanity, where the content is decoupled from code, allowing it to be remixed and reused. Wherever and however it is needed. Billboards to watches.

How developers build digital media has also similarly evolved and improved. Popular modern frameworks, like NextJS and SvelteKit, work best with APIs for content. Headless CMSes give developers those approachable APIs. This symbiotic relationship between next-gen frameworks and next-gen storage options has cemented the emergence of headless CMSes as the next step in content management.

Today, Sanity and other headless CMSes lead developer satisfaction surveys and are the tech everyone wants to work with on their next project!

How does a Headless CMS work?

A headless CMS works by separating the content authoring experience from the software development experience, giving editors an interface for managing content and providing that content via APIs for developers to query and build applications with.

Content authors get to focus on content. Developers get to focus on code. Everyone is doing what they do best.

By comparison, a traditional CMS blurs lines between roles, making you part developer, part writer, and part security analyst. Just like a dinner party, this works well on a small scale but can quickly become overwhelming as a business grows.

The content stored in the headless CMS is accessed via a set of APIs that developers can use to present the data wherever they need.

Today most headless CMSes operate as a Software as a Service (SaaS) company, providing a managed backend and hosted web application. This means someone else is worrying about security, scaling, and servers—it is all taken care of for you!

Diagram explaining the architecture of a headless CMS. We see a database and admin interface coupled together. Through read and write APIs, these elements connect to custom integrations such as Vercel, Netlify, Smartling, Shopify and others. Through a read API, it connects to multiple view layers, including websites, marketplaces, IoT devices, social media and more.
Architecture of a headless CMS

Sanity is a pumped-up version of a regular headless CMS offering you all these benefits and more. It has a React-based editor, the Sanity Studio, which is easy to configure and customize. Real-time content collaboration on documents. Advanced publishing workflows for editors. And structured content models to power everything from a mobile app to digital signage.

How is it different from a traditional CMS?

As opposed to headless, a “traditional CMS” is software that you either install and have to manage on your own, or on a managed server environment. Traditional CMSes are also called “monolithic” because they pack all the functionality and assumptions for how you want to work into a single system.

Diagram showing how a monolithic or traditional CMS works. It has 3 parts: a database, an admin interface and a single view layer. These 3 elements are tighly coupled and connected to each other.
Architecture of a monolithic CMS

Traditional CMSes often provide a “What You See Is What You Get” (WYSIWYG) content editing interface because they only have one context for presenting the content – usually a web page.

In the last few years, we have seen an uptick of CMSes that try to be more flexible in their ways of making content available. These are usually called “Headless” or “API-first” CMSes. Some of them market themselves as “Content infrastructure,” “Content Hubs” or even “Content as a Service.

However, when you take a closer look, they all pretty much boil down to some database backend with a web-based user interface, and content made accessible through an API.

Headless CMS vs. Traditional CMS comparison

Traditional CMSHeadless CMS
ArchitectureOne-to-oneOne-to-many
ExtensibilityMonolithicModular
Device compatibilityLimitedResponsive by design
Integration and deploymentPunctuatedContinuous
EngineeringDIYManaged
Developer experienceLegacyContemporary
SpeedHigher load timesLower load times
IterationLong cyclesRapid development

At Sanity, we see today’s headless CMS systems as an evolutionary step that leads to an even better way of managing content – where structure is truly flexible, content is treated like data, and editors work in tailored real-time collaboration environments.

→ Learn about the differences between headless and traditional CMSes

Architectural diagram of traditional CMS vs headless cms.
The basic architectural differences between traditional, and headless content management systems.

What is the difference between a headless CMS and a decoupled CMS?

Decoupled CMSes have emerged as a response to the introduction of headless CMSes. Some of the traditional CMS vendors have built APIs on top of their systems and market them as “decoupled.”

These terms often get used interchangeably but mean slightly different things. A headless CMS separates content from code but never has a frontend presentation layer attached. A decoupled CMS still separates content from code but does have a presentation layer or head linked in some way.

In practice, this means that content from a headless CMS can be used however and wherever it is needed, regardless of the presentation layer. A decoupled CMS, however, does still gain some flexibility by separating content from code but remains linked with a final presentation format, most often a website.

→ Learn more about decoupled CMSes and how they're different from headless CMSes

Headless CMS Benefits

A headless CMS is a powerful and flexible way to manage content. It allows for faster editing experiences and the ability to manage content for multiple channels. It offers developers the flexibility to choose their own frontend tooling and makes it easier to scale. In addition, headless CMS also offers enhanced security by separating content from the presentation layer.

1. Faster editing experiences

Traditional CMS architectures have to spend resources on content editing and content rendering. A headless CMS has an advantage over traditional alternatives because it doesn’t have to deal with the rendering side of things. That’s left to other more specialized parts of your stack.

2. Manage content for more channels

Truly headless content isn’t tied to a single presentation concern (e.g. website), so it can find an audience across multiple channels. You can use a headless CMS to manage content for apps and websites. You can even manage your internal/admin content in the same place and extract more value from it that way.

3. Developer flexibility

Because headless content is served over APIs, developers can choose their own front-end tooling. If you’d prefer to work with Javascript instead of PHP or Ruby, you can do that. You can also interchange parts of your stack or move from one framework to another without affecting the CMS.

4. Easier scaling

Headless lets you manage your content from a single source of truth, change developer tools at any time, and benefit from sending your content to high-performance cloud-based hosting and build services like Vercel and Netlify.

5. Enhanced security

Because headless content is separated from the presentation layer it’s a smaller area of attack.

→ Learn more about the benefits of using a headless CMS

While headless CMSes offer unparalleled flexibility and omnichannel content delivery, they come with their own set of challenges.

The absence of a built-in front end means businesses must craft their own presentation layer, potentially increasing initial setup costs and complexity. Teams might face a steeper learning curve, especially when integrating with other systems or optimizing for headless SEO. Additionally, relying on developers for updates can sometimes slow down content modifications.

However, with the right implementation and understanding, many of these challenges can be mitigated, allowing businesses to harness the full potential of a headless CMS.

Who needs a headless CMS?

Today a headless CMS is the right choice for most growing businesses and many use cases.

They have three key competitive advantages over traditional CMSes. Offering a bespoke editing environment with advanced authoring and publishing workflows. Structured content to enable reuse across multiple platforms like an app, website and print media. And managed infrastructure with scaling and security for peace of mind.

However, traditional CMSes still have their benefits and can fit where someone with a non-technical background needs to launch a website without paying a developer. Think small businesses, local brick-and-mortar stores, and even some basic e-commerce.

The plugins and themes offered by a traditional CMS are packed with features and offer tremendous value.

Use cases for Headless CMS

Headless CMSs are best suited for businesses who need a content management system that is highly customizable and easily managed, but don't necessarily need a front-end website. This includes businesses in the media, entertainment, publishing, and eCommerce industries, as well as companies that need to manage a lot of content for internal processes. Businesses in these industries can benefit from the scalability, flexibility, and efficiency headless CMSs provide.

Websites & web apps

They’re a popular choice in high performing “Jamstack” sites and work with static-site-generators like Gatsby, 11ty, and Next. They can also be used for web apps and are popular with modern Javascript Frameworks such React, Vue.js, Svelte, and Angular.

Products & services

A well-designed headless CMS won’t be geared towards a page-based content structure (that should be easy to create, but optional). If this is the case, you can manage content for any product or service: voice assistants, digital kiosks, print, websites – all from the same place.

E-commerce sites

Some headless CMSes are flexible enough to be provisioned as an E-commerce back end. With Sanity you can also integrate headless content with existing E-commerce platforms and product inventory management systems like Shopify and SAP Hybris.

Mobile apps

Headless CMSes are the perfect mobile app CMS not only because they offer a great authoring experience but also because you probably also have a marketing website to manage as well. With a headless CMS you can reuse your content across platforms saving time and money.

Digital signage

With a headless CMS content is ready for use across your entire business from an app all the way to in-store digital signage. Restaurant Brands International (Burger King and more) manages content for over 29,000 restaurants through Sanity benefitting from exactly this feature.

AI agents

Most agent problems aren't model problems. They're content problems.

A customer asks your agent about a product price and it returns last month's figure with full confidence. You add more prompts. It doesn't really get better. The issue is that semantic search gives agents guesses to interpret — not facts to act on.

Structured content changes that. Because Sanity stores content as typed documents with real relationships, agents can query it directly against your actual data model and get structured results they can reason about reliably. When a price changes, agents know immediately. No reindexing pipeline, no stale cache.

Agent Context gives agents two retrieval modes: semantic search for discovery and precise GROQ queries for facts. The MCP server gives external agents like Claude or ChatGPT governed access to the same foundation. Your websites and apps already run on Content Lake. Your agents can too.

How do I choose the right headless CMS?

There are a lot of options out there, and it can be challenging to navigate their many features. We think it’s best to aim for a CMS that can let you grow, and be adapted as your needs evolve. Here’s a list of questions you can ask yourself in order to better evaluate the field:

  • Can I create the kinds of content structures I really need with it?
  • Do I want, or need to, look after content hosting and maintenance myself?
  • Will my content be stored in a secure and privacy compliant manner?
  • Would real-time editing and collaboration improve my workflows?
  • Will my rich text content be locked to HTML?
  • Can I scale my content ops without falling off a price cliff?
  • How does it manage files and image assets?

headlessCMS.org offers a fairly comprehensive list of headless content management systems. It’s geared towards Jamstack sites, but a few of them are like Sanity, and can be used for applications outside of the Jamstack.

Why Sanity is a headless CMS, but also much more


Everything in this guide describes what a headless CMS does well: separating content from presentation, delivering it via API, giving developers flexibility, and editors a clean authoring environment. Sanity does all of that.


But headless was designed for a world where content's job was to reach a screen. A website, an app, a digital sign. The architecture is built around that assumption: store content, expose an API, and let the frontend handle the rest.
That assumption no longer holds for most growing businesses. Content doesn't just need to reach screens. It needs to feed AI agents answering customer questions, power automation workflows that run without anyone hitting publish, and serve as a reliable source of truth for systems that act on your behalf. A headless CMS stores content for humans to retrieve. That's not the same as structuring content so machines can reason about it.


This is what the Content Operating System is built for. At its core is Content Lake — a content database where your business is modeled deliberately, with typed documents, real relationships, and validation rules that both humans and machines can trust. An agent querying your product catalog gets structured facts, not a fuzzy match against flattened text. A price change is reflected immediately, not after the next reindexing run.


On top of that foundation, Sanity adds the operational layer a headless CMS doesn't have: the Content Agent runs complex content workflows directly in the editorial environment. Agent Context gives external AI agents governed, structured access to your content through the MCP server. Functions and Agent API let developers build automation that triggers on content events and scales without managing infrastructure.


Most teams start with the headless use case — a website, a mobile app, an e-commerce storefront. That part works exactly as you'd expect from a headless CMS. But because the content is structured as data from the start, every new use case draws from the same foundation. The thing that starts as a website backend can grow into the system of record for your entire organization, powering channels and agents you haven't built yet.

See Sanity in Action
Sanity is the Content Operating System for teams that need more than a CMS. Model your content to match how your business actually operates. Automate workflows with AI so your team focuses on what matters. Deliver structured content to any channel, from websites to AI agents, through a single source of truth.

Watch demo