The problem
A training business, tutoring centre or school runs classes of thirty and the marking goes home every evening: quizzes, handwritten work, feedback for each learner and a report every term. Tools that paste generic comments from a library save time but say nothing about the individual, so the teacher rewrites them anyway.
Architecture
- Channel
- Quiz submissions
- Photos of handwritten work
- Agent
- Grades and writes feedback
- Transcribes as written
- Drafts materials and reports
- Tools
- Claude in Amazon Bedrock
- AWS Step Functions chain
- Structured outputs
- Human
- Teacher edits before sharing
Where the data stays: Student submissions and performance data stay in your own system and the cloud region you choose; the model sees one student's work per step, and nothing reaches a student or parent until the teacher has edited it.
Design flow
- Quiz submitted or handwritten page photographed
- Step grades it, or transcribes it exactly as written
- Feedback drafted per student, report updated
- Teacher edits the feedback and the reportHuman checkpoint
- Shared with the student; parents see the report
Setup
Total time: 6 h our estimate
- 45 min
Done when: Each job (grade a quiz, transcribe a page, draft a differentiated version, update a report) is one prompt with one JSON schema, and the grading prompt includes the mark scheme and the rule not to invent marks.
- 2 h
Done when: A workflow (AWS Step Functions with Claude in Amazon Bedrock, or your own queue against the Claude API) runs the steps in order for one submission and stores each step's output with the student ID.
- 45 min
Done when: Photos are resized under the image limit (5 MB per image on Bedrock, 10 MB on the Claude API) and the prompt says to keep the original spelling and grammar; ten test pages come back as the learner wrote them.
- 1 h 30 min
Done when: Feedback and reports appear to the teacher as drafts, nothing is visible to a student or parent until the teacher saves an edit or approves, and the approval is logged.
- 1 h
Done when: One teacher has run a full cycle (quiz, handwritten page, report) for one class, compared the drafts with their own marking and written down what the prompts must change.
Ticks are saved on this browser.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
You are a marking assistant for [subject, year group]. Here is the quiz with the mark scheme: [paste]. Here is one student's submission: [paste]. Grade each answer against the mark scheme, then write feedback for this student in [tone, for example warm and specific], naming what they did well and the one thing to work on next, in no more than [N] sentences. Return JSON: {"marks": [{"question": "", "awarded": 0, "available": 0, "reason": ""}], "total": 0, "feedback": ""}. Do not invent marks for unanswered questions. The teacher will edit this before the student sees it.Risks and data
Data
Every step handles a minor's work and performance history. Use student IDs instead of names in prompts, keep the data in the region your obligations require, limit who can see drafts, and set retention so photos of handwritten pages are deleted once transcribed and checked.
How it goes wrong
A misread digit or a mark scheme applied too strictly gives a learner a wrong score and discouraging feedback, and a transcription that quietly corrects spelling hides what the student needs help with. You notice when the teacher's spot check disagrees with the draft, so the teacher's edit before anything is shared is not optional, and the pilot should compare every draft with the teacher's own marking for at least one class.
How the agent works
It starts
A complex task is broken into focused steps, each handled by a separate Claude prompt and chained in a workflow (AWS Step Functions in the sourced build, with Claude running in Amazon Bedrock).
The agent works
When a digital quiz is submitted, one step grades it and writes feedback for that student; when a photo of handwritten work arrives, a vision step converts it to text while keeping the original formatting, spelling errors and grammar mistakes, so the teacher sees what the learner actually wrote. Other steps research a topic and give sources before drafting an assignment, produce versions of a material for different ability levels, and update a narrative report per student that describes strengths and areas for development from the performance data. Structured outputs keep the formatting consistent and pull out the key information, and the large context window lets a full essay, the curriculum standard and the student's history sit in one prompt.
The result
Teachers can edit any content or feedback before it is shared with students, and the company describes the system as an assistant rather than a replacement.
Worked example
Dolly, a small UK education company whose co-founders are former teachers turned software engineers (Anthropic customer story, undated, opened 25 November 2026), built its product for UK teachers on Claude in Amazon Bedrock with a custom multi stage prompting workflow on AWS Step Functions: each focused step is a separate Claude prompt. Its features, as the story lists them: digital quizzes receive instant grading with detailed feedback for each student; handwritten work is converted to digital text while keeping the original formatting, spelling errors and grammar mistakes; agents research topics before generating assignments and provide sources for verification; teachers create materials for different ability levels in minutes instead of hours; and real time student reports carry narrative summaries of strengths and areas for development. The company reports a 60 to 70% reduction in marking time for digital quizzes and assessments, 8 to 10 hours saved per teacher per week across multiple classes, quiz marking for a class of 30 down from 1.5 to 2 hours to instant feedback, and a 50% reduction in report writing time; the story does not say how these were measured. Teachers can edit any content or feedback before sharing it with students. Owen Morgan, co-founder and CTO: 'Teachers always have the final say.'
Anthropic's story names Claude in Amazon Bedrock (chosen for data sovereignty), AWS Step Functions for the multi stage workflow, Claude's vision for handwritten work, structured outputs and the large context window, and names no model. The steps are tool agnostic: any model API with image input and a schema constrained output runs the same chain, which is why OpenAI and Gemini are listed; the Claude vision docs give 5 MB per image on Bedrock and 10 MB on the Claude API.
Join the Agent OS Club
Get hours back with a team of AI agents for every department, set up step by step for the tools you use, with a person answering your questions. Founding member price: USD 14.95 a month or USD 150 a year, locked for as long as you stay. Cancel any time.
Founding offer, ends 31 December 2026 or at member 100
Join the Agent OS ClubBuilding this for an organization? Learn more at theagentiv.com
Sources
- https://claude.com/customers/dolly
- https://platform.claude.com/docs/en/build-with-claude/vision
- https://developers.openai.com/api/docs/guides/structured-outputs
Published: 2026-11-25