Free, open source (MIT) · Self-hosted
Marmalade
A private AI learning space for kids.
Trust children. Govern the technology.
Stories your child has to steer, research with sources they can check, and homework help that coaches instead of cheats. It runs on your own computer or a Raspberry Pi, with the AI model you choose. Parents set the limits. Nobody reads the chats.
Demo Mode runs locally with no AI API keys required.
Why I built it
Neither extreme works
Search engines make it needlessly hard for a child to find and understand information. Generative AI makes it almost effortless to produce content with barely any engagement. Neither seems right for a kid who is still learning to think.
When I watched my daughter hand her story over to an AI one sentence at a time, I saw her becoming a spectator to her own idea. And when she tried to research a school project, the web buried her in ads, paywalls, and pages written for someone else.
So I built the thing I wanted her to have.
What it is
A treehouse, not a chatbot
Marmalade is a collection of small spaces, each with a job and a natural end.
Question Room
Explanations and general curiosity. A conversation ends after eight replies.
Field Guide
Research with real web search, and every answer comes with sources they can open and check.
Study Nook
Homework help that asks questions and breaks the work into steps. It won't write the essay.
Story Relay
Your child steers a six-act story in their own words. The AI keeps handing back the pen.
Treasure Chest
A place to save what they made or found.
Marmalade the cat
A ginger cat who lives in the treehouse. Pettable. Purrs. Plays with yarn.
How it works
Parents set limits. Nobody reads the chats.
Parent and child get separate accounts. Your dashboard shows minutes used today, estimated monthly cost, active AI provider, and safety-alert categories with a time and a mode. It never shows a transcript.
What a parent sees
- Minutes used today vs daily allowance
- Estimated monthly AI API cost
- Safety-alert category, timestamp, and activity mode
- Active AI provider and rate limits
What a parent never sees
- Conversation messages or prompts
- Drafted stories or creative writing
- Web research searches or browsing history
- Treasure chest items unless your child explicitly shares them
Time budgets and cooldowns
Daily minutes and breaks you choose. Enforced by the server before a request runs.
Spend caps
A monthly cost limit on cloud models so there are never surprise API bills.
Safety alerts, not transcripts
You see a category and a time, never the words. Crisis messages show helplines right away, and for any disclosure of abuse or unsafe contact, parent alerts are held back.
It stops on purpose
No streaks, no infinite feed, nothing built to keep them there one more minute.
8 replies
Question Room ends cleanly
6 scenes
Story Relay wraps up the arc
10 questions
Trivia round finishes
15 min idle
Unsaved chats clear automatically
Why no transcript reader? Because governing the technology is not the same as monitoring the child. The reasoning, and the honest limits of what software can promise, are written up in the repo's threat model and in the essay behind the project.
Self-hosting
Your hardware. Your model. Your rules.
Runs at home
A computer, a Raspberry Pi, or a private cloud instance you control.
Works offline
With Ollama and a local model, nothing leaves the house.
Your choice of model
Ollama, Claude, or OpenAI. (Gemini is blocked in child workspaces because its API terms require users to be 18+.)
Personal details masked
Emails, phone numbers, addresses, school and full names are masked before a prompt reaches a cloud provider. A safety net, not a guarantee.
No telemetry
No analytics, no tracking pixels, no remote fonts.
Expectations
Who it's for
Families with kids roughly 6 to 16, and parents who want their child to get the good parts of AI without handing over their attention, their data, or the habit of doing the work.
You should be comfortable running a self-hosted app (Docker or Node.js 20+, plus Ollama or a Claude/OpenAI key). Marmalade is free, open source (MIT), and not a commercial service.
It's early. The current version is designed for one child per household, there are features not yet implemented, and there are certainly things I've overlooked. That is part of why the code is public.
Open source
Built in the open
I built Marmalade with AI coding tools, and I made it open source so other parents can examine it critically, run their own instance, and shape where it goes. The README includes automated test results and a measured, not promised, summary of what the code actually does.
Get the code
github.com/j-nilesh/marmalade (MIT license)
Try it first
Demo Mode runs without any AI API keys.
Contribute
Issues and pull requests welcome, especially from parents running it with their own kids.
Read the story
"I Built My Daughter an AI I Can't Read", the essay behind the project, at nileshj.com.
I'd be interested to hear what you'd change.