Show HN: I built a toy music controller for my 5yo with a coding agent
github.comThe HN community may find the context of the prompts, organized by each turn in each session, the most useful. See the website/docs/prompts.md and session-X.md files. I also started exploring some workflows for the LLM to execute, organized in the website/docs/tasks/ folder. I found it pretty handy to have the LLM document our work as we went and simply embedded the static site into the executable, along with all the music and logic.
The whole project took me about a day for the backend. The C++ controller itself took only a few turns.
I enjoyed focusing on my son's experience and letting the agent handle the C++, Javascript, and Go code.
I'm still getting started with coding agents, so please do share any tips or tricks to help me with similar projects. I'm most interested in how to work effectively with the agent, like what you see in dev-loop.sh
For those that love the idea of this kind of child-friendly media consumption but maybe don’t have the time, consider Yoto. You can make your own cards that can contain one track or playlists of mp3s that you drag and drop onto a web interface. The yoto then downloads and stores those files, playing them whenever that card is inserted. You can also use the ipad app to browse and play the same content.
Yeah Yoto is our family’s iPad alternative to avoid exposing the kids to too much screen time. On car trips or when they’re just being wild we break them out and the kids love trading story cards and then zoning out and listening. Highly recommended.
>The HN community may find the context of the prompts, organized by each turn in each session, the most useful.
So cool! I'll review fully later but was curious as something caught my attention, do you need to say please and thanks in your prompts for better outputs or is this just anthropomorphism taking over?
Great way to allow your kid to play the Frozen song on repeat every hour of the day :D
In my experience there is no way to avoid this short of eliminating every trace of copper and silicon from your home.
I love the user story descriptions.