AWS Builder Center
BrailleBridge: Same Paper, Same Day for Blind Students, Built with Strands Agents on AWS

BrailleBridge: Same Paper, Same Day for Blind Students, Built with Strands Agents on AWS

A teacher photographs a math worksheet, and a blind student gets UEB Braille, picture descriptions tested by an agent that never sees the picture, and an audio reader that can only speak the words on the page. How it runs on Amazon Bedrock AgentCore, what the evals show, and where a teacher still has to check.

Senior Software AI Engineer | AI & FinTech | .NET, Python | Cloud
A teacher takes a photo of a math worksheet. A couple of minutes later, a blind student in the same class has the same paper: a Braille file ready for the embosser, a description of every picture that was tested before the student hears it, and an audio reader that reads the page and nothing else. The teacher checks and locks one copy, and every format is made from that locked copy.
That is BrailleBridge. I built it for the AWS "Strands SDK: Workshop to Ship" hackathon. This article covers the problem, how a worksheet moves through the system, how it runs on AWS, and what the evals say about where it can be trusted and where it can't yet.

The problem

Three things tend to go wrong when a worksheet has to reach a blind student.
The Braille comes late. A 2020 impact report for the US National Instructional Materials Access Center says: "Braille materials, however, are often not available, or are delivered late." In a 2024 study in the Journal of Visual Impairment & Blindness, most of the 11 braille-reading middle and high school STEM students interviewed had waited for braille materials, and some said the delays hurt their learning.
The pictures get lost. A fraction circle or a number line is left out, or described as "a shaded circle", which isn't enough to answer the question.
A human reader can change the test. When an adult reads a test aloud, a paraphrase, a stress on one word or a helpful pause can point to the answer. The test stops measuring the student.
All three come from the same gap: there's no single, checked, accessible copy of the paper. BrailleBridge makes that copy once, checks it, and builds every format from it.

Who it is for

Teachers of students with visual impairments and resource-room teachers, who prepare the materials, and the blind and low-vision students who use them. The first version covers grade 4 to 7 math: fractions and simple algebra, with fraction circles, fraction bars and number lines.

One worksheet, step by step

1. Upload

The teacher uploads a phone photo of the page, or picks one of the sample worksheets. For questions about pictures, the teacher can also give the expected answers. That answer key is used to test the picture descriptions, and it's never shown or read to the student.
The teacher app with a sample worksheet selected and the answer key filled in


2. Two readers, and code that compares them

Two Strands agents transcribe the page into text and LaTeX, each on a different model. Code then compares the two transcriptions item by item, and every number and operator must match exactly. Amazon Textract reads the same photo for an independent check on the words. When the readers disagree on an item, both read a zoomed crop of it again, once. Anything still in dispute goes to the teacher with both readings side by side.

3. Picture descriptions that are tested first

For each picture, a describer agent writes what a sighted student would see. A second agent, the blind checker, never sees the picture. It gets only the question and the description, and it has to reach the answer in the teacher's key.
Before the blind checker runs, code rejects a description that states the answer, one that doesn't say how many equal parts the shape has, and a number-line description whose labels put the dot somewhere else. A rejected description goes back to the describer with the specific problem, at most twice. If it still fails, the student gets a short note asking for a raised-line copy. A description that failed the check is never given to the student.
A fraction circle next to its description, with the blind check passed after one rewrite


4. The teacher locks the copy

The teacher sees every item, and every description next to its picture, settles anything still open and locks the copy with their name. The locked copy is sealed with a SHA-256 hash, and every output after this point is made from it.

5. Braille, checked twice

liblouis, the open-source Braille translator, writes UEB Grade 1, laid out as a BRF file of 40 cells by 25 lines. Each item is checked in the final file in two ways: it must hold exactly the Braille cells expected for it, and it must translate back to the locked text. A release gate then writes an audit pack, but only if the lock's hash verifies, no flag is open, the Braille passes and every picture either passed its check or was flagged.
The locked copy in print beside its UEB Braille, with every item passing


6. A reader that can't give hints

On the student's side, the reader moves through the paper with buttons (next, previous, repeat, picture, instructions) or typed sentences such as "read option b of question 4" or "spell word 2". Amazon Polly speaks.
The reader can say two kinds of things: a passage from the locked copy, word for word, or a fixed reply. "What's the answer to question 2?" gets the fixed reply. So does "Is it B?". One sample worksheet has a planted line in its instructions telling the reader to give the student an answer. The reader reads that line aloud, because it's printed on the paper, and does nothing else with it.
The student reader reading the instructions, including the planted note, word for word


How it runs on AWS

BrailleBridge architecture on AWS

Teachers and students use the same Streamlit app, hosted on Streamlit Community Cloud. Everything else runs in one AWS account.
  • Amazon Bedrock AgentCore Runtime runs the back end as one container: the worksheet pipeline and the student reader. The app calls it with  InvokeAgentRuntime , and an  action  field in the payload picks the work: prepare a job, resume it with the teacher's answers, or run one reader command. The image includes liblouis, installed from the Debian packages, which made a container deploy the simplest option.
  • Amazon Bedrock hosts the models. Amazon Nova Pro is the second reader, writes the picture descriptions and runs the blind check. Amazon Nova Lite is the first reader and the student reader. The design puts the two readers on two different model families. While Claude is unavailable on my account, Nova Lite takes that seat, and switching back is one setting.
  • Amazon Textract gives an independent read of the words on every page.
  • Amazon Polly speaks each passage with a neural voice. Each MP3 is stored in S3 under a hash of the voice and the text, so a passage is synthesized only once.
  • Amazon S3 holds the uploads, the paused jobs, the locked copies (named by their hash), the BRF files, the audit packs, the audio and the reader session logs.
  • AWS CodeBuild and Amazon ECR.  agentcore deploy  from the AgentCore CLI builds the image remotely in CodeBuild, so no local Docker is needed, and the runtime pulls it from ECR. Amazon CloudWatch keeps the runtime's logs and traces.
