TRANSCRIPCIÓN 🔗
Ben Sufiani: Hello everyone. In this week's Captain's Insights, I want to share with you how you can build something beautiful for someone you love with vibe coding. This is an excellent example for let's say you want to join us for the hackathon next weekend here in Cologne. But also if you just have a weekend and somebody you love, like I did this for my daughter Noelle. She was having trouble with her Latin classes, very understandable. but now I built her. This beautiful app where she can get her lessons in a very interactive format. She can actually see where she is in a learning program. She has an agent that she can talk to that is not just writing text back but interactive lessons. She has a wish list of things she would like to get as a motivation out of this. Then she has pure like vocabulary training and she can see her own progress in like a skill tree type of format, which was of course inspired by last week's Captain's Insights on World of Real Life. So this is what I want to share with you today, and I hope you're interested in that. Mm-hmm. So imagine you have a kid or a loved one and a Friday evening and my daughter was telling me like how much she's struggling with Latin. I was actually at like the school parent evening and she got a four. in the German school system. four is really like the last grade before you fail. And I wanted to think about how I can help her. And I thought, what if there was a learning app that G could really use interactively that is like pedagogically smart, not just a chat GPT session, which has already studies that have shown that this is not working well for learning. The students are actually getting worse grades than better grades, even though they feel they make progress. But how can I do this? So I wrote this prompt. Hey, create a new subsession, interview me about a tool to teach my daughter, just specifically for her in the sixth grade, with a problem that she needs to understand the basics, not just the current stuff, and learns about her and builds this. and this beautiful thing came out of it. she is Currently, here in the second tier, I am personally also playing this learning game. You can see my own account. I'm already still in the first tier. but I'm my user, I do it together with Noelle, and this is just something I could do with her now because of AI. And I'm super proud how this came out. This doesn't need to be sold. I don't have to let other people in. I can just do this for my one daughter. If my second daughter Emma is going nuts and also taking Latin in the fifth grade, she can use it as well, but no one else. And this is very freeing. I'm not a developer. I don't want to have the hassle of all of the legalities of sourcing the material. No, this is just for me, for personal use. and maybe if something like comes up and someone loves this and I want to build like a version with a big publishing house of this, I would of course love to do this, but this is not the goal here. So before I dive in, let me show you a little bit about the app. This is the iPad simulator. It runs on my MacBook here, but it very much behaves like an iPad in this case, which is the primary device my daughter is using, but it's also optimized for phone. Now I'm here currently on the first lecture and I can go into the villa. This is a storytelling mode where my daughter is being guided by this owl called Noctua through an area in a little village. And the name of the app is called Villa Natalia because my daughter's called Noelle, which means Christmas, and Christmas in Latin is Natalia. So I can now get a back. Background story that is built up here, and I can play routes. And in this rounds, I get different types of questions, like here I have to say what this means. So Yulia comes and laughs, In German. it's not correct. I mistyped that, and now I can correct it or I can continue. Now I get a grammatical question, like what is the predicate here? And I have to click the right answer. Hopefully my l lessons are long ago. and you can see that it switches between different Types of questions, open-ended questions, multiple choice questions, interactive ones, and lessons. Here, for example, it's teaching me five more words to expand my vocabulary. Like amicos for friend, amica for female friend, clamat, gouded servos. And now I say I understand it and it does like a progressive learning thing. It first even tells you the answer almost. and then it continuously asks more of you up to you typing in the translation without any help. and now this is easy for me even while I'm recording because it explained it so naturally to me. I can also completely switch organically to work with the owl in a more chat-like format. And I can switch between these modes. And I'm very curious what my daughter will prefer. In the chat mode, I can simply also ask questions in between. Hey, can you explain this again? What is the declination? Blah blah blah, whatever you want to know. And this is like the app I wish I would have had. And if you can do this on a weekend, I think that's pretty cool. So how can you actually build this? One of the key lessons I learned here is that I need to let the agent interview me before building anything. I'm not writing complicated specs. I'm not into spec-driven development. I would like the agent to handle that for me. But I want is to be interviewed a lot with the QA tool that most agents like Clot Code and Opus do with me. I'm literally just having here my clot open. And I would say something like interview me for more features, for example, and base that on the usage data from me and my daughter, and then it asks you a question like how many, how much time a day do you think a lesson should be? What is your daughter currently, what can you take? what does the AI, how is the AI acting, how is the tutoring planned? I even I have a full list of like 25 science-based articles for learning in a certain grade in school with Latin as the
Load full transcript
focus to not just do another AI wrapper, but actually have like a science-based learning program, like with space repetitions and ways to decrease frustrations if multiple lessons have been failed. And this is not something an AI would build without you. being interviewed on it or I can now freely decide how much I want to spend on AI tokens. I said for example 10 euro a month are totally fine this is probably not viable for everyone this is not viable if you have hundreds of users but I don't have to worry about that I just make something for someone I love a tutor here in Germany that Joins your daughter on a weekly basis for an hour, probably costs 120 bucks, 150 bucks a month. So spending 10 bucks on that is no problem. and this interview really helps you and the agent to get clear on what it is. So do this interview style. After the interview, let it write whatever it wants to do and tell it what you value and then you approve everything that you have decided together and then go to sleep. Let it cook. It cooked a whole night here. I was a bit lucky. This was the Fable 5.2 weekend, and I had multiple resets, but this took essentially a week worth of credits. Of Fable 5.2 Across a Day. the Friday night and the Saturday, the feedback round. Here I made the requests, it asked me 20 questions, I approved everything. it started multiple helpers, to work on the learning logic, the login, the experience, the vocabulary, and everything. I reached some points where I needed to switch to another model to get more information into the app, but it all worked out, and what I really, really, really liked were the 64 art boards that it created. So let me show you that. So let's see, where is it? Under artifacts. here it is. this is what is called a design canvas. And I told it to optimize for iPhone, iPad, and MacBook. You can use the equivalent Android devices, but it helps the agent usually to think in pretty typical categories. Here's the login screen, the today screen, the map, the lessons, the individual interactions, the different types of lessons that I build. And I have really observed that the design level goes way further if you ask it to go like design first and implement later. It also gives you much more chance to interact, but it simply has a faster loop when it just has to do simple designs like in HTML here before it codes, then it replaces the designs here in the design board with the code-based ones. And I'm I'm really, really happy with how this turned out. And I could easily say, these are a couple of things that I might not like. And I think this also gives you a scope if I zoom out of the complexity of the app that this reached on a weekend. like what the hell? this is really A strong learning partner that I think can turn my daughter from a student who got a four into a student that got a two. Of course, I still need to ensure that she's actually using the app, but we'll get to that later. But here you can simply see like what happened overnight. here I reached the usage limit, I restarted. the helpers in the morning, I used my reset, and it was live on Saturday morning. Then the most important ha thing happened afterwards. I did a little bit of feedback, but then I asked my daughter. But before that, let me tell you what I used technically to build this app because I didn't want it to just start from zero. I wanted this to be pretty scalable and I wanted to build it in a framework that I am personally familiar with. So what did I choose? Cloud Code to build it, choose Gemini, choose Anthropics, Cloud, whatever you want to use, as long as it's like a good popular code builder. Then I chose the Vercel Eve framework as the web framework. This is not a mobile app here in the simulator. This is a web app that looks like a mobile app, making it very easy for me to iterate. And Eve is an agentic framework built on Next.js that I have also built pirate skills in my other startups with, but it adds a layer, an opinioned layer of What tools to use to make the experience not just a web app, but a truly agentic experience? And I use that. For the AI models, I use Sonnet and Haiku. When I'm coding, I use Tribal and Opus. When the user is using the app, like IQ is, for example, for fast things where the user needs fast responses, when there's less dynamic lesson planning happening in the background based on our results that is happening in Sonnet. The data is stored in Neon, it's hosted on the cell, and it has an MCP server, so I can add more lessons very quick with an agent. So this maybe people would have told me like a year ago, Ben, this is overkill. You don't need to host this. This can just happen on the computer. But I want this to be as easy as possible for my daughter on her iPhone, on her iPad, whatever she wants to use to get her motivated. I want the tech to get out of the way for it. I want it to feel magical. and this setup might be more complicated on me, but it's honestly complicated on the agent. It's not complicated on me. But it ensures me that I have a far superior setup from the average learning app that you can just purchase. and an I am control as the parent and I can customize this experience completely to my daughter's needs. I even build an a parent background. Backend, where I can see her progress, where I can see how I can personally help her with the mistakes she frequently makes, because it's not about delegating my responsibility as a parent to an agent. It's about building an assistant for my daughter and myself. that bridges the gap between the time when I'm there with her personally and when she has time over the week to do lessons for herself. So, one thing that I wanted to share with you that is absolute magic. On Saturday, after I did the first round, and I was pretty sure this is pretty cool, but it was not. The first version was not cool at all, my daughter told me. I sat down with Noelle. I had it open on my MacBook. I started Loom. I
recorded everything both of us said and what happened while we were looking. And so the agent could truly experience the frustration my daughter still had with the app and how she reacted when there were questions that obviously currently were above her pay grade and her progress in Latin. And Sh the agent saw all of the interactions. I could just hand it the Loom link. and it could get the transcript, it could look at the screenshots based on the video. And we did such a better version based on that. And after this, she told me like this is boring, this is not exactly like it is in school, like lesson-wise, and I could fix all of this. And this is where also the idea came up to Make it more like Minecrafty. this is where the owl got the pixel style from, and this whole art style got changed. How the sounds got introduced to the app. you haven't heard this yet, but the app makes real cool sounds that are fun to listen to when you complete a lesson and things like that. So It it changed the user flow. I had a placement test in the beginning. Everything that I thought in the beginning version, where I thought, dog, this is super smart what I did here, was immediately challenged by my daughter. And because I recorded it while my daughter was using it, I could give that to the agent. And the next version of it was so much more beautiful. so I can occasionally get my ta daughter to do a lesson with me and and hear her feedback. And then she can Tell me what she liked. For example, we didn't have an owl, but then we said, let's do it a bit more Minecrafty. No, which version of an animal would you like? She had multiple animals, she chose the owl. then she chose that specific style of the owl. But if she would have picked another one, the whole app could have been redesigned around that idea. and now the owl has different states, it can't express itself. I know this is too close to another well-known owl in the training arena, but this is Noelle's owl. and I don't have to share this with anyone. I don't have to make this into a free or a paid product that other people have access to. Me and my daughter. That's it. That is the user base. So speaking of myself, make yourself the first user. I constantly had the simulator open. I just said if my daughter learns Latin, then I need to learn Latin as well. And I have a different sense of what good user interface looks like. I can see if that story is appropriate or if I believe it's appropriate for my daughter. I immediately noticed several things I didn't like about the quiz when I did it my myself. And I would have never come up with this idea of the ability to ask the owl. if I wasn't here and I was like, hey, can can I get a little helper? And the sidebar opens up and it's helping me understand what maybe something is. and it's not giving me the answer always straight away, it's giving me like a hint. and I can tell it, I got it now I know Service is a slave. the amicus is a friend And this would have never happened if I wasn't the real thing. And here you saw I tipped in something wrong, it gave me another chance to to answer. And even if I failed that, it's the friend, and now this vocab piece of vocabulary lands on a list that it notes it needs to be repeated. The ones that I know on the first time are still not fixed, they are not there, it's still space repetition, but the probability that a word that I failed on gets repeated is more likely than not. here just comes again. it's trying to make it easy for me. This app is not trying to be the most challenging learning experience, but the most motivating one. So let's finish this lesson and maybe we can hear the ding. This is another cool one. Like this is the beginning of when it doesn't tell you what the answer is, but where you have to type it, but it still gives you the number of letters in the first letter. So this is friend. And this is the female version of Friend. So let's finish this, and now it's done. I have completed another lesson, it makes a cool sound, and I can now decide that it's that I'm done for the day, but I'm motivated to start another session here. so let's say I'm done for the day, I made progress. So This is so valuable if you become your own users. And these are all of the things that I mentioned to it. This is all based actually on the real transcript of the session in which I built the app, and here visible for you what it found and how I made it more observable. And then I gave it feedback hey, this is a solid 7.5 out of 10. Let's have another round of interview, how to make it a 10 out of 10. one thing that came up here was to build a progress tracker. Like, what can I already know? I want to give Noelle this idea of this is what I what I'm supposed to already know. The yellow ones where I'm not confident yet. And then the grayed out ones, the ones that are coming up. Of course, there are way more lessons in this skill tree to learn Latin, but she doesn't need to be overwhelmed by all of this. And then she can start a practice from there. Like she can literally click on a lesson she might want to repeat, like this accusative lesson, and then she practices that. Isn't that fucking cool? I'm like, I I really love this. And it turned really into an excellent experience that is visual and interactive and fun. And whenever I didn't like something like in the chat, it just has had text. Like when I was working with Noctua the Owl, it just had typical Chat GPT style text. So, but that was not what I wanted. I wanted it. To give me the ability to just talk to it, to talk about Rome, to get background on the culture. But then I looked at it, it was just a text of the wall. And now it's always interactive. let's learn something about school in Rome. And it always gives me suggestions for replies but it leaves it open for me to just type things in and let my daughter explore the world and I can have multiple talks here with the owl and go back. And all of this would not have come up if I wasn't the user. Of course once a week when I finally get Noelle to answer this with me in front of a camera that is something but It's you need to become your own user. And then I built this, and this is so natural to do as a parent on a learning app, but I think it's something we need to adopt when we build products. This is the parent view. This is showing right now what are the most common mistakes Noelle is making. And it helps me support her personally. And maybe when we have a talk about Latin in the car, This is also a reminder for me, because I'm not perfect at Latin, obviously. It was like 25-35 years ago. and puts me in that position to help her more often. But transfer this to products. I have never seen a product with a backend that shows me the failure states of my users from my product where people get stuck. I am often tasked to build these dashboards in products like Google Analytics or Post Hog, but it's not part of the product. And it should be part of the product. it can be in a different backend. That's I don't care about the technicalities here. But making a system about making the user experience for you users better and supporting them. that is what I took away from that. Alright, so let's say you want to start your app on the weekend, maybe at the hackathon, maybe just at home. here's the guide. Start with an interview. Start something that you build for a friend, family member, maybe something for yourself, someone you love. is really cool. and then let it interview you, let it ask you like 10, 20 questions, and decide, approve what it's supposed to build, and let it go. But ask it to do the design first before it's codes. I usually tell it, I don't want to approve it. If you want to approve it, I let it build it. The process that it does the design and does the optimization on itself first and then codes it, then checks it in the code, has leveled up the design level insanely for me across multiple apps now. And then watch your one user. Ask it to do it like act on it on your machine, record it with whatever app you like Loom or the Mac recorder, whatever you like. And then feed that back to the agent if your user is okay with that. and then become your first user and polish that experience for you and your user. All right. So that's it for me for today. if you want to get more inspiration of what else to do, I wrote an article on how to build a mobile app on a weekend. I also did a live vibecoding session where you can watch me build. Maybe that is interesting to you. And then maybe we see each other at the hackathon on November 20th to 22nd in Cologne. But if you're from far away, just take this as inspiration to build something that someone In your family or your environment loves, including yourself. Thank you, that is for me. See you then. Bye bye.