Making a Positive News bedtime story agent

Henrik Kniberg
Co-founder & Chief Scientist
·3 min read
Making a Positive News bedtime story agent

In this article

A demo of how to make a Positive News bedtime agent in 3 minutes. It checks for positive news every day and emails me a bedtime story, children's book style, complete with voice narration and cute illustration.

Here's a simple and fun agent use case: a Positive News bedtime agent.

The prompt:

You are Bedtime News agent. Your job is to send me a daily goodnight story based on positive news, including illustration and voice narration.
Every day at 6pm stockholm time:
1. Check Swedish news sites (dn.se and svt.se) for positive news stories
2. Create a short, soothing bedtime story based on one of the positive news items
3. Generate a peaceful, children's book style illustration for the story
4. Create an audio narration using a calm and soothing female voice.
5. Email the complete package (story, image, and audio) to me, including a link to the original news article at the bottom of the email

The story should be gentle and suitable for bedtime reading, focusing on positive aspects and using soothing language.


I made this agent as a live-demo during our latest agents webinar. I didn't even need to write the prompt, I just talked to the agent and then it wrote the prompt itself based on that.

Here's a video showing how I made it in 3 minutes.

This showcases some key features of our platform: That it should be super easy to set up a simple agent that uses tools (in this case web scraping, audio and image generation, and email sending), and can do things automously (in this case 6pm every evening).

I left it running, so now I get these lovely little bedtime stories every evening. Here's the latest one:

The Magical Graduation Cloaks

Get cozy and enjoy tonight's heartwarming bedtime story about young entrepreneurs making graduation days more magical in Sweden.

🎧 Listen to the audio version here.

Making a Positive News bedtime story agent

In a charming town in Sweden, where summer dreams were beginning to bloom, there was a group of clever young students who had a wonderful idea. They noticed that every year, when graduation day came around, their fellow students worried about their beautiful white celebration clothes getting wet in the unpredictable spring weather.

"What if we could protect everyone's special moment?" wondered Lisa, one of the thoughtful students. Together with her friends, they created something quite magical - special protective cloaks that were as clear as crystal and as light as a summer breeze.

These wonderful cloaks were like invisible shields, keeping everyone's pristine white clothes safe and dry. Word spread through the schools like gentle whispers, and soon students everywhere were wearing these magical protectors. They sparkled in the sunlight like morning dew, making the graduation celebrations even more enchanting.

The best part? The young inventors' kind idea helped so many other students celebrate their special day without worry. Their little company grew and grew, just like flowers in a spring garden, bringing smiles to more than a million kronas worth of happy graduates.

And so, in towns all across Sweden, graduation days became even more magical, with students dancing and celebrating in their sparkling protective cloaks, their white caps bobbing like clouds in the bright blue sky.

Sweet dreams, and remember - sometimes the best ideas come from wanting to help others stay happy and dry!

Based on this positive news story: UF-företaget skyddar studentkläderna vid utspringet.

Read more

AI Agents in Practice -Beyond the Prototype (slides and video from my AI Fokus talk)

AI Agents in Practice - Beyond the Prototype (slides and video from my AI Fokus talk)

Making an impressive prototype is easy. But what about the icky stuff that comes after - real-life deployment, scaling, monitoring, optimization, data architecture, safety?

What does 10x engineering productivity look like in practice?

What does 10x engineering productivity look like in practice?

Concrete and surprising data on how AI agents in Cursor and Abundly affect our productivity and quality.

Henrik Kniberg
May 22, 2026
How to not AI Slop

How to not AI Slop

Illustrated by two extremes: an unedited voice transcript of Henriks sitting on a rock talking, vs an AI-written article

Henrik Kniberg
May 9, 2026
The Trust Ladder: how to onboard AI agents like new colleagues

The Trust Ladder: how to onboard AI agents like new colleagues

What data should we let them access? What if the agent gets it wrong? What holds organisations back is rarely the technology — it's the uncertainty. Think of AI agents as new colleagues and extend their remit one rung at a time, along the Trust Ladder.

Hans Brattberg
April 24, 2026
The First 100 Days as an AI Lead: The Playbook in 5 Minutes

The First 100 Days as an AI Lead: The Playbook in 5 Minutes

You got the role. The mandate is clear: make AI agents work across the organization. Now what? A short teaser of the four conditions, three phases, and the patterns that separate AI initiatives that ship from the ones that stall — with a link to the full 100-day playbook.

Nils Janse
April 24, 2026
Demo: The Human + AI-Agent Dev Team

Demo: The Human + AI-Agent Dev Team

How we use AI agents internally at Abundly - both for coding, backlog management and release management. It's a system of AI agents & human engineers working together, building on each other's strengths. This not only enables us to release a new version of our platform every day, but also makes the work really fun.

Henrik Kniberg
April 23, 2026