AWS Builder Center
Lamplight: The Room Gets Brighter When You Talk

Lamplight: The Room Gets Brighter When You Talk

Some nights you don’t want advice — you want a story. Lamplight listens to how your day really went, then tells you one written just for you, out loud, while a dark room slowly fills with light. Bad day or brilliant one, it meets you there. And tomorrow? A brand-new chapter.

AI Developer
Some evenings you don't want advice.
You don't want a five-step plan, a productivity hack, or someone telling you to look on the bright side. You want someone to dim the lights, sit with you for a minute, and tell you a story.
And some evenings, something wonderful has happened — and you want someone to celebrate it properly, not just reply with a thumbs-up.
So I built something for both.

What Lamplight does

Lamplight is a conversational agent you talk to about how your day really went. You open it to a quiet room with one small light, and it simply asks: how are you feeling today? It listens, reflects your own words back, and asks one gentle question. Once it understands, it asks whether you'd like a story.
Then it tells one. Written for you, in three short chapters and a closing, narrated aloud while the room fills with light.
  • On a hard day, the story mirrors what you're carrying, and the room moves from candle to lamp to dawn to morning. By the end, the room is bright — and, more often than not, so are you, a little.
  • On a good day, the story honours what just happened — the effort behind it, the people who helped, the new beginning it opens. The room starts warm and ends in full morning, like a little celebration made just for you.
There are two modes:
  • Faith retells a real Bible account that mirrors your moment — a struggle or a blessing — and closes with an exact verse.
  • Everyday tells an original story for your situation, and ends with one line to carry.
After the story, it keeps talking. On hard days it can guide you through a slow breath, open a private letter pad for words you never got to say, or suggest one small kind thing to do tonight. On good days it can help you write a thank-you note to someone who helped, or give you a "remember this day" keepsake card.

Who it's for

Anyone, on any kind of day.
The job rejection. The exam that didn't go your way. The week where you held everything together for everyone else and nobody noticed.
But also: the offer letter. The driving test you finally passed on the fourth try. The day your little one said your name. Good news deserves more than a notification.
Lamplight is about positivity and motivation, delivered gently. Not therapy, not a lecture — just a few minutes that leave you lighter, or prouder, than when you arrived. The kind of thing people are happy to open on their hardest evenings andtheir best ones.
And one promise: every visit is a new chapter. Lamplight remembers nothing. Sessions expire on their own, or the moment you press Close the book. Your bad Tuesday isn't stored anywhere, waiting for Wednesday.

What it feels like

Say you type: "I got rejected from a job I really wanted. I spent two years preparing for it. It feels like I wasted all that time."
Lamplight doesn't rush to fix it. It reflects the feeling, asks what it's been like to carry, then says: "Then settle in. This one is about someone who poured years into something, too."
The story begins softly — "This is a story about a girl named Mira, and a boat she thought no one would ever need." Mira spends two winters building a boat for a race and is turned away the night before. Then a storm rolls in, a fisherman drifts toward the reef, and every tide chart she studied suddenly matters.
It ends: "She had thought those two winters were wasted. But they had never only been building a boat. They had been building her." That last line uses your word — wasted — on purpose.
Now flip it. Say you type: "I finally passed my driving test! Failed it three times before." Lamplight doesn't stop at congratulations. It asks what the moment felt like when you heard you'd passed, then tells a story about someone whose fourth try was the one that counted — ending on your words: third time unlucky, fourth time yours. The room starts warm, finishes in full golden morning, and you leave with a "remember this day" card.
Two very different evenings, one idea underneath. The best stories don't tell you how to feel. They show you yourself, from a kinder angle — on the hard days and the good ones.

How I built it

The heart is one Strands Agents companion on Amazon Bedrock, running Amazon Nova 2 Lite. It isn't a fixed script. It decides when it understands enough, asks permission before telling a story, and keeps the conversation going afterwards. It acts through tools:
ToolWhat the person experiences
set_lightThe room warms a little as they open up
tell_storyA personal story, chapter by chapter, narrated
breathing_exerciseA guided breath, the light swelling and softening
unsent_letterA private letter pad that never leaves their device
small_stepOne kind, concrete thing to do tonight
keepsakeA card to save from the visit
tell_story runs a small story engine. It first reads the mood — a struggle or a celebration — then uses a planner that lifts the person's own words and one concrete detail into a plan, a critic that sends back anything bland or generic, and a writerthat streams chapter one while chapters two and three are still being written. Every story opens gently, turns honestly, and ends by echoing something the person actually said.
The rest of the stack:
  • AWS Lambda running FastAPI behind the Lambda Web Adapter, with response streaming — words, chapters and light changes arrive live as Server-Sent Events.
  • Amazon CloudFront in front of an Amazon S3 site, with /api/* routed to the streaming Function URL.
  • Amazon Polly neural voice, with word-level speech marks so the text highlights as it's spoken.
  • Amazon DynamoDB for sessions only, with a two-hour TTL.
  • Amazon Bedrock Guardrails, plus a safety gate on every message.
  • AWS CDK (Python) to deploy the whole thing.

The delightful detail: the room responds to you

If I could keep only one feature, it would be this: the light is the conversation.
When you open up, the agent raises the light a little. When the story begins on a hard day, the room moves from candle to lamp to dawn to full morning, chapter by chapter. "There is always light in a dark room" stops being a phrase on a poster and becomes something you watch happen — and it happens because you talked.
On a good day, it works the other way round: the room is already glowing when you arrive with good news, and the story carries it all the way to a bright, golden morning. Same agent, same room — it just meets you where you are.
How I know it worked:
  • People. I asked my friends to try and they loved it!!
  • The fit test. Every story gets checked against what the person actually said: does it name the feeling, mirror the situation, and end on their own words? Mira's story passes all three — and the critic now rejects plans that don't.
  • The boring proof. 49 automated tests cover crisis phrases, exact verse text, the story engine's flow, and the live agent's tool calls.

Kind, and safe

An agent that welcomes people on any day will sometimes meet someone on their hardest one. A deterministic screen runs before any model sees the message, and the model can raise its verdict but never lower it. A crisis signal pauses stories entirely and and asks to find a real help. The Faith path, the model only chooses a verse — code inserts the exact text from the public-domain World English Bible.
Kindness without safety is just a nicer way to let someone down.

Proof it works

Catch Lamplight in action - Check the video here 
Watch it listen, watch a story come alive out loud while the room brightens, and watch it celebrate a good day just as warmly as it sits with a hard one.
 Your turn. Step into the light - try Lamplight here 
Tell it how your day really went. Hard or happy, it'll meet you there — and nothing you say is kept.
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