
The Content Operating System | Sanity
Sanity is a fully customizable all-code backend for AI, automations, and applications to author and render content.
What it is
Sanity is a headless content management platform marketed as a Content Operating System. It provides a fully customizable, all-code backend designed for creating, managing, and delivering digital content. It serves developers, content editors, product owners, and business leaders who need to build and power content-driven applications, websites, and digital experiences at scale.
Main Features
Content Operations
- Sanity Studio: A customizable, real-time headless CMS workspace built with React and TypeScript.
- Media Library: Centralized management for digital assets like images and videos.
- Canvas: An AI-assisted, free-form writing environment for content creators.
- Content Releases: Functionality to stack and stage content updates for controlled publishing.
- Insights: Tools to analyze and understand content performance.
Content Backend
- Content Lake: A content-optimized database that stores content as JSON.
- Live CDN: A global content delivery network for simple, scalable, and real-time content serving.
- Compute: Serverless functions that can be triggered by content changes for automation.
- Agent Actions: Built-in, content-aware AI capabilities to automate and transform content.
Development Tools
- App SDK: A software development kit for rapidly building custom content applications and tools.
- TypeScript Support: End-to-end TypeScript support with TypeGen for schema and queries, providing autocomplete and inline documentation.
How it works
Custom Application Development
Developers use the Sanity Studio and App SDK to build tailored content workspaces and applications. They define content structures (schemas) with code, which the studio then uses to generate the appropriate editing interfaces. Content is stored in the Content Lake and delivered via APIs.
Headless Content Delivery
Content is created and managed in Sanity Studio. Applications then query this content using Sanity's APIs and the GROQ query language. The content is delivered to any frontend framework or device via the Live CDN.
Content Automation
Users can deploy serverless functions (Compute) that trigger automatically on content changes. Agent Actions use AI to perform tasks like auto-tagging, summarization, or translation, automating content operations.
Key Points
- The platform is highly developer-centric, emphasizing code-based customization with TypeScript and React.
- It uses GROQ (Graph-Relational Object Queries), a query language designed specifically for querying content.
- Content is treated as data, stored as JSON, making it reusable across multiple applications and channels.
- The system is designed for real-time collaboration and offers a real-time content preview experience.
- It is built to integrate with a vast ecosystem of modern web development frameworks and hosting platforms.
Additional Details
- Pricing: Offers a free plan for beginners and paid plans that scale with usage (e.g., project, user, and API call thresholds). Enterprise plans are available with custom pricing.
- Availability: A cloud-based platform accessible via web browser and command-line interface (CLI).
- Requirements: Development requires Node.js and npm/yarn to initialize and work with projects using the command
npm create sanity@latest. - Compliance: The platform provides resources on security, privacy, and accessibility compliance.


