← Portfolio · Projects · Ether Stories
Case study · Generative AI project

Ether Stories: a LangGraph multi-agent system that writes, illustrates and narrates stories for children

Voice input, planning, writing, moderator, illustration and narration: each agent has its role, with the child's safety at the center.

Context

A parent describes the story they want to tell: the child's age, their interests, the moral they want, the length, and the fears to avoid. They can also simply say it out loud: the platform accepts a voice message as input. It produces a complete story, split into chapters, with an illustration and an audio narration for each one.

The audience sets a particular requirement: a text meant for a child must never go out unchecked. The architecture is built around that constraint.

Overall architecture

The web application handles accounts, roles and pages. When a parent starts a creation, it launches the multi-agent system as a background task and responds right away; the page then follows the progress. Once finished, the story and its chapters are saved in the database, ready to be read again, translated or listened to.

Parent topic, age, moral, or voice message Web application accounts and roles, starts creation in the background progress Multi-agent system orchestrated by LangGraph background task Database stories and chapters Administration accounts, stories, logs Reader text, images, audio Translation on demand, then voice Carbon footprint dashboard per user every call measured

Wide diagram: scroll it to the right.

Multi-agent system with LangGraph

Creation is a multi-agent system orchestrated by LangGraph. Each agent is a node in the graph: it reads the story's shared state, adds its part, and conditional transitions decide the next step. If the parent left a voice message, a first node transcribes it before planning.

PlannerTurns the request into a structured plan: title, chapters, characters, moral and things to avoid. The number of chapters follows from the chosen length.
Writer and moderator agentThe writer writes one chapter at a time, from the plan. The moderator reviews it against the child's age and fears before anything else happens.
Illustrator and voice narratorAn approved chapter gets an illustration and an audio narration, then it is saved and the graph moves on to the next one.

The graph loops over the chapters until the last one. An invalid plan, a moderator refusal or an error stops everything cleanly, without ever delivering a partial or unchecked story.

Voice input transcribed message, or text Planner title, chapters, characters, moral LangGraph loop, chapter by chapter Writer age-appropriate text Moderator safe content? Illustrator one image Narrator read-aloud voice Finalization chapter saved approved next Story ready last Clean stop clear message for the parent invalid plan Any moderator refusal or any error stops the graph.

Wide diagram: scroll it to the right.

Guardrails

Safety does not rest on a single check but on several successive layers.

Parent input text or voice Isolation never read as an instruction Validated plan structure checked by the code Moderation refused if in doubt or on error Clear message no technical detail The child's fears avoided by the plan, checked by the moderator

Wide diagram: scroll it to the right.

After creation

Technical choices