- Published on
Agentic Studio: Stage 1: Getting It Done With Just a Prompt
- Authors

- Name
- Matt Lam
Prompting well is the first skill of Agentic Engineering, and it's amazing how much you can get done if you're willing to just try a prompt and see. Its limits show when you need the work done the same way every time, and done right without checking it yourself. We'll follow one working example through each stage of Agentic Engineering, and see how each stage improves the process.
One goal, five stages
This post starts a series on building agents in Sitecore's new Agentic Studio. Each post repeats the same SEO optimisation task, adapted to show what one stage of Agentic Engineering looks like. If you're new to AI, these stages are a popular way to describe the journey many people have taken as they discover the complexities of this latest form of AI.
Every stage works on the same page, question and five SEO fields, and is scored the same way. The steps change as each stage brings in more of Agentic Studio's functionality, so any difference in effort, quality or consistency comes from the stage itself.
Each stage is named for the one quality it adds.
- Quality it adds
- Actionable
- What gets built
- A plain chat: no agent, no tools ticked, no MCP.
- Designed to show
- Natural language alone can do the job, at the cost of human effort and consistency.
Further reading: Anthropic, Prompt engineering overview (opens in a new tab)
How much does a casual bouldering session cost in Adelaide?
- Page
- /climb/casual-entry on matthelam Boulderfest, a fictional Adelaide bouldering gym
- Fields
- Page title, meta description, Open Graph title, Open Graph description, JSON-LD structured data
- Starting values
- Title and Open Graph title "Casual entry"; the other three empty
- Facts allowed
- Only what the page states: adults $28, concession $24, under 15 $20, shoe hire $6, free chalk, 10-visit pass $250, five-minute safety induction, six zones
- Scored by
- The Agentic Studio chat itself, out of 10
- Quality it adds
- Quality
- What gets built
- The same chat, grounded on the Boulderfest brand kit, with the page fetched through tools.
- Designed to show
- Rules and facts moved out of the prompt and into context make the output better without retyping them.
Further reading: Andrej Karpathy on context engineering over prompt engineering (opens in a new tab)
Pending release
- Quality it adds
- Repeatability
- What gets built
- A standard agent: named page in, structured output out, a scorer check, a gauge widget.
- Designed to show
- The same input gives the same shape of answer, checked by a tool rather than by eye.
Further reading: Anthropic, Effective harnesses for long-running agents (opens in a new tab)
Pending release
- Quality it adds
- Reliability
- What gets built
- A workflow agent that rewrites, scores and retries to a target, then waits for approval.
- Designed to show
- The agent keeps going until the work meets the bar, not until a person tires of asking.
Pending release
- Quality it adds
- Scalability
- What gets built
- A workflow that invokes agents across the whole page set, ending in approval.
- Designed to show
- One person can run the job over many pages, with the quality of stages 2 to 4 held per page.
Further reading: Anthropic, How we built our multi-agent research system (opens in a new tab)
Pending release
Scenario
We run a website called matthelam Boulderfest, for a fictional Adelaide bouldering gym. The agent's job is to tune the SEO of one page, /climb/casual-entry, so that a search engine or AI answer engine cites it for one question:
How much does a casual bouldering session cost in Adelaide?
Five fields are in scope: page title, meta description, Open Graph title, Open Graph description and JSON-LD structured data.Why these five fieldsStage 1 sticks to this metadata because the tooling is more basic and easier to manage. Later stages widen the work and learn to manage multiple tools.The metadata is also the page's first impression for people and agents. Search engines read the whole page, but the title and description shape the result people and agents choose from.Bing says weak titles and meta descriptions can reduce a page's 'eligibility for grounding results and citations' in Copilot, and that structured data 'may support clearer grounding'.Bing Webmaster Guidelines (opens in a new tab)Google: title links (opens in a new tab) They start deliberately weak, so there's something to improve. The title and Open Graph title say "Casual entry", and the other three are empty. The only facts allowed are the ones the page states: adults $28, concession $24, under 15 $20, shoe hire $6, free chalk, a 10-visit pass for $250, a five-minute safety induction and six zones.
An independent score comes from seo-jev-analyzer, my own open-source tool, which rates the page from 0 to 10 on how well it answers the question. At stage 1 it sits outside the chat, so I have to run and check it manually on the live page, before and after. The chat never sees the result.
Stage 1 is what most people try first. You open Agentic > Chat > New chat and type. Nothing is configured, so every rule, fact and check has to live in the prompt.
Watch the run
Rather than repeat the video, this post covers the key points about Prompt Engineering. I've grouped my thoughts into three categories: Doable, Inconsistent and Tedious.
Doable: a good prompt gets real work done
As mentioned in the episode, here is the link to the Trinity of Clarity post. I highly encourage you to try and apply this if you are new to working with AI.
Models are reasoning engines and usually do a pretty good job of it, and Agentic Studio already gives the chat tools to work with. I didn't tick any tools for this run, but Studio's built-in tools (Sites, Content, Pages and Web Search) were still available, and the chat used them without being asked.
I ended up using six natural language prompts. With them, the chat found the page, searched the web for Google's current guidance on titles, descriptions and structured data, and graded each field. It then drafted all five fields with valid JSON-LD, wrote them to the CMS behind Studio's own Apply changes card, and read them back, all without an agent or any configuration.
The recommendations were OK. From the starting values, seo-jev-analyzer's metadata score went from 0.00 to 2.46, and the page score from 4.27 to 4.90.
| Version of the five fields | Metadata | Page |
|---|---|---|
| Starting values | 0.00 | 4.27 |
| What the stage 1 run wrote | 2.46 | 4.90 |
What the prompts did well
Looking back over the six prompts, these habits did most of the work:
- A role. "Act as an SEO specialist."
- The goal stated as an outcome. "Be the page a search engine or AI answer engine cites when someone in Adelaide asks how much a casual bouldering session costs."
- Research on demand. "Use web search to find Google's current guidance on title links, meta descriptions and structured data." Any AI with web search can do this, not just SitecoreAI. But the chat has to look up what good looks like every time, which adds up to a lot of repeated time and tokens, and it can interpret the same guidance differently each time.
- Exact fields and an exact output shape. The five fields by name, read from the content item, a table with character counts, and the JSON-LD in a code block.
- A way to say "I don't know". "Write EMPTY for a field that exists with no value and NOT RETURNED for a field your tools did not give you." Some tools leave fields out, and without this the chat fills the gap with a guess.
- Rules with numbers. A title of 60 characters or fewer, a description of 150 to 160, ending with the site name.
- Facts bounded to the source. "Use only prices, times and facilities from the page."
- The job in rounds. Get, analyse, suggest, review, apply, re-check, with "do not change anything" in every round until the one that applies.
- A review round that names its checks. Count the characters, confirm every fact against the page, and confirm the JSON-LD is valid.
Round 1: Get the page
On the site matthelam-boulderfest, get the page at /climb/casual-entry. Report its item path, then each of these fields on its content item, by field name1, with its exact current value: MetaTitle, MetaDescription, OpenGraphTitle, OpenGraphDescription, SchemaOrgJSON2. Write EMPTY for a field that exists with no value and NOT RETURNED for a field your tools did not give you.3 Then read the page's visible text and list every price, time and facility it states. Do not guess and do not change anything.
- 1Where to read them: on the content item, by field name.
- 2Exact fields: the five fields by name.
- 3A way to say "I don't know". Some tools leave fields out, and without this the chat fills the gap with a guess.
Round 2: Analyse
Act as an SEO specialist.1 Use web search to find Google's current guidance on title links, meta descriptions and structured data for a service page. Then assess each of the five fields against that guidance and this goal: be the page a search engine or AI answer engine cites when someone in Adelaide asks how much a casual bouldering session costs2. For each field, give it a score out of 10, say what is wrong and why it matters. Do not propose new values yet.
- 1A role.
- 2The goal stated as an outcome.
Round 3: Suggest
Propose new values for all five fields. Rules: - MetaTitle: 60 characters or fewer1, topic first, include Adelaide, end with "| Boulderfest" or "| Boulderfest Adelaide". - MetaDescription: 150 to 160 characters2. The first sentence answers the price question. End with a next step. - OpenGraphTitle and OpenGraphDescription: consistent with the meta fields. - SchemaOrgJSON: JSON-LD of type Service with an Offer (price and priceCurrency AUD), provider "matthelam Boulderfest", areaServed Adelaide. No ratings or reviews. - Use only prices, times and facilities from the page.3 Do not invent anything. Show a table with each field, the proposed value and its character count, then the JSON-LD in a code block.4
- 1Rules with numbers.
- 2Rules with numbers.
- 3Facts bounded to the source.
- 4An exact output shape.
Round 4: Review and refine
Check your proposal against every rule from round 3 yourself. Count the characters of the title and description, confirm every price, time and facility you used appears on the page, and confirm the JSON-LD is valid.1 Fix anything that fails. Show the revised table with character counts, then list what you changed.
- 1A review round that names its checks.
Round 5: Make the changes
Apply the final values to the content item for /climb/casual-entry: set MetaTitle, MetaDescription, OpenGraphTitle, OpenGraphDescription and SchemaOrgJSON to exactly the values in your last table1. Change no other field and do not publish. Show me what you are about to change before saving.
- 1Exact fields: the five fields by name.
Round 6: Publish and re-check
I published the page. Read the content item for /climb/casual-entry again and report the exact current value of each of the five fields, by field name1. Then check each field against the rules from round 3 and score each field out of 10 again, as in round 2. Summarise what changed and why it should help. Do not change anything.
- 1An exact output shape.
A plain chat gets a long way, but it doesn't get there the same way each time.
Inconsistent: same prompt, different work
The same prompt, sent twice, can produce different work, and the chat can't reliably tell you when its own work is wrong. You won't see most of this in a single run; it shows up across runs.
It picks its own tools. In the recorded run, Round 1 used six tools nobody asked for: tool search, list sites, search pages, get page, get page metadata and get page HTML. Another run of the same prompt chose a different set. Different tools return different fields, ask for approval differently and write by different routes. I saw this in every run, but I haven't tested how often each path comes up.
It misses things. In my experience, about one run in ten doesn't pick up some of the fields it was asked to analyse.
It gets lazy in a long session. Run it too many times in the same chat and it starts reusing data from earlier instead of fetching it again.
It misjudges its own result. In Round 6 it read the five fields back from the content item, by field name, but its tools returned only two of them. It scored the other three 0/10 as NOT RETURNED and called the update "partially applied". The Content Editor held all five, exactly as proposed.
It marks its own work. Scores out of 10 and character counts come from the chat, with nothing outside to check them. Round 3's counts were right: 50 characters for the title and 159 for the description. Round 4, the self-check, changed no values. Its only correction was to the length of the minified JSON-LD, from 348 characters to 349. It's 348, so the check added an error.
Guardrails are only requests. "Do not guess", "do not invent anything", "check your proposal against every rule": the model acts on them as it chooses, and nothing confirms it obeyed.
Warnings slip past. The Apply changes card appeared because of the tool the chat happened to pick; with another tool it asks in words instead. After the save, Studio reported that the changes "could not be fully applied". The Content Editor showed all five fields saved exactly as proposed, with every other field untouched. The warning was wrong, and nothing in the chat says so.
Tedious: the price of reliability by hand
Nothing in a plain chat makes the result reliable, so the person does it, every time.
A good share of the text in the prompts is guardrails rather than the task itself: what the chat can and can't do, don't guess, don't change anything, check your work. The same lines go into prompt after prompt, because a plain chat has nowhere else to keep them.
Round 1: Get the page
8 of 80 words are guardrail text
On the site matthelam-boulderfest, get the page at /climb/casual-entry. Report its item path, then each of these fields on its content item, by field name, with its exact current value: MetaTitle, MetaDescription, OpenGraphTitle, OpenGraphDescription, SchemaOrgJSON. Write EMPTY for a field that exists with no value and NOT RETURNED for a field your tools did not give you. Then read the page's visible text and list every price, time and facility it states. Do not guess and do not change anything.
- 1A guardrail, typed into this prompt by hand.
Round 2: Analyse
6 of 85 words are guardrail text
Act as an SEO specialist. Use web search to find Google's current guidance on title links, meta descriptions and structured data for a service page. Then assess each of the five fields against that guidance and this goal: be the page a search engine or AI answer engine cites when someone in Adelaide asks how much a casual bouldering session costs. For each field, give it a score out of 10, say what is wrong and why it matters. Do not propose new values yet.
- 1A guardrail, typed into this prompt by hand.
Round 3: Suggest
4 of 109 words are guardrail text
Propose new values for all five fields. Rules: - MetaTitle: 60 characters or fewer, topic first, include Adelaide, end with "| Boulderfest" or "| Boulderfest Adelaide". - MetaDescription: 150 to 160 characters. The first sentence answers the price question. End with a next step. - OpenGraphTitle and OpenGraphDescription: consistent with the meta fields. - SchemaOrgJSON: JSON-LD of type Service with an Offer (price and priceCurrency AUD), provider "matthelam Boulderfest", areaServed Adelaide. No ratings or reviews. - Use only prices, times and facilities from the page. Do not invent anything. Show a table with each field, the proposed value and its character count, then the JSON-LD in a code block.
- 1A guardrail, typed into this prompt by hand.
Round 4: Review and refine
10 of 52 words are guardrail text
Check your proposal against every rule from round 3 yourself. Count the characters of the title and description, confirm every price, time and facility you used appears on the page, and confirm the JSON-LD is valid. Fix anything that fails. Show the revised table with character counts, then list what you changed.
- 1A guardrail, typed into this prompt by hand.
Round 5: Make the changes
18 of 43 words are guardrail text
Apply the final values to the content item for /climb/casual-entry: set MetaTitle, MetaDescription, OpenGraphTitle, OpenGraphDescription and SchemaOrgJSON to exactly the values in your last table. Change no other field and do not publish. Show me what you are about to change before saving.1
- 1A guardrail, typed into this prompt by hand.
- 2A guardrail, typed into this prompt by hand.
Round 6: Publish and re-check
13 of 60 words are guardrail text
I published the page. Read the content item for /climb/casual-entry again and report the exact current value of each of the five fields, by field name. Then check each field against the rules from round 3 and score each field out of 10 again, as in round 2. Summarise what changed and why it should help. Do not change anything.1
- 1A guardrail, typed into this prompt by hand.
- 2A guardrail, typed into this prompt by hand.
The person carries the context. The role, the goal, the house rules and the page's facts are all typed by hand.
The person is also the only check. I read every reply, thought of each check and asked for it, approved the save, published in Sitecore, waited for the live page to show the new title, and took the score in a separate window.
The recording is scripted: the run sheet is those decisions written down once, and the on-screen panels show where each one lands.
Studio chat
Sites, Content, Pages, Web Search
Analyses, proposes, writes
Grades its own work
Operator
Writes the rules
Reads every reply
Approves, publishes
Live page
Served through a cache
seo-jev-analyzer
Separate window
The run took 6 prompts, 429 words written by hand, 11 operator actions and 17 minutes, for one page. Take the operator away and the process stops. That's the figure the next four stages have to beat.
Stage 2: Context Engineering
Next, we move on to Context Engineering. The popular definition of this stage is that, instead of stating everything in the prompt, we point the agent to information and it adds that to the prompt itself.
On its own, this technique doesn't improve our SEO results. The improvements come when we point the agent at knowledge that is much more detailed, and that someone has spent much more time curating.
