Built an AI-Readable Content Agent in SitecoreAI Agentic Studio
I Built an AI-Readable Content Agent in SitecoreAI Agentic Studio
A simple custom agent that reads a Sitecore page, checks how clear it is for AI tools, and returns an improved, AI-readable version.
In my last posts I explained what Agentic Studio is and why AI visibility matters. This time I wanted to build something small and actually use it.
So I created a custom agent that reads the content of a page, tells me what an AI tool can clearly understand from it, and gives back a version with a short answer, an FAQ and structured data. If you want the basics first, read my post on Agentic Studio: prebuilt agents, custom agents and when to use each.
The problem I wanted to solve
A lot of website copy is written for brand feel: long intros, vague claims, the real answer buried three paragraphs down. Humans skim past it. AI tools that summarise pages have a harder time.
- The direct answer is not near the top of the page.
- Headings are clever, not descriptive.
- There is no FAQ and no structured data.
- Reviewing and rewriting every page by hand takes a lot of editor time.
This is repetitive, rule-based work, which makes it a good fit for an agent.
Why a standard agent?
In Agentic Studio, custom agents come in two types. A standard agent is a conversational agent, and a workflow agent is built for structured, repeatable multi-step processes.
I started with a standard agent because it is the quickest way to test an idea. I can run it, check the result and improve the instructions. If it works well, I can turn it into a workflow agent later.
Before you start
- You need a Builder license to create custom agents in Agentic Studio.
- Only tools enabled by an Admin in Agentic Studio settings can be selected for an agent.
- Sitecore is rolling out the new Agentic Studio UI in phases, so your screen may look a little different from mine.
Step by step: creating the agent
Go to Agentic in the navigation menu, click Agents in the left sidebar, click Create, and choose Agent. That opens the Create Standard Agent page. Here is every section I configured.
Step 1: Name, description and tags
I gave the agent a clear name, a short description of what it does, and a few tags (Pages, Content, Research, SEO) so it is easy to find later in the Agents list.
Step 2: Instructions
This is the most important part. The instructions are the agent's system prompt: they define its behaviour and its limits. I kept it as a short list of strict rules with a fixed output format.
Here is the full text so you can copy it:
You are an AI-readable content editor for website pages. TASK The user will select a Sitecore page or paste the content of one web page. Read it, check how clear it is for AI search tools and AI agents, and rewrite it so it is easy to read, understand and cite, while keeping it useful for human readers. RULES 1. Start with a direct answer: a 2-3 sentence summary of what the page is about. 2. Use clear headings. Write headings as questions or plain descriptions, not as slogans. 3. Keep paragraphs short. Use lists or tables where they make facts clearer. 4. Never invent facts, prices, dates, numbers or claims. Use only what is in the provided content. 5. If important information appears to be missing, do not guess. Mark it as [NEEDS INPUT] and list it in the review notes. 6. Keep the brand's tone professional and simple. Avoid marketing filler. 7. Create 3-5 FAQs based only on the provided content. 8. Create valid JSON-LD (schema.org FAQPage) using the same FAQs. OUTPUT FORMAT A. Summary answer B. Rewritten content C. FAQ D. JSON-LD E. Review notes (what you could clearly read from the page, what was vague or missing, assumptions, [NEEDS INPUT] items, things a human must verify) Do not publish or change anything. This output is a draft for human review.
Rule 4 and rule 5 matter most to me. I never want an agent to quietly "improve" a price or a feature that is not in the source. Section E of the output also answers a simple question: what could the agent actually read from this page?
Step 3: Tools
Tools are the general capabilities the agent can use. I enabled Save Artifacts, Context Retrieval and Web Search, and left Context and Image Generation off, because this agent does not need them.
Step 4: Sitecore Page Tools
This section is what makes the agent useful for Sitecore. I enabled Sites, Pages, Content and Assets, so the agent can look at site context, pages, content items and asset metadata.
I kept Components, Personalization, Jobs, Briefs and Brand Kits off. The agent only needs to read and review, so fewer tools means fewer things that can go wrong.
Step 5: Default context
Default context sources are pre-selected each time the agent runs. I selected the Sitecore Documentation MCP and the Marketer MCP. Users can still adjust these before sending a message.
Step 6: Allowed items and variants
Allowed Items decides what the user can pick when running the agent. I allowed Pages, Content Items and Artifacts. That means I can choose an existing Sitecore page straight from the CMS tree instead of copying text.
The Variants setting is the one I like most for this use case. I turned on
Rendered page HTML, which adds the page's preview HTML to the agent's context for SEO,
accessibility and markup analysis. So the agent works with the page as it is actually rendered,
not only with the raw fields. The default language is set to en.
Step 7: Inputs and outputs
This section shows the agent's contract. Based on my selections, it accepts inputs such as context, prompt, Sitecore item, artifact and Sitecore page, and it produces an artifact and text. Because it can produce artifacts, the result can be saved and handed to another agent downstream.
Step 8: Skills
Skills add specialized knowledge to the agent. I did not enable any for this first version, but one caught my eye: jsonld-generator, which is described as generating JSON-LD structured data for pages. Since my agent writes FAQPage JSON-LD from its own instructions, my next test is to enable this skill and compare the results.
Step 9: Primary output
I chose Text (markdown or plain text) as the primary output, because I want a readable report with sections A to E. The other options are Structured (JSON that follows a schema), Image and Widget. Structured output could be interesting later, when I turn this into a workflow agent.
Finally, I clicked Create Agent. The agent is saved and opens on its run page, where I can select a page and run it.
Testing it
To explain the idea, here is an example with a made-up support plan page. This is the kind of marketing-style content many sites have.
"Peace of mind, delivered. At Acme Cloud, we believe great support should feel effortless. Our Premium Support plan gives your team a direct line to our experts, around the clock, so you can focus on what matters. Premium Support includes 24/7 phone and chat support, a 1-hour response time for critical issues, and a named technical account manager. Premium Support is available for annual contracts."
A. Summary answer Acme Cloud Premium Support is a paid support plan with 24/7 phone and chat support, a 1-hour response time for critical issues and a named technical account manager. It is available for annual contracts. B. Rewritten content ## What is included in Premium Support? - 24/7 phone and chat support - 1-hour response time for critical issues - A named technical account manager ## Who can buy Premium Support? Premium Support is available for annual contracts. C. FAQ Q: Is Premium Support available 24/7? A: Yes. It includes 24/7 phone and chat support. Q: How fast is the response for critical issues? A: The response time for critical issues is 1 hour. D. JSON-LD (FAQPage markup with the same questions and answers) E. Review notes - Clearly readable: the support features and the contract type. - Vague: "Peace of mind, delivered" says nothing a machine can use. - [NEEDS INPUT] The price of Premium Support is not mentioned. - [NEEDS INPUT] The source does not say whether monthly contracts exist.
Look at the review notes. The agent did not make up a price. It told me what it could read clearly, what was vague, and what was missing. That is exactly the behaviour I wanted.
Replace the output above with the real result from your own run and add a screenshot of the run page.
The JSON-LD part
JSON-LD is structured data you place in the page that tells machines what the content means. Here is the shape of what the agent should produce for the FAQ above:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How fast is the response for critical issues?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The response time for critical issues is 1 hour."
}
}
]
}
</script>
I always validate generated JSON-LD before using it, for example with Google's Rich Results Test or the Schema Markup Validator. An agent can produce invalid JSON, so a check is worth the 30 seconds.
What I learned
Fewer tools, better focus
I only enabled what a read-and-review agent needs. It is safer and easier to understand.
Rules beat length
A short list of strict rules and a fixed output format works better than a long, friendly paragraph.
Always review
The agent prepares the draft. A human checks facts before anything goes live.
Limits to keep in mind
- It works from the page content and rendered HTML it is given. It cannot show exactly what ChatGPT or another AI crawler sees on your live site.
- It does not guarantee that an AI tool will cite your page. It only makes the content easier to read.
- Very long pages may need to be split into sections before running the agent.
- Brand and legal wording still needs human approval.
What I want to try next
- Enable the jsonld-generator skill and compare its output with my own instructions.
- Turn this into a workflow agent with a defined schema, so the result is more consistent.
- Run it across several key pages and compare which ones need the most work.
Final Thoughts
You don't need a complex agent for it to be useful. A clear task, strict rules, the right Sitecore tools and a fixed output format can already save editors a lot of time, and it helps content get ready for AI search.
Small agent. Clear rules. Human review.
That is a good starting recipe for Agentic Studio.









Comments
Post a Comment