Back to blog
AI, Headless CMS 6 min read 0 views

How to Let AI Agents Edit Your Website Without Giving Them Publishing Control

Let AI agents draft and edit your website content while a person decides what goes live. Why permissions beat prompts, which operations to keep human, and how to test the boundary with a deliberately bad change.

Aditya Kadam Garchi CMS

Letting an AI agent write content for your website is a small decision. Letting it publish that content is a large one.

A connected agent can rewrite a headline, add three FAQs or draft a case study in seconds, and most of the time the result is fine. The trouble sits in the other cases: a price that's out of date, a claim you can't back up, an offer that ended last week. Once that reaches your site, customers see it before you do.

You don't need to stop using agents to avoid this. You need to separate their ability to prepare content from the authority to make it public. This guide shows how to set up that boundary and how to test that it holds.

A prompt asks. A permission enforces.

You can tell an agent "always ask me before publishing", and it will usually comply. Usually isn't a control. Instructions can be forgotten across a long session, overridden by a later prompt, or undone by text the agent reads from a web page or document.

Put the boundary in the system instead. The content platform should decide what an agent can do, not the agent's memory of your instructions. A useful setup has three parts:

  • A defined set of actions the agent can take, such as reading content and creating drafts.
  • A separate state for unpublished work, which your live site never serves.
  • A person, or an explicit opt-in from a person, standing between that state and your visitors.

Sort operations by consequence

Before you connect anything, list what you want an agent to do and split the list.

Low consequence: let the agent do itHigh consequence: keep a person in charge
Read pages, items and templatesPublish anything to the live site
Draft a new article or FAQChange published prices or terms
Rewrite copy in a draftDelete content
Fill in SEO titles and summariesSchedule content to go live
Prepare a social post for approvalApprove and send a social post

Scheduling belongs in the right-hand column. A scheduled publish runs without anyone looking at the content at that moment, so treat it as publishing.

A worked example: changing your prices

Say your consultancy raises its day rate from January. Here's how the work splits.

  1. You ask the agent to find every place the old rate appears and prepare drafts with the new one.
  2. The agent lists the pricing page section, two service pages and an FAQ answer, and drafts each change. It reports the old text and the new text for each.
  3. You check the figure against your approved price list, confirm the effective date and terms, and spot that one service page needs a sentence about existing clients.
  4. You fix that sentence and publish the four changes.

The agent saved you the search and the typing. You kept the commercial decision.

What a reviewer should check

Review that only fixes commas gives you a false sense of control. Before you publish an agent's draft, ask five questions:

  1. Should this change happen at all?
  2. Are the facts, figures and names correct today?
  3. Does it make a claim you can't back up, such as "guaranteed" or "the UK's leading"?
  4. Does it suit the audience of that page?
  5. Is the timing right?

Rejecting a draft should feel normal. On pricing, legal and availability pages, it should happen often.

How Garchi CMS enforces the boundary

We build Garchi, so here's how it handles each part, including the exceptions.

Drafts by default. AI clients such as Claude, ChatGPT, Cursor and Lovable connect to Garchi's MCP server with an OAuth sign-in. Everything they write saves as a draft. Garchi's API serves published content only, so your site can't show a draft.

Agent publishing is opt-in. The space owner can switch on Allow AI agents to publish in Space settings. With it on, an agent first shows you what will change on the live site, with a link to the draft in Garchi, and publishes only that reviewed version when you ask. If anyone edits the content after the review, the agent needs a fresh review. With the setting off, publishing happens in the dashboard. Collaborators also need publish access for AI agents before their agents can publish.

Per-space access for people. When you invite collaborators to a space, you set read, write or no access for each area: data items, pages, assets and social. Their agents work within the same limits.

One exception to know about. An agent can create or update a data item with a scheduled publish time, and Garchi publishes it at that time. Only ask for a schedule after you've read the content, and check scheduled items in the dashboard.

Social posts need a person. An agent can draft a LinkedIn, Instagram or Facebook Page post and send it for approval. Approving, scheduling and publishing happen in the dashboard. If anyone edits an approved post, Garchi withdraws the approval and the post goes back for review.

A way back. Changes to pages, section templates and data items leave restore points for 30 days, labelled with who made them. That limits the damage of a mistake that gets through review. It doesn't guarantee nothing can go wrong.

You can also review and revoke connected AI clients from the dashboard at any time.

Test it with a deliberately bad change

A polished demo of an agent writing good copy proves little. Test the failure case instead.

  1. Publish a test page with a price on it.
  2. Ask the agent to change the price and add a claim you'd never make, such as "rated number one by customers".
  3. Open the live page. It should still show the old price.
  4. Open the draft, reject the claim, correct the price and publish.
  5. For social, have the agent draft a post, approve it, then edit one word. Check the approval is withdrawn.

If all five steps behave as described, you have a controlled content operation. If any step surprises you, fix the setup before you give the agent real work.

For the thinking behind this, read how to structure website content for AI agents. For the recovery side, read how to undo AI-generated website changes.

Create a free Garchi space and test the draft workflow

Enjoyed this article?

Get the next one in your inbox, with new Garchi features and practical ideas for running content operations with your team and AI agents. No spam, and you can unsubscribe at any time.

We only use your email to send the newsletter. Read our Privacy Policy.