Making a Positive News bedtime story agent

Henrik Kniberg
Co-founder & Chief Scientist
·3 min read

I denna artikel

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.

Making a Positive News bedtime story agent

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.

Läs mer

The AI Agent Design Canvas: How We Design AI Agents That Actually WorkEnglish

The AI Agent Design Canvas: How We Design AI Agents That Actually Work

The AI Agent Design Canvas: A structured framework for designing AI agents that actually work. Learn from real implementations.

Leilei Tong
3 oktober 2025
GOTO 2025: AI Agents in PracticeEnglish

GOTO 2025: AI Agents in Practice

Here are the slides for my talk "AI Agents in Practice" at GOTO conference in Copenhagen, Oct 1 2025. We are quickly moving towards a world where most companies and teams have AI agents as colleagues. But what does that mean in practice?

Henrik Kniberg
1 oktober 2025
Ingen bild
English

How I Built an AI Agent to Automate Weekly Payment Reports

Tired of manual payment tracking, I created a conversational AI agent that automatically pulls Stripe data and delivers insights exactly when I need them

Hans Brattberg
6 september 2025
If you can communicate, you can create AI agentsEnglish

If you can communicate, you can create AI agents

Building AI agents isn't about IT development - it's about communication. Learn how procurement managers and HR teams create AI agents that save 95% of their time."

Leilei Tong
6 augusti 2025
From Chaos to Clarity: How We Streamlined Our FAQ Agent by Having It Redesign ItselfEnglish

From Chaos to Clarity: How We Streamlined Our FAQ Agent by Having It Redesign Itself

Learn how asking our AI agent to visualize and redesign its own workflow led to 50% fewer decision points and a more effective support system.

Hans Brattberg
27 juni 2025
Product at Heart keynote 2025, Hamburg - AI Agents in PracticeEnglish

Product at Heart keynote 2025, Hamburg - AI Agents in Practice

Here are the slides for my keynote "AI Agents in Practice" at Product at Heart conf in Hamburg. We are quickly moving towards a world where most companies and teams have AI agents as colleagues. But what does that mean in practice?

Henrik Kniberg
26 juni 2025