MarmaladeGitHub

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.

The Marmalade treehouse map: small rooms with clear boundaries, and a ginger cat who lives there.

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.

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
Parent dashboard: time budgets, spend caps, and safety-alert categories — no transcripts.

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.

I'd be interested to hear what you'd change.