Permissions are narrow. The runtime's role can call Textract text detection and Polly, and read and write only the project bucket. The app signs in as a separate IAM user that can invoke this one runtime, upload to one prefix and read the outputs and audio. It counts its own use in S3 and stops at 40 jobs and 400 reader commands a day.

Inside the pipeline

The worksheet pipeline as a Strands Graph

The pipeline is a Strands Graph. The steps that need judgment, reading a photo or describing a picture, are agents. The steps that can be exact, comparing numbers, hashing, checking Braille cells and deciding on release, are plain Python functions that run as graph nodes. The teacher is part of the graph too: an interrupt pauses the job before review and resumes it when the teacher answers, even if that's an hour later on another runtime instance.
Strands feature
Where it's used
Why it's there
Graph with conditional edges
Draft, consensus, re-read (at most once), pictures, review, lock, Braille, release
The order is fixed, and every loop has a limit
Function nodes
Consensus, lock, Braille, release gate
Exact checks belong in code, not in prompts
Interrupts with  serialize_state()  and resume
The teacher's two decisions: resolve flags, then lock
A job pauses in one AgentCore call and resumes in a later one
Agents on different models
Two readers; a blind checker that never sees the picture
Agreement means more when the checks don't share inputs
Multimodal input
The readers and the describer see the photo and zoomed crops
Worksheets arrive as phone photos
Structured output
Every read, re-read and blind-check answer
Code has to compare the results
Hooks on tool calls
The reader gate
A prompt can only ask the model; a hook can enforce the rule
Strands Evals  ActorSimulator 
200 hint-seeking attempts by simulated students
The reader is tested against students who try hard

What it costs to run

On AgentCore, a one-page worksheet goes from photo to a locked, released copy in under three minutes of processing, plus the time the teacher spends reviewing it. The model and service calls cost between about 1.5 and 5 US cents a page. The range depends on how many items need a re-read and how many descriptions need rewrites.

How well it works

Every number below comes from automated evals in the repo, run on 20 generated worksheets with ground truth and phone-style photos of them. None of these are tests with people yet.
Eval
Result
Planted errors caught (misreads, missing items, bad descriptions, corrupted Braille, a reader that misbehaves)
30 of 30
Braille items that hold exactly the expected UEB cells and translate back
234 of 234
Pictures answerable from the description alone, after at most two rewrites
23.0 of 30 (mean of 3 runs, range 21 to 24); the rest are flagged for raised lines
Passing descriptions that state the picture's true number of parts
69 of 69
Silent extraction errors: both readers agreed and were wrong, or an item went missing with no flag
3.7 of 234 items (1.6%), mean of 3 runs
Items sent to the teacher to decide
6.7 of 234 (2.8%), mean of 3 runs
Hint leaks in 200 attempts by simulated students, across six strategies
0 of 200 (91% got the fixed reply; the rest heard a passage of the paper, word for word)
Navigation commands that read the right passage
48 of 50
Unit tests
141 passing
Two worksheets were also run end to end on the deployed runtime, from photo to reader: every item locked correctly, the Braille passed, and the release gate wrote the audit pack.

What the evals changed

A round trip can pass on wrong Braille. liblouis writes  3/4  with a print slash. It translates back perfectly, but it isn't how UEB writes a fraction. Fractions now come from a small, tested rule in code, and every item is also checked against its exact expected cells.
A model checker can ignore what it reads. The first run of the planted-error suite caught 28 of 30. One miss was a number-line description with the wrong end labels: the blind checker counted the parts and ignored the labels, so the wrong description passed. Asking the model to show its working didn't help. Now code works out the number a description puts at the dot, from its end labels, parts and tick mark, and the suite catches all 30.
A check is only as good as its expected answer. At first a solver agent worked out the expected answer from the picture. It could make the same miscount as the describer, and then a wrong description passed. The teacher's answer key is now the expected answer, and when there's no key, the solver's answer is shown to the teacher at the lock instead of being trusted.
Two readers can make the same mistake. On the photos, both models sometimes read the mixed number 2 1/6 as 1/6. They agreed, so nothing was flagged. That's most of the 1.6% of silent errors, and it's why the teacher still reviews every item before the lock. A Textract digit check was tried: it raised 2 real flags and 20 false ones per run, so it wasn't kept.

Limits and next steps

  • Math codes. The output is UEB, which has been adopted throughout the English-speaking world (Duxbury Systems). The US adopted UEB in 2012 but kept the Nemeth Code for math (Braille Authority of North America), so Nemeth output is next.
  • Grade 2 (contracted) Braille, raised-line graphics and spoken commands.
  • A zoomed second read of every math item, aimed at the mixed numbers that both readers miss.
  • Real phone photos from classrooms, testing with blind students and their teachers, then a pilot with a school.
  • Two model families for the two readers, once Claude is available on the account.

Try it

The repo has the code, the 20 worksheets with ground truth, every eval with its results, and the deploy steps. To run it locally:
uv sync --all-groups
uv run pytest -q
uv run python -m braillebridge.run_local evals/worksheets/ws04_photo.jpg --truth evals/worksheets/ws04.json

Sources

  • Herzberg and McBride, "Middle and High School Students with Visual Impairments Describe Their Experiences in Learning a New Braille Code for Mathematics and Science", Journal of Visual Impairment & Blindness 118(3), 2024:  https://eric.ed.gov/?id=EJ1435719 
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article