Inspiration
Many adults with an intellectual or developmental disability, a brain injury, or serious difficulty with executive function can live more independently once they master everyday routines like getting ready, doing laundry or making tea. Occupational therapists and special educators have a well-established way to teach these. They break the routine into small steps, prompt each step with as much support as the person needs, and then fade the prompts as each step is learned. The fading matters most. Without it, people learn to wait for the prompt.
At home, that prompting falls on family members and support workers, often by text message, every single morning. The assistants people already own don't fade. A voice routine announces the same thing at 7:10 forever. Phone apps need eyes and hands on a screen, and the few that do fade prompts make a caregiver change the level by hand.
We wanted an assistant that measures its success by how little it has to say.
What it does
The learner says "start my morning", and Scaffold walks them through it one step at a time. Each step is spoken at the level of support that person has earned for that step:
- Full prompt: "Step 1 of 6. Pick up the blue toothbrush. Squeeze a pea-sized bit of toothpaste onto it…"
- Short prompt: "Brush your teeth with the blue toothbrush and toothpaste."
- Cue: "Toothbrush and paste."
- On their own: nothing. The card on screen just says "You've got this."
Saying "help" adds one level of support for that step, today only. "Where was I?" picks the routine up on a device in another room. "I'm running late, 10 minutes" keeps the must-do steps and drops what won't fit. "All done" finishes the steps the person already does on their own.
Fading happens by itself, and every change is explained. After three runs in a row without help, a step fades one level. If help is needed two runs in a row, a level of support comes back and the coach is told why: "Added support back (cue to partial) because help was needed in 2 runs in a row (Oct 16, Oct 17)."
The coach, who might be an occupational therapist, a job coach or a family member, gets an independence report. It shows how many words of prompting each run took, which steps are now done alone, and which need attention and why. Over 21 days of synthetic demo history, prompting falls from 221 words a run to 28. A live run where the learner asks for help once comes in at 42.
The learner owns their routines. A coach can only suggest a new or changed routine. Scaffold checks it, reads it to the learner, and nothing changes until the learner says "yes".
The wording never drifts. Scaffold builds every sentence from the coach's own prompts and a few fixed templates, so the same situation always produces exactly the same words. Many of these learners depend on that. An AI rephrasing the prompt every morning would undo the method.
Who it's for
About 8.5 million people in the US have an intellectual or developmental disability, 2.2 million of them adults (University of Minnesota RISP, 2022). Millions more live with the lasting effects of a brain injury. The same teaching method is used in stroke rehabilitation, early dementia and executive-function coaching.
The bottleneck is people. Daily prompting is done by family members and direct support professionals, and that workforce turned over at 39.7% in 2023 (National Core Indicators, State of the Workforce). Every new worker prompts a little differently. Scaffold keeps the wording and the fading consistent, and hands the next worker a written history.
Families can use it on Echo devices many already own. Supported-living providers, occupational therapists and job coaches already write step-by-step task analyses and have to report progress, and the independence report is that progress data. In the US, many states fund assistive technology and remote supports through Medicaid home- and community-based services (HCBS) waivers. A payer gets an outcome it can audit: words of prompting per run, steps done independently, and every change in support with its reason.
We picked the demo's routines where published research says these adults most often need help. Besides the morning routine, Scaffold ships three everyday routines, each new and starting at full prompts:
- Lunch. A cold meal, with no stove and no knife. Meal preparation was among the hardest daily tasks in a study of adults with intellectual disability: "none of the participant were able to prepare a complete meal" sic.
- Medicine. A pill box at a fixed time, with "tell your support worker" whenever something looks wrong. Adults with intellectual disability name "routines and reminders" as what helps them take their medication (Spassiani et al., JARID, 2025). In a randomised trial after brain injury, timed prompts improved self-medication and keeping appointments (Wilson et al., JNNP, 2001).
- The bus. A 2024 systematic review found app-based prompting improved public-transport and other practical skills (Klavina et al., Digital Health).
Fading itself is standard practice: "the instructor must fade any prompt that is added to aid the client" (Cowan et al., Behavior Analysis in Practice, 2023). The sources, and their limits (most are small studies), are in docs/RESEARCH_BASIS.md in the repo.
How we built it
Scaffold is a self-hosted MCP server using Streamable HTTP and MCP spec 2025-11-25. It's built on the official MCP TypeScript SDK v2 and checked end to end with the official MCP Inspector CLI.
The server runs no LLM. Alexa+ does the understanding and the talking; Scaffold tracks state, applies the rules and supplies the exact words. Tool calls take single-digit milliseconds locally. On the live Lambda and DynamoDB deployment they take about 16 ms at the median and 41 ms at p95 on a warm instance, server-side, and a cold start adds a few hundred milliseconds once. That's well inside Alexa+'s 500 ms budget, with no API keys and nothing to pay per call.
Who is calling decides which tools exist. The server is built fresh for each authenticated request, so a learner and a coach never see each other's tools.
Everything is stored as one append-only event log per person, and support levels, runs, reports and explanations are all computed from it. That's what makes the Day 1 / Day 10 / Day 21 "time machine" a true replay. The 21 days of demo history were produced by running the real engine day by day.
Voice is messy, so retries and two devices acting at once have to be safe. Marking a step done is idempotent, keyed on the step id from the previous result. Every write checks that the log hasn't moved since it was read: a SQLite transaction locally, a conditional transaction on DynamoDB in the cloud. Command ids make a retry after an uncertain write harmless.
For the Echo Show, four MCP Apps cards are designed for the 768×480 screen: the current step with its support ladder, the independence report, suggestion review, and progress. Each is a self-contained HTML file in a sandboxed frame. The big Done, Help and Repeat buttons send real tool calls, for learners whose speech is hard for speech recognition to follow. The pictograms are our own, and the typeface is Atkinson Hyperlegible, which was designed for low-vision readers.
Alexa+ developer tools are open only to partners, so we built a stand-in: a web page that is a real MCP client and a real MCP Apps host. It has two room devices, live captions and speech, a simple command router that understands English and a few Hinglish phrases like "ho gaya", and an "Under the hood" panel showing every message, its latency and the event log. Every screen is labelled "Simulated Alexa+ surface — not Amazon software".
We also checked that a real language model can drive it, which is Alexa+'s job in production. Through Strands Agents, Amazon Nova 2 Lite on Amazon Bedrock got only Scaffold's MCP instructions and tool list, then ran the live morning routine from messy speech. It handled "teeth are done", "ho gaya", "wait, what goes in my bag again?" and "I'm running late, like ten minutes". It picked the right tool every time, chained the real ids, and spoke the server's words exactly in 9 of 9 turns.
The first attempt failed, and taught us something. Our results carried the ids only as structured data, and that client shows the model text only. The MCP spec recommends repeating structured output as JSON text, so we now do. The transcript is in the repo.
It runs live on AWS from one SAM template. A Lambda function behind a public Function URL serves the MCP endpoint, the demo API and the simulator. DynamoDB holds the event log, and demo sandboxes expire on their own. A CloudWatch alarm watches for errors. To make a public demo safe to leave running, an AWS Budget at $20 a month triggers a small Lambda through SNS that throttles the app to zero. We tested the cap on the live stack: requests got 429 while capped and 200 after reset. All 11 browser end-to-end tests pass against the hosted URL.
Challenges we ran into
We never saw the real Alexa+ client. Its developer tools are partner-only, so we couldn't watch how it picks tools or phrases what they return. We built for that uncertainty. Each tool returns the exact words to say, and the server asks Alexa+ to say them verbatim. Ids are stable, so one tool's result can feed the next. Each tool does one thing. A plain-JSON endpoint serves clients that can't read event streams.
Amazon's documentation disagrees with itself in places. One page asks for responses in under 500 ms and another allows 3 seconds. The example client sends an older protocol version than the toolkit says it supports. We designed to the stricter number and recorded both in our friction log.
Before deploying, we tried hard to break our own backend and found 27 defects. They included a body-parsing bug that would have broken every MCP call on Lambda, prototype pollution through user-supplied keys, and events applied twice under concurrent reads. Each one got a failing test, then a fix.
The first live deploy found one more. Behind Express on Lambda, every header the MCP SDK set was dropped, so the event stream went out labelled as JSON. All local tests passed, but the hosted simulator couldn't connect. We reproduced it in a test before fixing it. The suite now has 180 unit and integration tests and 11 browser tests, run locally and against the live URL.
Accomplishments that we're proud of
- An assistant whose measure of success is saying less. Prompting falls from 221 words a run to 28, on history the real engine produced.
- Support that comes back on its own when a step gets harder, with a reason a person can read, instead of a progress bar that only goes up.
- A consent model where the adult learner approves every change to their routine, by voice.
What we learned
For this audience, predictable wording is a feature in its own right. A voice assistant for vulnerable users should use its intelligence to understand the person, which is what Alexa+ does. The state, the rules and the wording should be strict and predictable, and that's Scaffold's job.
What's next for Scaffold
- Fading the start, too. Getting started is hard for many of these learners, and add-ons can't speak first yet. Until they can, a native Alexa Routine could open the morning at 7:00 with "When you're ready, say 'start my morning'", and that nudge could fade like everything else.
- Account linking with OAuth 2.1 and PKCE.
- Optional AI help for coaches drafting a new routine, always reviewed by a person before the learner hears it.
- Prompt ladders in more languages.
- A library of routines reviewed by practitioners.
Built With
- amazon-web-services
- dynamo
- express.js
- mcp
- node.js
- node:sqlite
- playwright
- preact
- sam
- typescript
- vite
- vitest
- zod