Let your agent set up your CMS.
No account needed.

Sanity is the AI Content Operating System. Your team edits the content, your agents build on it, and one prompt sets the whole thing up. Claim the project when you're ready.

Copy this and paste it into your coding agent

Run npx sanity@latest new --instructions and set up my Sanity project

Unclaimed projects are deleted after 72 hours.

Model your content as data

Sanity stores your content as structured data in the Content Lake, our real-time database. Schemas are defined in code, so agents natively understand them.

Edit it in the Studio

Sanity Studio is the flexible workspace your team writes and publishes in. It's fully customizable, configured in code, and you can shape it around how your team works.

Query it from anywhere

With our query language GROQ, you can fetch your content in exactly the shape your frontend needs, no matter how it is modeled.

How it works

01

Prompt your agent

Paste the prompt into any coding agent. No signup required.

02

Get a working project

Your agent works with you to create your Sanity project, models your content with a schema, publishes real content, and wires it into your app.

03

Claim your project

The project is unclaimed until you claim it. Sign up or sign in within 72 hours to move it into your Sanity account. Claiming does not interrupt your agent.

Questions,
answered.

What is Sanity?

The AI Content Operating System. Your agent will use three parts of it: Content Lake, our hosted real-time database for structured content; Sanity Studio, the workspace your team writes and publishes in; and GROQ, the query language your app uses to read that content back.

What is sanity.new?

The fastest way to set up a content backend for your project. The prompt above has your agent run one command, which prints the full instructions it needs to set one up and wire it into a new or existing app.

Do I really not need an account?

Getting started with Sanity used to require an account. Now your agent can create the project and build in it before you sign up, then you claim ownership when you are ready.

I already have a Sanity account.

Use npm create sanity@latest instead. You own the project from the start, so there is no 72-hour deadline and none of the limits.

What does my agent actually build?

The agent asks you for a brief description of the site you are building. Then it writes a schema for that content, sets up a local Studio to edit it in, publishes real content to your dataset, and builds a frontend that queries and renders it. You get a full end-to-end slice to iterate on together.

What can't an unclaimed project do?

Your content is live in the Content Lake from the start. Two things are switched off: file and image uploads, so your agent uses external image URLs instead, and hosting, so both the Studio and your frontend run on localhost until you claim. Requests from any other origin, including a deployed preview, are rejected until then. All of it turns on when you claim.

How long does an unclaimed project last?

72 hours. Unclaimed projects and everything in them are deleted at the deadline, so claim early. It takes about a minute and does not interrupt your agent.

Which agents does this work with?

Any agent that can run CLI commands. The command prints the markdown instructions straight into your agent, switch to the Agent tab above to read what it sees.

Is it free?

Yes. Creating a project needs no account, and claiming moves it onto a free plan. See pricing

Ship in the next
five minutes.

Copy this and paste it into your coding agent

Run npx sanity@latest new --instructions and set up my Sanity project